[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Axiom debugging

From: root
Subject: Re: [Axiom-developer] Axiom debugging
Date: Tue, 22 Jul 2003 16:14:45 -0400


The segfault is likely because the result is circular.

(For the non-lisper among you it is possible and very common to
create lists that have pointers back into the same list. When
you try to print such an object the printer will loop infinitely.
The *print-circle* variable tells the printer to watch for this
condition. Basically you just create a table of nodes that you've
seen before and if the node shows up again you just output a 
tombstone rather than follow the node).

It shouldn't happen if you first do 

(1) -> [1,2,3,1]::Set Integer

(2) -> )lisp (setq *print-array* t)

(2) -> )lisp (setq *print-circle* t)

(2) -> )lisp (hget |$ConstructorCache| '|Integer|)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]