From: Ned D. <na...@ac...> - 2012-09-05 08:09:45
|
Here's another regression with 8.5.12.x. Using IDLE on OS X from a Python that will link with ActiveTcl 8.5, attempting to open IDLE's Preferences menu, either with the mouse (IDLE -> Preferences) or with the keyboard accelerator (Cmd-`) causes an immediate crash in Tk. I assume what is special here is that IDLE uses the ::tk::mac::ShowPreferences event (http://wiki.tcl.tk/12987). The problem should be simple to reproduce: install the current ActiveTcl 8.5.12.1 and any of the python.org 64-bit installers for 2.7.x, 3.2.x, and 3.3.0rc1 and then type /usr/local/idle2.7 or /usr/local/idle3.x and then type Cmd-`. The current ActivePython 2.7.2.5 for OS X crashes as well (I didn't try the ActivePython 3.2). Unfortunately, since only the most recent ActiveTcl is available to Community Edition users, unless you have saved copies of Active 8.5.11.1 or earlier, you are out of luck especially on OS X 10.6 where Apple's Tk 8.5 is fatally buggy. Does anyone have a native Tk app that uses ::tk::mac::ShowPreferences that reproduces the crash as well? Here's the initial part of the stack trace: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 Tk 0x00000001011c4e6c TkpConfigureMenuEntry + 1923 1 Tk 0x0000000101145ffe MenuWorldChanged + 61 2 Tk 0x000000010111fa99 RecomputeWidgets + 47 3 Tk 0x000000010111faa7 RecomputeWidgets + 61 4 Tk 0x000000010111faa7 RecomputeWidgets + 61 5 Tcl 0x0000000101091e81 TclServiceIdle + 76 6 Tcl 0x0000000101076432 Tcl_DoOneEvent + 329 7 Tk 0x0000000101140832 MapFrame + 42 8 Tcl 0x0000000101091e81 TclServiceIdle + 76 9 Tcl 0x0000000101076432 Tcl_DoOneEvent + 329 10 Tk 0x0000000101116e26 Tk_TkwaitObjCmd + 555 11 Tcl 0x00000001010108ad TclEvalObjvInternal + 782 12 Tcl 0x0000000101011a9f Tcl_EvalObjv + 66 13 _tkinter.so 0x00000001007068cd Tkapp_Call + 189 14 org.python.python 0x00000001000c1e7d PyEval_EvalFrameEx + 25213 -- Ned Deily, na...@ac... |