Opened 10 years ago

Closed 10 years ago

#583 closed defect (fixed)

Hard crash while redefining a method

Reported by: rongarret Owned by:
Priority: major Milestone:
Component: IDE Version: trunk
Keywords: Cc:

Description (last modified by gb)

In version Version 1.4-dev-r12599M-trunk:

Unhandled exception 10 at 0x7fff830e0ad9, context->regs at #xb0526990
Exception occurred while executing foreign code
 at objc_msgSend + 41
? for help
[4020] Clozure CL kernel debugger: :b
[4020] Clozure CL kernel debugger: current thread: tcr = 0xa8f52c0, native thread ID = 0x18e93, interrupts disabled


(#x000000000B5B9628) #x0000300041439F54 : #<Anonymous Function #x0000300041439D1F> + 565
(#x000000000B5B9668) #x00003000410C6014 : #<Function (:INTERNAL SEND-UNAMBIGUOUS-MESSAGE (SHARED-INITIALIZE :AFTER (OBJC-DISPATCH-FUNCTION T))) #x00003000410C5E1F> + 501
(#x000000000B5B96D8) #x000030004055973C : #<Function BREAK-LOOP #x0000300040558DAF> + 2445
(#x000000000B5B9908) #x000030004053C44C : #<Function BREAK-LOOP-HANDLE-ERROR #x000030004053BF4F> + 1277
(#x000000000B5B9978) #x00003000405FDF44 : #<Function %ERROR #x00003000405FDDDF> + 357
(#x000000000B5B99A0) #x00003000405FE92C : #<Function CERROR #x00003000405FE58F> + 925
(#x000000000B5B9A38) #x00003000401B54AC : #<Function CHECK-DEFMETHOD-CONGRUENCY #x00003000401B535F> + 333
(#x000000000B5B9A70) #x00003000401B35FC : #<Function %ADD-STANDARD-METHOD-TO-STANDARD-GF #x00003000401B354F> + 173
(#x000000000B5B9AA8) #x00003000401B6D8C : #<Function ENSURE-METHOD #x00003000401B69BF> + 973
(#x000000000B5B9B10) #x000030004053E5BC : #<Function TOPLEVEL-EVAL #x000030004053E2EF> + 717
(#x000000000B5B9BB0) #x0000300040540A64 : #<Function READ-LOOP #x000030004054024F> + 2069
(#x000000000B5B9DF0) #x0000300040548B5C : #<Function TOPLEVEL-LOOP #x0000300040548AEF> + 109
(#x000000000B5B9E20) #x00003000405DBD14 : #<Function (:INTERNAL MAKE-MCL-LISTENER-PROCESS) #x00003000405DBA8F> + 645
(#x000000000B5B9EB8) #x00003000404D8A6C : #<Function RUN-PROCESS-INITIAL-FORM #x00003000404D879F> + 717
(#x000000000B5B9F48) #x00003000404D9674 : #<Function (:INTERNAL (%PROCESS-PRESET-INTERNAL (PROCESS))) #x00003000404D94EF> + 389
(#x000000000B5B9F98) #x00003000404A116C : #<Function (:INTERNAL THREAD-MAKE-STARTUP-FUNCTION) #x00003000404A103F> + 301
[4020] Clozure CL kernel debugger: 

Change History (2)

comment:1 Changed 10 years ago by rongarret

Blarg! Really need to fix Trac so messages can be edited.

Unhandled exception 10 at 0x7fff830e0ad9, context->regs at #xb0526990
Exception occurred while executing foreign code
 at objc_msgSend + 41
? for help
[4020] Clozure CL kernel debugger: :b
[4020] Clozure CL kernel debugger: current thread: tcr = 0xa8f52c0, native thread ID = 0x18e93, interrupts disabled


(#x000000000B5B9628) #x0000300041439F54 : #<Anonymous Function #x0000300041439D1F> + 565
(#x000000000B5B9668) #x00003000410C6014 : #<Function (:INTERNAL SEND-UNAMBIGUOUS-MESSAGE (SHARED-INITIALIZE :AFTER (OBJC-DISPATCH-FUNCTION T))) #x00003000410C5E1F> + 501
(#x000000000B5B96D8) #x000030004055973C : #<Function BREAK-LOOP #x0000300040558DAF> + 2445
(#x000000000B5B9908) #x000030004053C44C : #<Function BREAK-LOOP-HANDLE-ERROR #x000030004053BF4F> + 1277
(#x000000000B5B9978) #x00003000405FDF44 : #<Function %ERROR #x00003000405FDDDF> + 357
(#x000000000B5B99A0) #x00003000405FE92C : #<Function CERROR #x00003000405FE58F> + 925
(#x000000000B5B9A38) #x00003000401B54AC : #<Function CHECK-DEFMETHOD-CONGRUENCY #x00003000401B535F> + 333
(#x000000000B5B9A70) #x00003000401B35FC : #<Function %ADD-STANDARD-METHOD-TO-STANDARD-GF #x00003000401B354F> + 173
(#x000000000B5B9AA8) #x00003000401B6D8C : #<Function ENSURE-METHOD #x00003000401B69BF> + 973
(#x000000000B5B9B10) #x000030004053E5BC : #<Function TOPLEVEL-EVAL #x000030004053E2EF> + 717
(#x000000000B5B9BB0) #x0000300040540A64 : #<Function READ-LOOP #x000030004054024F> + 2069
(#x000000000B5B9DF0) #x0000300040548B5C : #<Function TOPLEVEL-LOOP #x0000300040548AEF> + 109
(#x000000000B5B9E20) #x00003000405DBD14 : #<Function (:INTERNAL MAKE-MCL-LISTENER-PROCESS) #x00003000405DBA8F> + 645
(#x000000000B5B9EB8) #x00003000404D8A6C : #<Function RUN-PROCESS-INITIAL-FORM #x00003000404D879F> + 717
(#x000000000B5B9F48) #x00003000404D9674 : #<Function (:INTERNAL (%PROCESS-PRESET-INTERNAL (PROCESS))) #x00003000404D94EF> + 389
(#x000000000B5B9F98) #x00003000404A116C : #<Function (:INTERNAL THREAD-MAKE-STARTUP-FUNCTION) #x00003000404A103F> + 301
[4020] Clozure CL kernel debugger: 

comment:2 Changed 10 years ago by gb

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

Yes, you did crash hard while redefining a method (apparently, in some way in which the new method definition was incongruent with existing method definitions and/or a lambda list established by DEFGENERIC) and apparently tried to invoke some ObjC method when entering a break loop (perhaps in printing a message, I can't tell); the receiver of that message apparently looked superficially like an ObjC object, but it or the data structure describing its class is corrupt.

There isn't really enough information to say anything more useful; those details don't add up to anything too meaningful.

If this is at all reproducible (and actually has something to do with a CERROR during method (re)definition), it'd be helpful to know something about the method in question.

Note: See TracTickets for help on using tickets.