[Openmcl-devel] compiler bug on AMD64 (problem in error printing?)

Gary Byers gb at clozure.com
Fri Jul 14 05:10:58 PDT 2006


Thanks for all of these reports.

That was also broken on the PPC, and had been since at least 1.0.
It's fixed in CVS; I don't think that the fix broke anything else
and can't see any other instances of the same bug, but it's
scary enough that I'd want to keep looking.


On Fri, 14 Jul 2006, Eric Marsden wrote:

> Hi,
>
> A bug found using Paul Dietz's ansi-test suite, run in compiled mode.
> The optimize declaration is necessary to provoke the segfault.
>
>
> Welcome to OpenMCL Version 1.1-pre-060705 (Beta: LinuxX8664)!
> ? (compile nil (lambda () (declare (optimize (safety 3))) (cadr 'a)))
> #<Anonymous Function #x300004C2DD4F>
> NIL
> NIL
> ? (funcall *)
> Unhandled exception 11 at 0x3000040051b8, context->regs at #x4022fd98
> ? for help
> [5255] OpenMCL kernel debugger: B
> current thread: tcr = 0x40231800, native thread ID = 0x1487, interrupts enabled
> (#x00002AAAAACBB388) #x0000300004324854 : #<Function BOGUS-THING-P #x000030000432480f> + 69
> (#x00002AAAAACBB3A8) #x0000300004383B3C : #<Function WRITE-INTERNAL #x0000300004383a7f> + 189
> (#x00002AAAAACBB3E0) #x000030000436DE8C : #<Function WRITE-1 #x000030000436dc4f> + 573
> (#x00002AAAAACBB408) #x000030000436B3B4 : #<Function PRIN1 #x000030000436b31f> + 149
> (#x00002AAAAACBB448) #x000030000482427C : #<Anonymous Function #x00003000048241af> + 205
> (#x00002AAAAACBB498) #x00003000044186A4 : #<Function SUB-FORMAT #x0000300004417c2f> + 2677
> (#x00002AAAAACBB550) #x00003000047FF2FC : #<Function DO-SUB-FORMAT #x00003000047ff22f> + 205
> (#x00002AAAAACBB570) #x0000300004A388A4 : #<Function DO-SUB-FORMAT-1 #x0000300004a387cf> + 213
> (#x00002AAAAACBB5F0) #x0000300004A3D26C : #<Function DO-XP-PRINTING #x0000300004a3d0df> + 397
> (#x00002AAAAACBB678) #x0000300004A0A914 : #<Function DO-IT #x0000300004a0a8cf> + 69
> (#x00002AAAAACBB6A0) #x0000300004A0AF5C : #<Function MAYBE-INITIATE-XP-PRINTING #x0000300004a0acdf> + 637
> (#x00002AAAAACBB720) #x00003000047FFEDC : #<Function FORMAT #x00003000047ff7cf> + 1805
> (#x00002AAAAACBB7E0) #x00003000043BE2F4 : #<Function %BREAK-MESSAGE #x00003000043bdf9f> + 853
> (#x00002AAAAACBB998) #x00003000043BFEDC : #<Function BREAK-LOOP-HANDLE-ERROR #x00003000043bfc8f> + 589
> (#x00002AAAAACBB9F0) #x0000300004426B2C : #<Function %ERROR #x0000300004426a6f> + 189
> (#x00002AAAAACBBA18) #x000030000442AFCC : #<Function %XERR-DISP #x00003000044295cf> + 6653
> (#x00002AAAAACBBA80) #x00003000041191BC : #<Function %PASCAL-FUNCTIONS% #x000030000411905f> + 349
> (#x00002AAAAACBBAE8) #x0000000000000000 : #<Anonymous Function #x0000300004c2dd4f> + ??
> (#x00002AAAAACBBB20) #x00003000040F68CC : #<Function FUNCALL #x00003000040f682f> + 157
> (#x00002AAAAACBBB50) #x00003000043AA1A4 : #<Function CALL-CHECK-REGS #x00003000043aa0bf> + 229
> (#x00002AAAAACBBB88) #x00003000043C16EC : #<Function TOPLEVEL-EVAL #x00003000043c153f> + 429
> (#x00002AAAAACBBBD8) #x00003000043C350C : #<Function READ-LOOP #x00003000043c2dbf> + 1869
> (#x00002AAAAACBBDE0) #x00003000043A9B4C : #<Function TOPLEVEL-LOOP #x00003000043a9a7f> + 205
> (#x00002AAAAACBBE10) #x0000300004361E14 : #<Anonymous Function #x0000300004361d8f> + 133
> (#x00002AAAAACBBE28) #x000030000442EE54 : #<Anonymous Function #x000030000442e78f> + 1733
> (#x00002AAAAACBBEC8) #x0000300004391C14 : #<Function RUN-PROCESS-INITIAL-FORM #x000030000439194f> + 709
> (#x00002AAAAACBBF48) #x00003000043925BC : #<Anonymous Function #x000030000439242f> + 397
> (#x00002AAAAACBBF98) #x000030000435213C : #<Anonymous Function #x0000300004351fcf> + 365
> [5255] OpenMCL kernel debugger: K
>
> -- 
> Eric Marsden
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list