I'm running a CL program on the 2004-04 snapshot.
My program uses the screamer library in clocc.
I compiled my program with
(declaim (optimize (speed 1) (debug 3) (safety 2)))
AFAICT, screamer itself doesn't seem to have any optimization
declarations.
It runs for a couple minutes, then comes back with:
Unhandled debug-condition:
No debugging information available.
[Condition of type DEBUG-INTERNALS:UNHANDLED-CONDITION]
Restarts:
0: [ABORT] Abort handling SLIME request.
1: Return to Top-Level.
Debug (type H for help)
(DEBUG-INTERNALS::DEBUG-FUNCTION-FROM-PC #<Code Object {10000007}> 225)
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists:
target:code/debug-int.lisp.
0]
A backtrace yields:
0] backtrace
0: (DEBUG-INTERNALS::DEBUG-FUNCTION-FROM-PC #<Code Object {10000007}> 225)
1: (DEBUG-INTERNALS::COMPUTE-CALLING-FRAME #.(SYSTEM:INT-SAP #x3FFFBFFC)
#.(SYSTEM:INT-SAP #x00128A58)
#<Compiled-Frame "sigtrap_handler+#x161
[#x805411E] /home/rif/Software/cmucl/bin/lisp">)
2: (DEBUG-INTERNALS:FRAME-DOWN
#<Compiled-Frame "sigtrap_handler+#x161 [#x805411E]
/home/rif/Software/cmucl/bin/lisp">)
3: ((METHOD SWANK-BACKEND:COMPUTE-BACKTRACE NIL (T T)) #<unused-arg>
#<unused-arg> 0 20)
4: (SWANK:BACKTRACE 0 20)
5: (SWANK:BACKTRACE 2 0 20)[:EXTERNAL]
6: (SWANK:DEBUGGER-INFO-FOR-EMACS 0 20)
7: (SWANK:DEBUGGER-INFO-FOR-EMACS 2 0 20)[:EXTERNAL]
8: (SWANK::SLDB-LOOP 1)
9: (SWANK::SLDB-LOOP 1 1)[:EXTERNAL]
10: ("DEFUN DEBUG-IN-EMACS")
11: ("DEFUN DEBUG-IN-EMACS" 0)[:EXTERNAL]
12: ((METHOD SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT NIL (T))
#<unused-arg> #<unused-arg> #<Function "DEFUN DEBUG-IN-EMACS" {591064C9}>)
13: (SWANK::DEBUG-IN-EMACS #<KERNEL:SIMPLE-CONTROL-ERROR {60855785}>)
14: (SWANK::DEBUG-IN-EMACS 1 #<KERNEL:SIMPLE-CONTROL-ERROR {60855785}>)[:EXTERNAL]
15: (SWANK:SWANK-DEBUGGER-HOOK #<KERNEL:SIMPLE-CONTROL-ERROR {60855785}>
#<unused-arg>)
16: (SWANK:SWANK-DEBUGGER-HOOK 2
#<KERNEL:SIMPLE-CONTROL-ERROR {60855785}>
#<unused-arg>)[:EXTERNAL]
17: (INVOKE-DEBUGGER #<KERNEL:SIMPLE-CONTROL-ERROR {60855785}>)
18: (ERROR KERNEL:SIMPLE-CONTROL-ERROR
:FUNCTION-NAME
"<error finding name>"
:FORMAT-CONTROL
...)
19: (KERNEL::UNSEEN-THROW-TAG-ERROR-HANDLER "<error finding name>"
#.(SYSTEM:INT-SAP #x3FFFBFFC)
#<Alien (* #) at #x3FFFBC80>
(142))
20: (KERNEL::INTERNAL-ERROR #.(SYSTEM:INT-SAP #x3FFFBC80) #<unused-arg>)
21: ("call_into_lisp+#x8C [#x805448C] /home/rif/Software/cmucl/bin/lisp")
22: ("funcall2+#x23 [#x805426E] /home/rif/Software/cmucl/bin/lisp")
23: ("interrupt_internal_error+#xB3 [#x8050008] /home/rif/Software/cmucl/bin/lisp")
24: ("sigtrap_handler+#x161 [#x805411E] /home/rif/Software/cmucl/bin/lisp")
No debugging information available.
Any ideas how I can deal with this? I wouldn't be surprised if
there's a bug in my program, but I'm not sure how to find whatever
this is. Is this a CMUCL or a SLIME problem?
For what it's worth, my startup message and features list are:
CMU Common Lisp snapshot 2004-04, running on doughty
With core: /home/rif/Software/CMUCL-2004-04/lib/cmucl/lib/lisp.core
Dumped on: Fri, 2004-04-02 13:37:07-05:00 on lorien
See <http://www.cons.org/cmucl/> for support information.
Loaded subsystems:
Python 1.1, target Intel x86
CLOS based on Gerd's PCL 2004/01/09 04:34:17
Gray Streams Protocol Support
MATLISP/Pre 2.0
*features*
(:MATLISP :SPLIT-SEQUENCE :ASDF-INSTALL :ASDF :SCREAMER :CLTL2 :THREADS
:GRAY-STREAMS :MK-DEFSYSTEM :GERDS-PCL :PCL-STRUCTURES :PORTABLE-COMMONLOOPS
:PCL :CMU19 :CMU19A :PYTHON :CONSERVATIVE-FLOAT-TYPE :MP :X86 :LINKAGE-TABLE
:RELATIVE-PACKAGE-NAMES :LINUX :GLIBC2 :UNIX :RANDOM-MT19937 :GENCGC :PENTIUM
:I486 :HASH-NEW :HEAP-OVERFLOW-CHECK :STACK-CHECKING :COMMON :COMMON-LISP
:ANSI-CL :IEEE-FLOATING-POINT :CMU)
Any help is appreciated.
Cheers,
rif