[cells-devel] Fwd: Cells on ABCL

Alessio Stalla alessiostalla at gmail.com
Tue May 26 20:55:24 UTC 2009


Sorry, I sent this directly to Kenny instead of to the mailing list.

Alessio

---------- Forwarded message ----------
From: Alessio Stalla <alessiostalla at gmail.com>
Date: Tue, May 26, 2009 at 10:53 PM
Subject: Re: [cells-devel] Cells on ABCL
To: Kenneth Tilton <kentilton at gmail.com>


On Tue, May 26, 2009 at 2:17 PM, Kenneth Tilton <kentilton at 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.

Bye,
Alessio




More information about the cells-devel mailing list