From: John M. <jm...@ma...> - 2005-05-13 02:45:01
|
Hi; In trying to track down why I couldn't seem to save a core image including my sb-alien bindings, and also in following instructions to using the "callback-sbcl.lisp" stuff which mandate saving a purified core image, I decided (whoops) to go forward from sbcl-0.8.20-1 to: sbcl-0.9.0.18-1 (found via rpm.pbone.net) This was to try and get all bugfixes, etc. FYI I am running on: Linux jmorrison 2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 2005 i686 athlon i386 GNU/Linux Fedora Core release 2 (Tettnang) I eventually backed up to the point where just loading base McCLIM (current from CVS as of today) triggers the memory fault. Here are the first few lines of the file I load: (require :asdf) (require :clx) (break "ZERO") (purify) (load "system.lisp") ;(asdf:operate 'asdf:load-op :clim-clx-user) (break "ONE") (purify) (asdf:operate 'asdf:load-op :clim) ;; Build CLIM (break "TWO") ;; THE NEXT LINE'S PURIFY IS WHERE WE DIE (purify) (asdf:operate 'asdf:load-op :clim-clx) ;; Build a backend (break "THREE") (purify) (asdf:operate 'asdf:load-op :clim-examples) (break "FOUR") (purify) Here's the error: --- cut here --- debugger invoked on a SIMPLE-CONDITION in thread 19631: TWO Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE] Return from BREAK. 1: Ignore and continue with next --eval option. 2: [ABORT ] Skip rest of --eval options. 3: Skip to toplevel READ/EVAL/PRINT loop. 4: [QUIT ] Quit SBCL (calling #'QUIT, killing the process). (BREAK "TWO") 0] :cont [doing purification: roots handlers stack debugger invoked on a SIMPLE-ERROR in thread 19631: Error during processing of --eval option "(|LOAD| \"jm.lisp\")": memory fault Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE] Ignore and continue with next --eval option. 1: [ABORT ] Skip rest of --eval options. 2: Skip to toplevel READ/EVAL/PRINT loop. 3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process). ((LAMBDA (SB-IMPL::E)) #<SB-KERNEL::MEMORY-FAULT-ERROR {A187389}>) 0] :back 0: ((LAMBDA (SB-IMPL::E)) #<SB-KERNEL::MEMORY-FAULT-ERROR {A187389}>) 1: ((LAMBDA (SB-IMPL::E)) #<SB-KERNEL::MEMORY-FAULT-ERROR {A187389}>) 2: (SIGNAL #<SB-KERNEL::MEMORY-FAULT-ERROR {A187389}>) 3: (ERROR SB-KERNEL::MEMORY-FAULT-ERROR) 4: (SB-KERNEL::MEMORY-FAULT-ERROR) 5: ("foreign function: call_into_lisp") 6: ("foreign function: post_signal_tramp") 7: ("foreign function: bcopy") 8: ("foreign function: #x8052F68") 9: ("foreign function: #x8052EC7") 10: ("foreign function: #x8052C3F") 11: ("foreign function: #x805308B") 12: ("foreign function: #x8052EC7") 13: ("foreign function: #x8052C3F") 14: ("foreign function: #x805308B") 15: ("foreign function: #x8052EC7") 16: ("foreign function: #x805333F") [ snip snip snip mucho snippage snip snip ] 649: ("foreign function: #x8052EC7") 650: ("foreign function: #x8052C3F") 651: ("foreign function: #x805308B") 652: ("foreign function: #x8052EC7") 653: ("foreign function: #x805333F") 654: ("foreign function: #x8052B4E") 655: ("foreign function: #x8052778") fatal error encountered in SBCL pid 19631: no size function for object at 0x0a96ea68 (widetag 0x68) The system is too badly corrupted or confused to continue at the Lisp level. If the system had been compiled with the SB-LDB feature, we'd drop into the LDB low-level debugger now. But there's no LDB in this build, so we can't really do anything but just exit, sorry. [jm@jmorrison mcclim]$ --- cut here --- Two more observations: (1) It took FOREVER to asdf-install CLX 0.7.0 today. Probably around a half hour. I do not remember it taking that long to install either 0.5.4 or 0.6.1. The compilation seemed to hang up at several points long enought that I wanted to kill it, but it eventually proceeded. (2) I tried building my own SBCL today from sources, with an eye to including the ldb so I could get more info, but that failed as well (?) --- cut here --- ; compiling (DEFINE-MOVE-VOP MOVE-ARG ...) ; compiling (FROB + ...) ; compiling (FROB - ...) ; compiling (FROB * ...)unhandled SB-KERNEL::MEMORY-FAULT-ERROR in thread 7003: memory fault 0: (SB-DEBUG:BACKTRACE 128 #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {50491B1}>) 1: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-KERNEL::MEMORY-FAULT-ERROR {9913819}> #<unavailable argument>) 2: (INVOKE-DEBUGGER #<SB-KERNEL::MEMORY-FAULT-ERROR {9913819}>) 3: (ERROR SB-KERNEL::MEMORY-FAULT-ERROR) 4: (SB-KERNEL::MEMORY-FAULT-ERROR) 5: ("foreign function: call_into_lisp") 6: ("foreign function: post_signal_tramp") 7: (SB-C::PROPAGATE-LIVE-TNS #<SB-C::IR2-BLOCK :START-VOP #<SB-C::VOP :INFO SB-VM::INSTANCE-INDEX-REF-C :ARGS # :RESULTS # :CODEGEN-INFO #> :LAST-VOP #<SB-C::VOP :INFO SB-C:IF-EQ :ARGS # :RESULTS NIL :CODEGEN-INFO #> :LOCAL-TN-COUNT 4> #<SB-C::IR2-BLOCK :START-VOP #<SB-C::VOP :INFO SB-KERNEL:LAYOUT-INVALID-ERROR :ARGS # :RESULTS NIL> :LAST-VOP #<SB-C::VOP :INFO SB-KERNEL:LAYOUT-INVALID-ERROR :ARGS # :RESULTS NIL> :LOCAL-TN-COUNT 1 :%LABEL #<SB-ASSEM:LABEL 1>>) 8: (SB-C::LIFETIME-FLOW-ANALYSIS #<SB-C:COMPONENT :NAME "MACROLET ((FROB # # #))" {9F1FA29}>) 9: (SB-C::LIFETIME-ANALYZE #<SB-C:COMPONENT :NAME "MACROLET ((FROB # # #))" {9F1FA29}>) 10: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "MACROLET ((FROB # # #))" {9F1FA29}>) 11: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "MACROLET ((FROB # # #))" {9F1FA29}>) 12: (SB-C::COMPILE-TOPLEVEL (#<SB-C::CLAMBDA :%SOURCE-NAME SB-C::.ANONYMOUS. :%DEBUG-NAME (SB-C::TOP-LEVEL-FORM #) :KIND :TOPLEVEL :TYPE #<SB-KERNEL:BUILT-IN-CLASSOID FUNCTION (read-only)> :WHERE-FROM :DEFINED :VARS NIL {90EF819}>) NIL) --- cut here --- Any ideas? Thanks, -jm -- ==== John Morrison ==== MAK Technologies Inc. ==== 10 Fawcett Street, Cambridge, MA 02138 ==== http://www.mak.com/ ==== vox:617-876-8085 x115 ==== fax:617-876-9208 ==== jm...@ma... |