[Openmcl-devel] Backtrace from SLIME when loading openmcl with an image from SLIME

Gary Byers gb at clozure.com
Mon Jul 18 08:19:57 UTC 2005


About all that the backtrace says is that FORCE-OUTPUT is called (I
assume that it's called on *ERROR-OUTPUT*, but that's mostly a guess),
gets an error (somewhere in a STREAM-FORCE-OUTPUT method), enters a
break loop, calls FORCE-OUTPUT, gets an error ... after about 3 or 4
recursive errors, it gives up and drops into the kernel debugger.

I don't use SLIME and don't really how or when it sets up
*ERROR-OUTPUT*; in a non-SLIME environment, *ERROR-OUTPUT* is usually
a SYNONYM-STREAM to *TERMINAL-IO* (which is -usually- created very
soon after a saved image starts up.)


On Sun, 17 Jul 2005, Zachery Bir wrote:

> Background: I created a simple image inside a SLIME session. Attempting to 
> start SLIME using that image provokes the following backtrace. OpenMCL 0.14.3 
> and SLIME 1.2.1. The friendly folks in #lisp suggested I might want to send 
> it along to the list.
>
> Thanks,
>
> Zac
>
> --- *inferior-lisp* buffer contents ---
>
> (load "/Users/zbir/lisp/slime-cvs/swank-loader.lisp" :verbose t)
> (swank:start-server "/tmp/slime.20882" :external-format :iso-latin-1-unix)
> Welcome to OpenMCL Version (Beta: Darwin) 0.14.3!
> ? ;Loading #P"/Users/zbir/lisp/slime-cvs/swank-loader.lisp"...
> ;Loading #P"/Users/zbir/.slime/fasl/openmcl-0.14-darwin-powerpc/swank- 
> backend.dfsl"...
> ;Loading #P"/Users/zbir/.slime/fasl/openmcl-0.14-darwin-powerpc/ 
> nregex.dfsl"...
> ;Loading #P"/Users/zbir/.slime/fasl/openmcl-0.14-darwin-powerpc/ 
> metering.dfsl"...
> ;Loading #P"/Users/zbir/.slime/fasl/openmcl-0.14-darwin-powerpc/swank- 
> openmcl.dfsl"...
> ;Loading #P"/Users/zbir/.slime/fasl/openmcl-0.14-darwin-powerpc/swank- 
> gray.dfsl"...
> ;Loading #P"/Users/zbir/.slime/fasl/openmcl-0.14-darwin-powerpc/ 
> swank.dfsl"...Bug in MCL-PPC system code:
> Error reporting error
> ? for help
> [20888] OpenMCL kernel debugger: B
>
>
> (#xf01334d0) #x000148AC : _debug_backtrace + 36
> (#xf0133510) #x00014BE4 : _lisp_Debugger + 240
> (#xf0133570) #x00011948 : _Bug + 72
> (#xf01337b0) #x000053A8 : _SPffcall + 200
> (#xF01337F0) #x0203B0F8 : #<Function BUG #x06029e26> + 244
> (#xF0133800) #x00004D7C : (subprimitive _ret1valn)
> (#xF0133810) #x02129F60 : #<Function FUNCALL-WITH-ERROR-REENTRY-DETECTION 
> #x0613fc96> + 140
> (#xF0133820) #x00004D7C : (subprimitive _ret1valn)
> (#xF0133830) #x02129764 : #<Anonymous Function #x0613f87e> + 376
> (#xF0133840) #x00004D7C : (subprimitive _ret1valn)
> (#xF0133850) #x02129B8C : #<Function FUNCALL-WITH-XP-STACK-FRAMES #x0613fab6> 
> + 496
> (#xF0133860) #x02129968 : #<Function XCMAIN #x0613f8ae> + 500
> (#xF0133870) #x00004D7C : (subprimitive _ret1valn)
> (#xF0133880) #x020BA2DC : #<Function %PASCAL-FUNCTIONS% #x0608e0a6> + 128
> (#xF0133890) #x020BA2C4 : #<Function %PASCAL-FUNCTIONS% #x0608e0a6> + 104
> (#xF01338A0) #x00006CB4 : (subprimitive _SPcallback)
> (#xf01338b0) #x00010F50 : _callback_to_lisp + 176
> (#xF0134330) #x020F0E00 : #<Method-Function STREAM-FORCE-OUTPUT 
> (BUFFERED-OUTPUT-STREAM-MIXIN) #x060e713e> + 380
> (#xF0134340) #x020F0CE4 : #<Method-Function STREAM-FORCE-OUTPUT 
> (BUFFERED-OUTPUT-STREAM-MIXIN) #x060e713e> + 96
> (#xF0134350) #x02114A6C : #<Function FORCE-OUTPUT #x061191de> + 56
> (#xF0134360) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134370) #x0211D3D0 : #<Function %BREAK-MESSAGE #x06124ca6> + 636
> (#xF0134380) #x0211D810 : #<Function BREAK-LOOP-HANDLE-ERROR #x061252f6> + 
> 308
> (#xF0134390) #x00004D7C : (subprimitive _ret1valn)
> (#xF01343A0) #x020CAFF0 : #<Function %%STANDARD-COMBINED-METHOD-DCODE 
> #x0609c296> + 148
> (#xF01343B0) #x00006FC0 : (subprimitive _popj)
> (#xF01343C0) #x0214D3C4 : #<Function %ERROR #x06174ace> + 104
> (#xF01343D0) #x02129F44 : #<Function FUNCALL-WITH-ERROR-REENTRY-DETECTION 
> #x0613fc96> + 112
> (#xF01343E0) #x00004D7C : (subprimitive _ret1valn)
> (#xF01343F0) #x02129764 : #<Anonymous Function #x0613f87e> + 376
> (#xF0134400) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134410) #x02129B8C : #<Function FUNCALL-WITH-XP-STACK-FRAMES #x0613fab6> 
> + 496
> (#xF0134420) #x02129968 : #<Function XCMAIN #x0613f8ae> + 500
> (#xF0134430) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134440) #x020BA2DC : #<Function %PASCAL-FUNCTIONS% #x0608e0a6> + 128
> (#xF0134450) #x020BA2C4 : #<Function %PASCAL-FUNCTIONS% #x0608e0a6> + 104
> (#xF0134460) #x00006CB4 : (subprimitive _SPcallback)
> (#xf0134470) #x00010F50 : _callback_to_lisp + 176
> (#xF0134EF0) #x020F0E00 : #<Method-Function STREAM-FORCE-OUTPUT 
> (BUFFERED-OUTPUT-STREAM-MIXIN) #x060e713e> + 380
> (#xF0134F00) #x020F0CE4 : #<Method-Function STREAM-FORCE-OUTPUT 
> (BUFFERED-OUTPUT-STREAM-MIXIN) #x060e713e> + 96
> (#xF0134F10) #x02114A6C : #<Function FORCE-OUTPUT #x061191de> + 56
> (#xF0134F20) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134F30) #x0211D3D0 : #<Function %BREAK-MESSAGE #x06124ca6> + 636
> (#xF0134F40) #x0211D810 : #<Function BREAK-LOOP-HANDLE-ERROR #x061252f6> + 
> 308
> (#xF0134F50) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134F60) #x020CAFF0 : #<Function %%STANDARD-COMBINED-METHOD-DCODE 
> #x0609c296> + 148
> (#xF0134F70) #x00006FC0 : (subprimitive _popj)
> (#xF0134F80) #x0214D3C4 : #<Function %ERROR #x06174ace> + 104
> (#xF0134F90) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134FA0) #x02129F1C : #<Function FUNCALL-WITH-ERROR-REENTRY-DETECTION 
> #x0613fc96> + 72
> (#xF0134FB0) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134FC0) #x02129764 : #<Anonymous Function #x0613f87e> + 376
> (#xF0134FD0) #x00004D7C : (subprimitive _ret1valn)
> (#xF0134FE0) #x02129B8C : #<Function FUNCALL-WITH-XP-STACK-FRAMES #x0613fab6> 
> + 496
> (#xF0134FF0) #x02129968 : #<Function XCMAIN #x0613f8ae> + 500
> (#xF0135000) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135010) #x020BA2DC : #<Function %PASCAL-FUNCTIONS% #x0608e0a6> + 128
> (#xF0135020) #x020BA2C4 : #<Function %PASCAL-FUNCTIONS% #x0608e0a6> + 104
> (#xF0135030) #x00006CB4 : (subprimitive _SPcallback)
> (#xf0135040) #x00010F50 : _callback_to_lisp + 176
> (#xF0135AC0) #x020F0E00 : #<Method-Function STREAM-FORCE-OUTPUT 
> (BUFFERED-OUTPUT-STREAM-MIXIN) #x060e713e> + 380
> (#xF0135AD0) #x020F0CE4 : #<Method-Function STREAM-FORCE-OUTPUT 
> (BUFFERED-OUTPUT-STREAM-MIXIN) #x060e713e> + 96
> (#xF0135AE0) #x02114A6C : #<Function FORCE-OUTPUT #x061191de> + 56
> (#xF0135AF0) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135B00) #x0211D3D0 : #<Function %BREAK-MESSAGE #x06124ca6> + 636
> (#xF0135B10) #x063D5EAC : #<Function WARN-UNIMPLEMENTED-INTERFACES 
> #x063d5eb6> + 112
> (#xF0135B20) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135B30) #x020B1910 : #<Function FUNCALL #x0608788e> + 52
> (#xF0135B40) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135B50) #x0211F204 : #<Function CALL-CHECK-REGS #x0612745e> + 72
> (#xF0135B60) #x02105CA0 : #<Function LOAD-FROM-STREAM #x06104cbe> + 220
> (#xF0135B70) #x02106328 : #<Function %LOAD #x061050ee> + 1316
> (#xF0135B80) #x0210628C : #<Function %LOAD #x061050ee> + 1160
> (#xF0135B90) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135BA0) #x021066A0 : #<Function LOAD #x061056d6> + 636
> (#xF0135BB0) #x021066FC : #<Function LOAD #x061056d6> + 728
> (#xF0135BC0) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135BD0) #x0211F204 : #<Function CALL-CHECK-REGS #x0612745e> + 72
> (#xF0135BE0) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135BF0) #x0211DDD4 : #<Function TOPLEVEL-EVAL #x06125896> + 152
> (#xF0135C00) #x0211E390 : #<Function READ-LOOP #x06125e96> + 844
> (#xF0135C10) #x0211E3C8 : #<Function READ-LOOP #x06125e96> + 900
> (#xF0135C20) #x0211E3F4 : #<Function READ-LOOP #x06125e96> + 944
> (#xF0135C30) #x0211E420 : #<Function READ-LOOP #x06125e96> + 988
> (#xF0135C40) #x0211F150 : #<Function TOPLEVEL-LOOP #x0612722e> + 44
> (#xF0135C50) #x0211F158 : #<Function TOPLEVEL-LOOP #x0612722e> + 52
> (#xF0135C60) #x0210FCF8 : #<Anonymous Function #x06112c9e> + 68
> (#xF0135C70) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135C80) #x0213662C : #<Anonymous Function #x0615233e> + 592
> (#xF0135C90) #x0213642C : #<Anonymous Function #x0615233e> + 80
> (#xF0135CA0) #x0210E13C : #<Function RUN-PROCESS-INITIAL-FORM #x0610e6ae> + 
> 400
> (#xF0135CB0) #x0210E178 : #<Function RUN-PROCESS-INITIAL-FORM #x0610e6ae> + 
> 460
> (#xF0135CC0) #x0210E28C : #<Function RUN-PROCESS-INITIAL-FORM #x0610e6ae> + 
> 736
> (#xF0135CD0) #x00004D7C : (subprimitive _ret1valn)
> (#xF0135CE0) #x0210E40C : #<Anonymous Function #x0610e7e6> + 152
> (#xF0135CF0) #x0210E3F4 : #<Anonymous Function #x0610e7e6> + 128
> (#xF0135D00) #x02103968 : #<Anonymous Function #x061025c6> + 172
> (#xF0135D10) #x0000883C : (subprimitive toplevel_loop)
> (#xF0135D20) #x00008848 : (subprimitive toplevel_loop)
> (#xf0135d30) #x00008914 : _start_lisp + 180
> (#xf0135df0) #x00012E20 : _lisp_thread_entry + 152
> (#xf0135e50) #x9002C3D4 : __pthread_body + 96
> (#xf0135f00) #x00000000 : (null) + 0
>
>
> cstack area #x00300530
>
>
> (#xBFFFF4D0) #x02104760 : #<Function %NANOSLEEP #x061035c6> + 268
> (#xBFFFF4E0) #x0210FB60 : #<Anonymous Function #x06112bc6> + 300
> (#xBFFFF4F0) #x0210FB84 : #<Anonymous Function #x06112bc6> + 336
> (#xBFFFF500) #x0210FB8C : #<Anonymous Function #x06112bc6> + 344
> (#xBFFFF510) #x0210FBC0 : #<Anonymous Function #x06112bc6> + 396
> (#xBFFFF520) #x0000883C : (subprimitive toplevel_loop)
> (#xBFFFF530) #x00008848 : (subprimitive toplevel_loop)
> (#xbffff540) #x00008914 : _start_lisp + 180
> [20888] OpenMCL kernel debugger:
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list