[issue7896] IDLE.app crashes when attempting to open a .py file
New submission from John-Michael Glenn : This happens every time I try to open any .py file from anywhere in my computer. I start IDLE.app and go to the menu and open a file then it pauses and crashes. I get a similar event when I try to use the Run Module option from the menu, except it doesn't crash it will hang and eventually show a shell window, but it does nothing and I am unable to do anything in either of the two windows. Here is the crash report for when I try to open a file (edited out bluetooth and airport information): Process: Python [48392] Path:/Applications/Python 2.6/IDLE.app/Contents/MacOS/Python Identifier: org.python.IDLE Version: 2.6.4 (2.6.4) Code Type: X86-64 (Native) Parent Process: launchd [459] Date/Time: 2010-02-09 15:25:43.842 -0800 OS Version: Mac OS X 10.6.2 (10C540) Report Version: 6 Interval Since Last Report: 895070 sec Crashes Since Last Report: 28 Per-App Interval Since Last Report: 101706 sec Per-App Crashes Since Last Report: 13 Anonymous UUID: FF835E84-3062-4BF0-8A30-7089C4C5C31B Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: 0x000d, 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: objc_msgSend() selector name: release Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x7fff81c15120 objc_msgSend + 44 1 com.apple.CoreFoundation0x7fff80037246 _CFAutoreleasePoolPop + 230 2 com.apple.Foundation0x7fff851512f8 -[NSAutoreleasePool drain] + 158 3 com.tcltk.tklibrary 0x0001010bba4f XQueryPointer + 2425 4 com.tcltk.tklibrary 0x0001010bbd3f Tk_MacOSXSetupTkNotifier + 614 5 com.tcltk.tcllibrary0x00010076c2ae Tcl_DoOneEvent + 297 6 _tkinter.so 0x0001004e3311 Tkapp_MainLoop + 401 7 org.python.python 0x0001000b8018 PyEval_EvalFrameEx + 28696 8 org.python.python 0x0001000b8d70 PyEval_EvalCodeEx + 2112 9 org.python.python 0x0001000b6d5d PyEval_EvalFrameEx + 23901 10 org.python.python 0x0001000b71ba PyEval_EvalFrameEx + 25018 11 org.python.python 0x0001000b8d70 PyEval_EvalCodeEx + 2112 12 org.python.python 0x0001000b8e56 PyEval_EvalCode + 54 13 org.python.python 0x0001000dda8e PyRun_FileExFlags + 174 14 org.python.python 0x0001000ddd49 PyRun_SimpleFileExFlags + 489 15 org.python.python 0x0001000ed45c Py_Main + 3020 16 Python 0x00010ed4 0x1 + 3796 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x7fff8053ebba kevent + 10 1 libSystem.B.dylib 0x7fff80540a85 _dispatch_mgr_invoke + 154 2 libSystem.B.dylib 0x7fff8054075c _dispatch_queue_invoke + 185 3 libSystem.B.dylib 0x7fff80540286 _dispatch_worker_thread2 + 244 4 libSystem.B.dylib 0x7fff8053fbb8 _pthread_wqthread + 353 5 libSystem.B.dylib 0x7fff8053fa55 start_wqthread + 13 Thread 2: 0 libSystem.B.dylib 0x7fff8053f9da __workq_kernreturn + 10 1 libSystem.B.dylib 0x7fff8053fdec _pthread_wqthread + 917 2 libSystem.B.dylib 0x7fff8053fa55 start_wqthread + 13 Thread 3: 0 libSystem.B.dylib 0x7fff805699e2 select$DARWIN_EXTSN + 10 1 com.tcltk.tcllibrary0x00010079dd86 Tcl_InitNotifier + 1520 2 libSystem.B.dylib 0x7fff8055ef8e _pthread_start + 331 3 libSystem.B.dylib 0x7fff8055ee41 thread_start + 13 Thread 4: 0 libSystem.B.dylib 0x7fff80525e3a mach_msg_trap + 10 1 libSystem.B.dylib 0x7fff805264ad mach_msg + 59 2 com.apple.CoreFoundation0x7fff8004e7a2 __CFRunLoopRun + 1698 3 com.apple.CoreFoundation0x7fff8004dc2f CFRunLoopRunSpecific + 575 4 com.apple.CoreFoundation0x7fff8004d9b6 CFRunLoopRun + 70 5 com.apple.DesktopServices 0x7fff87543d86 TSystemNotificationTask::SystemNotificationTaskProc(void*) + 514 6 ...ple.CoreServices.CarbonCore 0x7fff82a5cb4d PrivateMPEntryPoint + 63 7 libSystem.B.dylib 0x7fff8055ef8e _pthread_start + 331 8 libSystem.B.dylib 0x7fff8055ee41 thread_start + 13 Thread 5: 0 libSystem.B.dylib 0x7fff8053f9da __workq_kernreturn + 10 1 libSystem.B.dylib 0x7fff8053fdec _pthread_wqthread + 917 2 libSystem.B.
[issue3646] MacOS X framework install to non-standard directory fails
John-Michael Glenn added the comment: I'm using Python 2.6.4 on OSX 10.6 and I first used the mv command to rename the original python.framework. Then I was able to install 2.6 as the new python.framework. These are the commands: rename it: sudo mv /Library/Frameworks/Python.framework /Library/Frameworks/Python_old.framework install new python: ./configure --enable-framework --with-framework-name=Python --enable-universalsdk=/ --with-universal-archs=intel -- nosy: +phyreman ___ Python tracker <http://bugs.python.org/issue3646> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7896] IDLE.app crashes when attempting to open a .py file
John-Michael Glenn added the comment: I compiled it myself. "I know there are issues with the system Tk 8.5 on OSX 10.6, although this is a new type of problem and and probably unrelated to the other ones." ...crap, I have 8.5 on 10.6.2 "...start IDLE by running "/Applications/Python 2.6/IDLE.app/Contents/MacOS/IDLE" from a terminal window (including the quotes). That will show any output from the IDLE process in the terminal window, where it is easier to collect it than from the system log. With some luck this will show that IDLE is doing something that it shouldn't." When I try to open a file it crashes and only spits out "Segmentation fault". When I try to test a module it just hangs and keeps me from doing anything at all but stare at my code. But it only does this once for each file that I try to test. So if I force quit it and open that same file again and test the module, it'll work just fine. -- ___ Python tracker <http://bugs.python.org/issue7896> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com