login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #386 Infinite loop in LISP related to Tuple? revision 1 of 3

1 2 5
Editor:
Time: 2007/11/17 22:35:54 GMT-8
Note:

changed:
-
The second line (which should report syntax error at worse), seems to be generating an infinite loop that exhausts memory.

\begin{axiom}
g:=[(1,2),(3,4)]
[1 for (a,b) in g]
\end{axiom}

On my system, the following message finally appeared::

   >> System error:
   The storage for CONS is exhausted.
   Currently, 85895 pages are allocated.
   Use ALLOCATE to expand the space.

Submitted by : (unknown) at: 2007-11-17T22:35:54-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

The second line (which should report syntax error at worse), seems to be generating an infinite loop that exhausts memory.

axiom
g:=[(1,2),(3,4)]
LatexWiki Image(1)
Type: List Tuple PositiveInteger?
axiom
[1 for (a,b) in g] >> System error: The storage for CONS is exhausted. Currently, 241150 pages are allocated. Use ALLOCATE to expand the space.

On my system, the following message finally appeared:

   >> System error:
   The storage for CONS is exhausted.
   Currently, 85895 pages are allocated.
   Use ALLOCATE to expand the space.