[Openmcl-devel] Another bug found: 050610a darwin + cvs up June 12
Gary Byers
gb at clozure.com
Mon Jun 13 14:23:48 PDT 2005
A constant was defined incorrectly (about a week ago) in
lisp-kernel/lisp-exceptions.h
It's fixed in CVS; update, rebuild the kernel, and the new kernel
should recognize the trap instruction and call out to the lisp.
On Mon, 13 Jun 2005, David Steuber wrote:
> On Jun 13, 2005, at 3:59 AM, David Steuber wrote:
>
>> I managed to tickle another bug that got me into the kernel debugger. I
>> was running my own program via slime, but it looks like the bug was
>> triggered in one of my functions. If you need the source, let me know. I
>> would like to keep it confidential. Here is a backtrace:
>
> I found a very short test case for this bug while examining my code;
>
> $ openmcl
> Welcome to OpenMCL Version (Beta: DarwinPPC32) 0.14.3-050610a!
> ? (aref "" 0)
> Unhandled exception 5 at 0x00006d7c, context->regs at #xf0135728
> Bad index 0 for vector 0639EE26 length 0
> ? for help
> [25975] OpenMCL kernel debugger: :b
> [25975] OpenMCL kernel debugger:
>
> (#xF0135C10) #x00005F60 : (subprimitive _nvalret)
> (#xF0135C20) #x00005E54 : (subprimitive _ret1valn)
> (#xF0135C30) #x0210E964 : #<Function CALL-CHECK-REGS #x060de57e> + 72
> (#xF0135C40) #x00005E54 : (subprimitive _ret1valn)
> (#xF0135C50) #x0211A244 : #<Function TOPLEVEL-EVAL #x060f061e> + 152
> (#xF0135C60) #x0211A800 : #<Function READ-LOOP #x060f0c1e> + 844
> (#xF0135C70) #x0211A838 : #<Function READ-LOOP #x060f0c1e> + 900
> (#xF0135C80) #x0211A864 : #<Function READ-LOOP #x060f0c1e> + 944
> (#xF0135C90) #x0211A890 : #<Function READ-LOOP #x060f0c1e> + 988
> (#xF0135CA0) #x0210E8B0 : #<Function TOPLEVEL-LOOP #x060de34e> + 44
> (#xF0135CB0) #x0210E8B8 : #<Function TOPLEVEL-LOOP #x060de34e> + 52
> (#xF0135CC0) #x02108328 : #<Anonymous Function #x060d6c16> + 68
> (#xF0135CD0) #x00005E54 : (subprimitive _ret1valn)
> (#xF0135CE0) #x02128D70 : #<Anonymous Function #x061117d6> + 612
> (#xF0135CF0) #x02128B5C : #<Anonymous Function #x061117d6> + 80
> (#xF0135D00) #x0210672C : #<Function RUN-PROCESS-INITIAL-FORM #x060d262e> +
> 400
> (#xF0135D10) #x02106768 : #<Function RUN-PROCESS-INITIAL-FORM #x060d262e> +
> 460
> (#xF0135D20) #x0210687C : #<Function RUN-PROCESS-INITIAL-FORM #x060d262e> +
> 736
> (#xF0135D30) #x00005E54 : (subprimitive _ret1valn)
> (#xF0135D40) #x021069FC : #<Anonymous Function #x060d2766> + 152
> (#xF0135D50) #x021069E4 : #<Anonymous Function #x060d2766> + 128
> (#xF0135D60) #x020FC530 : #<Anonymous Function #x060c5ae6> + 172
> (#xF0135D70) #x000092C8 : (subprimitive toplevel_loop)
> (#xF0135D80) #x000092D4 : (subprimitive toplevel_loop)
> (#xf0135d90) #x000093E4 : _start_lisp + 248
> (#xf0135e50) #x0001B1BC : _lisp_thread_entry + 224
> (#xf0135eb0) #x90024910 : __pthread_body + 40
> (#xf0135f00) #x00000000 : (null) + 0
>
>
> cstack area #x00100590
>
>
> (#xBFFFFA80) #x020FD5B8 : #<Function %NANOSLEEP #x060c6c86> + 268
> (#xBFFFFA90) #x02108190 : #<Anonymous Function #x060d6b3e> + 300
> (#xBFFFFAA0) #x021081B4 : #<Anonymous Function #x060d6b3e> + 336
> (#xBFFFFAB0) #x021081BC : #<Anonymous Function #x060d6b3e> + 344
> (#xBFFFFAC0) #x021081F0 : #<Anonymous Function #x060d6b3e> + 396
> (#xBFFFFAD0) #x000092C8 : (subprimitive toplevel_loop)
> (#xBFFFFAE0) #x000092D4 : (subprimitive toplevel_loop)
> (#xbffffaf0) #x000093E4 : _start_lisp + 248
> [25975] OpenMCL kernel debugger: :k
> [25975] 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