Le 26 mai 09 à 22:55, Alessio Stalla alessiostalla@gmail.com a écrit :
Sorry, I sent this directly to Kenny instead of to the mailing list.
Alessio
---------- Forwarded message ---------- From: Alessio Stalla alessiostalla@gmail.com Date: Tue, May 26, 2009 at 10:53 PM Subject: Re: [cells-devel] Cells on ABCL To: Kenneth Tilton kentilton@gmail.com
On Tue, May 26, 2009 at 2:17 PM, Kenneth Tilton kentilton@gmail.com wrote:
Does ABCL provide a backtrace that might show in which function the error originates?
abcl's backtrace does not seem very useful:
[1] CL-USER(8): :bt 0: (BACKTRACE-AS-LIST) 1: (INVOKE-DEBUGGER #<TYPE-ERROR {7F84C9}>) 2: (CELLS::CV-TEST-PERSON-3) 3: (CELLS::CV-TEST-PERSON) 4: (FUNCALL CELLS::CV-TEST-PERSON) 5: (SYSTEM::%TIME #<FUNCTION (LAMBDA ()) {1E6DBAA}>) 6: (CELLS::TEST-CELLS) 7: (SYSTEM::%EVAL (CELLS::TEST-CELLS))
Also: IIRC, ct-assert says what it is doing as it goes. So how far are you getting? If I am wrong on that, just add some print statements so we can narrow it down.
This is what it prints before it fails:
(CELLS::ATTEMPTING (EQL 1 (LENGTH (CELLS::CD-USEDS (CELLS::MD-SLOT-CELL CELLS::P (QUOTE CELLS::THOUGHT)))))) 0> output thought #<cells::person {15eb44d}> "speedy, slow down!"0> i am thinking "speedy, slow down!" (CELLS::ATTEMPTING (EQL 2 (LENGTH (CELLS::CD-USEDS (CELLS::MD-SLOT-CELL CELLS::P (QUOTE CELLS::THOUGHT)))))) 0> output thought #<cells::person {15eb44d}> "nice and easy does it"0> i am thinking "nice and easy does it" (CELLS::ATTEMPTING (EQL 1 (LENGTH (CELLS::CD-USEDS (CELLS::MD-SLOT-CELL CELLS::P (QUOTE CELLS::THOUGHT)))))) Debugger invoked on condition of type TYPE-ERROR: The value NIL is not of type STRUCTURE-OBJECT.
Probably it's an abcl bug (I've seen other times bugs that were apparent in the form of "NIL is not of type X"). In the next few days I'll be at the ELS, so I won't have much time to spend on the subject, but asap I'll try to debug it.
I'll be there too. If you have it on a laptop I could take a look at it while we're there.
Bye, Alessio
cells-devel site list cells-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/cells-devel