Hi all,
I just recently got a Lion laptop, and while setting up my wxPython development environment, I’ve found that everytime I do the equivalent of:
python -c ‘import wx’
python itself crashes. Here is a snippet of the crash log. Any idea on what is going on here?
Process: Python-32 [58694]
Path: /Users/USER/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python-32
Identifier: Python-32
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [11094]
Date/Time: 2012-04-30 19:00:52.067 -0700
OS Version: Mac OS X 10.7.3 (11D50b)
Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
/Users/rishisharma/Library/Frameworks/wx/libwx_osx_cocoau-2.9.3.0.0.dylib
objc[58694]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x9aa36ac6 CFRetain + 22
1 libwx_osx_cocoau-2.9.3.0.0.dylib 0x01027b8a wxStandardPathsCF::wxStandardPathsCF() + 106
2 libwx_osx_cocoau-2.9.3.0.0.dylib 0x0102d086 __static_initialization_and_destruction_0(int, int) + 54
3 dyld 0x8feb0203 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 251
4 dyld 0x8feafd68 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 64
5 dyld 0x8fead2c8 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 256
6 dyld 0x8fead25e ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 150
7 dyld 0x8feae268 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 62
8 dyld 0x8fea231d dyld::runInitializers(ImageLoader*) + 91
9 dyld 0x8fea917b dlopen + 585
10 libdyld.dylib 0x97f66a95 dlopen + 70
11 org.python.python 0x000c6520 _PyImport_GetDynLoadFunc + 336