Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#691 closed defect (fixed)

easygui crash

Reported by: gz Owned by: gb
Priority: normal Milestone:
Component: IDE Version: trunk
Keywords: Cc:

Description (last modified by gz)

When I do (make-instance 'easygui-demo::converter-window) in a fresh IDE, on MacOSX 10.5.8 on a MacBook Pro, I get a crash.

Change History (4)

comment:1 Changed 9 years ago by gz

We tracked it down to the fact that, on my system at least, Cocoa runs stuff in a separate NSUIHeartBeat thread, and if a callback is invoked from that thread (in this case a #/isFlipped method defined by easygui), this initiates an automatic creation of a lisp process for an unknown foreign process, and that had a bug in it.

r13745 addresses that bug but now I get:

Unhandled exception 10 at 0x267e0, context->regs at #xb05a8810
Exception occurred while executing foreign code
 at extend_tcr_tlb + 160
? for help
[58140] Clozure CL kernel debugger: b

Frame pointer [#x0] in unknown area.
[58140] Clozure CL kernel debugger: t
Current Thread Context Record (tcr) = 0x129baab0
Control (C) stack area:  low = 0xb052a000, high = 0xb05aa000
Value (lisp) stack area: low = 0x14100000, high = 0x1434c000
Exception stack pointer = 0xb05a8ce0
[58140] Clozure CL kernel debugger: r
%rax = 0x0000000013f00000      %r8  = 0x0000000013f00007
%rcx = 0x00000000008cd200      %r9  = 0x00000000000000ff
%rdx = 0x0000000013f07000      %r10 = 0x0000000000000040
%rbx = 0xffffffffffffd000      %r11 = 0x00000000b0034d58
%rsp = 0x00000000b05a8ce0      %r12 = 0x0000000000004000
%rbp = 0x00000000b05a8d00      %r13 = 0x00000000129baab0
%rsi = 0x0000000013f00000      %r14 = 0x0000000000007000
%rdi = 0x0000000000096070      %r15 = 0x0000000000000000
%rip = 0x00000000000267e0   %rflags = 0x00010286

comment:2 Changed 9 years ago by gz

  • Description modified (diff)

comment:3 Changed 9 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

(In [13752]) Look at x8664 tcr fields in x8664 version of %ENSURE-TLB-INDEX. Fixes ticket:691.

comment:4 Changed 9 years ago by gz

Thanks, it all works for me now. But for what it's worth, the tlb isn't any smaller. I think it may be a bootstrapping issue, as the fasdumper just propagates the current binding-index status.

Note: See TracTickets for help on using tickets.