Bugs item #726282, was opened at 2003-04-23 16:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=726282&group_id=1355
Category: clisp
Group: segfault
Status: Open
Resolution: None
Priority: 5
Submitted By: Jörg Höhle (hoehle)
Assigned to: Sam Steingold (sds)
Summary: more crashes with CVS version
Initial Comment:
Here's how to crash clisp-cvs, which I mentioned in
[723097]:
http://sourceforge.net/tracker/index.php?func=detail&ai
d=723097&group_id=1355&atid=101355
(in-package "FFI")
(defmacro ohmyfoo (c-type initval &rest keywords &key
size read-only)
(declare (ignore count read-only)) ; to be accessed
via keywords
`(print (list ,ffi-type ,initval ,@keywords)))
Type half a dozen "continue", then after continuing
past the last one about INTERN("READ-ONLY"), type a
single ) on a line.
Type +
to see what the reader got.
It shows (DEFMACRO OHMYFOO (C-TYPE INITVAL &REST
KEYWORDS &KEY SIZE READ-ONLY))
i.e. because of package-lock at read-time, the rest of
the definition was discarded. [I really appreciate
package-lock. :-(]
Now (optional) repeat the defmacro definition. You
don't get package-lock issues anymore, since all the
symbols are there now.
Now attempt to
(export '(ffi::ohmyfoo) "FFI")
*** - handle_fault error2 ! address = 0x3c13df58 not in
[0x20209000,0x202e3f34) !
SIGSEGV cannot be cured. Fault address = 0x3c13df58.
In fact CLISP will die after almost any form you'll
type after OHMYFOO finally got accepted.
Regards,
Jörg Höhle
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=726282&group_id=1355
|