Is anyone aware of a way to debug EXC_BAD_ACCESS?

I’ve had a few of these EXC_BAD_ACCESS issues before, i posted some I found in wx2.9 a while ago- the one I’ve currenly got is in 2.8.12.1. Before when I’ve seen them they’ve happened consistently and they’ve not been too hard to track down. Just cut chunks out of the code until they go away to narrow down the offending part, then step through the code until it hits. But I seem to have one lurking in my app which I’ve never personally seen occur, but the occasional person is reporting it to happen.

Is anyone aware of a way to find where this could be happening, or a way to debug it?

I found this which helped me understand more whats going on, but I dont know if that type of solution is possible at all in python?

Take a look at the help files for wxStackWalker and
wxApp::OnFatalException they may suggest a strategy to include some
code that will at least let you release a version of the program
that will provide some useful debug information to allow you to find
the problem. Unfortunately most users do not give any indication of
having read the error messages that are provided.

Gadget/Steve
···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=en

Take a look at the help files for wxStackWalker and

wxApp::OnFatalException they may suggest a strategy to include some
code that will at least let you release a version of the program
that will provide some useful debug information to allow you to find
the problem. Unfortunately most users do not give any indication of
having read the error messages that are provided.

Gadget/Steve

I’ve read that in order for wxApp::OnFatalException to be called I need to turn on HandleFatalExceptions using this but I can’t find that method/function anywhere?

I’ve googled it a bit and is it required to build wx with a certain flag set to get this function?

I have the full error report if that gives any clues? Although it doesn’t mean an awful lot to me :stuck_out_tongue:

Process: ZipCloud [53991]

Path: /Applications/ZipCloud.app/Contents/MacOS/ZipCloud

Identifier: org.pythonmac.unspecified.ZipCloud

Version: 2.2.2.1 (2.2.2.1)

Code Type: X86 (Native)

Parent Process: launchd [224]

Date/Time: 2012-04-13 11:55:06.148 +0100

OS Version: Mac OS X 10.6.8 (10K549)

Report Version: 6

Interval Since Last Report: 6117301 sec

Crashes Since Last Report: 656

Per-App Interval Since Last Report: 192052 sec

Per-App Crashes Since Last Report: 6

Anonymous UUID: 3CDA5183-C98C-490B-B747-693108BC2EF9

Exception Type: EXC_BAD_ACCESS (SIGBUS)

Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread

0 libwx_macud-2.8.0.dylib 0x0c46a713 macPostedEventCallback + 17

1 com.apple.CoreFoundation 0x90c3b42b __CFRunLoopDoSources0 + 1563

2 com.apple.CoreFoundation 0x90c38eef __CFRunLoopRun + 1071

3 com.apple.CoreFoundation 0x90c383c4 CFRunLoopRunSpecific + 452

4 com.apple.CoreFoundation 0x90c381f1 CFRunLoopRunInMode + 97

5 com.apple.Foundation 0x98834455 -[NSConcreteTask waitUntilExit] + 273

6 …honmac.unspecified.ZipCloud 0x00004aa8 start + 13256

7 …honmac.unspecified.ZipCloud 0x00006009 main + 1449

8 …honmac.unspecified.ZipCloud 0x000017e2 start + 258

9 …honmac.unspecified.ZipCloud 0x00001709 start + 41

Thread 1: Dispatch queue: com.apple.libdispatch-manager

0 libSystem.B.dylib 0x998c8382 kevent + 10

1 libSystem.B.dylib 0x998c8a9c _dispatch_mgr_invoke + 215

2 libSystem.B.dylib 0x998c7f59 _dispatch_queue_invoke + 163

3 libSystem.B.dylib 0x998c7cfe _dispatch_worker_thread2 + 240

4 libSystem.B.dylib 0x998c7781 _pthread_wqthread + 390

5 libSystem.B.dylib 0x998c75c6 start_wqthread + 30

Thread 2:

0 libSystem.B.dylib 0x998c7412 __workq_kernreturn + 10

1 libSystem.B.dylib 0x998c79a8 _pthread_wqthread + 941

2 libSystem.B.dylib 0x998c75c6 start_wqthread + 30

Thread 3:

0 libSystem.B.dylib 0x998c7412 __workq_kernreturn + 10

1 libSystem.B.dylib 0x998c79a8 _pthread_wqthread + 941

2 libSystem.B.dylib 0x998c75c6 start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):

eax: 0x00000000 ebx: 0x0c46a70b ecx: 0x001811bc edx: 0x0c46a702

edi: 0x001811bc esi: 0x001811b0 ebp: 0xbfffce48 esp: 0xbfffce44

ss: 0x0000001f efl: 0x00010202 eip: 0x0c46a713 cs: 0x00000017

ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

cr2: 0x00000000

Binary Images:

0x1000 - 0x6ff7 +org.pythonmac.unspecified.ZipCloud 2.2.2.1 (2.2.2.1) <62637566-0890-030C-A884-540872ADC1F3> /Applications/ZipCloud.app/Contents/MacOS/ZipCloud

0xe4000 - 0xf6fff +_ctypes.so ??? (???) <42B62FD2-37AA-0B4D-501F-8D743ADF7183> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_ctypes.so

0x780000 - 0x783fff +_struct.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_struct.so

0x788000 - 0x78bffb +_AE.so ??? (???) <4711CCF8-0ED7-A8DE-FAB6-44E1E81625CC> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_AE.so

0x790000 - 0x791ff8 +_Evt.so ??? (???) <66BC1AA8-3305-2183-C6CB-6CB4E303EDEA> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_Evt.so

0x795000 - 0x79cff7 +_File.so ??? (???) <810E342F-E2FB-6666-C3A2-9DD3ED1A30AA> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_File.so

0x1b00000 - 0x1c3efe3 +org.python.python 2.7.2, © 2004-2011 Python Software Foundation. (2.7.2) <80833F4C-2141-83F4-DBA9-D33D69E37D66> /Applications/ZipCloud.app/Contents/Frameworks/Python.framework/Versions/2.7/Python

0x1cd9000 - 0x1cdcff7 +operator.so ??? (???) <82895803-DD20-19AF-8F8C-6677029FB540> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/operator.so

0x1ce1000 - 0x1ce1ff3 +_functools.so ??? (???) <9B1F0B3F-E70B-7C8A-4121-BAF5D994A73F> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_functools.so

0x1ce5000 - 0x1ce6ff4 +_locale.so ??? (???) <66D30FB2-B2AE-7711-F292-131B211EE391> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_locale.so

0x1cea000 - 0x1cebfff +time.so ??? (???) <528DB0EA-E9CD-B645-CD78-DB49A9130623> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/time.so

0x1cf0000 - 0x1cf2fff +select.so ??? (???) <567B8A82-29BA-382D-B486-06D4DF5D4993> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/select.so

0x1cf7000 - 0x1cf8ff0 +fcntl.so ??? (???) <8A47FCCA-0A1A-12B5-981D-8B3129A06DC9> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/fcntl.so

0x1cfc000 - 0x1cfcfff +_hashlib.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_hashlib.so

0x1f95000 - 0x1f99fef +math.so ??? (???) <0A03D655-79F6-024C-0C1D-06CA63A70FF4> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/math.so

0xc240000 - 0xc36effb +core.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/core.so

0xc39c000 - 0xca536cf +libwx_macud-2.8.0.dylib 9.0.0 (compatibility 9.0.0) /Applications/ZipCloud.app/Contents/Frameworks/libwx_macud-2.8.0.dylib

0xcf2f000 - 0xd00effa +gdi.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/gdi.so

0xd0f2000 - 0xd1ac083 +windows.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/windows.so

0xd257000 - 0xd36dfff +controls.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/controls.so

0xd4ae000 - 0xd586ff7 +misc.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/misc.so

0xd5a8000 - 0xd5adfff +binascii.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/binascii.so

0xd5b1000 - 0xd5b2fff +cStringIO.so ??? (???) <791833E0-A1BB-29FC-13DE-F328956075F7> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/cStringIO.so

0xd5b6000 - 0xd5dcfff libssl.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <9203FADE-F4F2-2245-A32E-BD88819D314D> /usr/lib/libssl.0.9.7.dylib

0xd5eb000 - 0xd6a0fe7 libcrypto.0.9.7.dylib 0.9.7 (compatibility 0.9.7) /usr/lib/libcrypto.0.9.7.dylib

0xd6e6000 - 0xd6e9ffe +_sha256.so ??? (???) <411D4FB5-0850-ECC1-BC1F-9C0DFEE0446F> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_sha256.so

0xd6ed000 - 0xd6faff1 +_sha512.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_sha512.so

0xd800000 - 0xd803ff3 +_collections.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_collections.so

0xd807000 - 0xd80cff6 +itertools.so ??? (???) <01599EC4-4AE0-FC8A-25A0-105AFBFAC25B> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/itertools.so

0xd812000 - 0xd812ff5 +_bisect.so ??? (???) <1CEFFE47-D46A-A51B-38F6-51387F5FDA2A> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_bisect.so

0xd816000 - 0xd817ff9 +_heapq.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_heapq.so

0xd85c000 - 0xd85ffff +strop.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/strop.so

0xd864000 - 0xd870fff +datetime.so ??? (???) <809DFCC3-5FBD-6DB5-6B45-883AF7CC407A> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/datetime.so

0xd877000 - 0xd91aff7 +_sqlite3.so ??? (???) <337D747A-C73E-4847-6B48-CB82BCCAABEA> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_sqlite3.so

0xd925000 - 0xd926ff7 com.apple.textencoding.unicode 2.3 (2.3) <78A61FD5-70EE-19EA-48D4-3481C640B70D> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings

0x11cf6000 - 0x11d04fff +cPickle.so ??? (???) <4C41D400-842C-9081-A77F-35A03287246E> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/cPickle.so

0x11d09000 - 0x11d10ff7 +_socket.so ??? (???) <3EF9C8E3-EF83-BF1B-93D3-B7407F7580CE> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_socket.so

0x11d17000 - 0x11d1aff7 +_ssl.so ??? (???) <7A2FD9C5-CC29-35D5-5CDF-1D20E7FCB82A> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_ssl.so

0x11d1f000 - 0x11d1fff0 +_scproxy.so ??? (???) <7FA666F9-78A6-43EE-211C-E9EC77BC9EAD> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_scproxy.so

0x12026000 - 0x12027fff +_random.so ??? (???) <72DD9A67-F3E8-1E94-957A-206D421AF0F7> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_random.so

0x120eb000 - 0x120efff1 +array.so ??? (???) <02C1379B-3E43-C900-02D2-670AFF35920F> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/array.so

0x120f4000 - 0x120f9fff +_json.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_json.so

0x12380000 - 0x12391ffd +zlib.so ??? (???) <425E65F3-CB53-C8BC-C94F-30D809868015> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/zlib.so

0x12395000 - 0x123a7fff +_io.so ??? (???) <636F8E94-164F-D481-53DA-B7F9BF4A577E> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/_io.so

0x12433000 - 0x124bdfff +_stc.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_stc.so

0x124d2000 - 0x125b1faf +libwx_macud_stc-2.8.0.dylib 9.0.0 (compatibility 9.0.0) /Applications/ZipCloud.app/Contents/Frameworks/libwx_macud_stc-2.8.0.dylib

0x12638000 - 0x1264600f +_animate.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_animate.so

0x12690000 - 0x1273afff +_objc.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/objc/_objc.so

0x127d3000 - 0x12801fe7 +pyexpat.so ??? (???) <89F4EEA2-0855-D9BC-E832-30D99F0C8FDC> /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/pyexpat.so

0x12849000 - 0x1284aff7 +_inlines.so ??? (???) /Applications/ZipCloud.app/Contents/Resources/lib/python2.7/lib-dynload/CoreFoundation/_inlines.so

0x1288f000 - 0x1288fff7 CoreFoundation.dylib 0.9.0 (compatibility 0.9.0) <6FCE24CE-7864-4A0A-D1BA-81CBEB8F9571> /System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFoundation.dylib

0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld

0x90003000 - 0x90025fef com.apple.DirectoryService.Framework 3.6 (621.12) /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService

0x900b0000 - 0x900edff7 com.apple.SystemConfiguration 1.10.8 (1.10.2) <50E4D49B-4F61-446F-1C21-1B2BA814713D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration

0x900f0000 - 0x901acfff com.apple.ColorSync 4.6.8 (4.6.8) <920DD017-8B41-7334-E554-A85DB99EBD5A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync

0x908db000 - 0x90bfbff3 com.apple.CoreServices.CarbonCore 861.39 (861.39) <5C59805C-AF39-9010-B8B5-D673C9C38538> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore

0x90bfc000 - 0x90d77fe7 com.apple.CoreFoundation 6.6.6 (550.44) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

0x90d78000 - 0x91072fef com.apple.QuickTime 7.6.6 (1789) <38255AA2-8087-5AE0-CA4B-1DDE611540B1> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime

0x91073000 - 0x91073ff7 com.apple.vecLib 3.6 (vecLib 3.6) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib

0x91074000 - 0x91074ff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <3891A689-4F38-FACD-38B2-4BF937DE30CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate

0x91075000 - 0x91090ff7 libPng.dylib ??? (???) <05445692-8AF7-CAB6-EBF5-1F7B3A906CCB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib

0x91091000 - 0x914c6ff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib

0x914cb000 - 0x914cbff7 liblangid.dylib ??? (???) /usr/lib/liblangid.dylib

0x914cc000 - 0x915cdfe7 libxml2.2.dylib 10.3.0 (compatibility 10.0.0) /usr/lib/libxml2.2.dylib

0x915ce000 - 0x915d2ff7 libGIF.dylib ??? (???) <3B4E6D0B-89EB-251F-3693-5187254D5BE2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib

0x915d3000 - 0x915d8ff7 com.apple.OpenDirectory 10.6 (10.6) <0603680A-A002-D294-DE83-0D028C6BE884> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory

0x915d9000 - 0x9161bff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <8A4721DE-25C4-C8AA-EA90-9DA7812E3EBA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib

0x9161c000 - 0x9168bff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <595A5539-9F54-63E6-7AAC-C04E1574B050> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib

0x916e3000 - 0x91727fe7 com.apple.Metadata 10.6.3 (507.15) <74F05E64-2A68-BA10-CCD4-128D164E5A0F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata

0x91757000 - 0x917f2fe7 com.apple.ApplicationServices.ATS 275.19 (???) <2E83B3E9-AF39-36FC-5D05-CC1E952098AB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS

0x917f3000 - 0x918fffe7 libGLProgrammability.dylib ??? (???) <6167CEB0-D8D6-C4D9-DD74-49755ADB540F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib

0x91a2e000 - 0x91a3fff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <3036AD83-4F1D-1028-54EE-54165E562650> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis

0x91a60000 - 0x91a69ff7 com.apple.DiskArbitration 2.3 (2.3) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration

0x921ad000 - 0x921f3ff7 libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib

0x921f4000 - 0x9225efe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib

0x93710000 - 0x93724fe7 libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib

0x93725000 - 0x93782ff7 com.apple.framework.IOKit 2.0 (???) <3DABAB9C-4949-F441-B077-0498F8E47A35> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit

0x9378e000 - 0x94071ff7 com.apple.AppKit 6.6.8 (1038.36) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

0x9408b000 - 0x9408bff7 com.apple.Carbon 150 (152) <8F767518-AD3C-5CA0-7613-674CD2B509C4> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon

0x942e7000 - 0x94379fe7 com.apple.print.framework.PrintCore 6.3 (312.7) <7410D1B2-655D-68DA-D4B9-2C65747B6817> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore

0x9437a000 - 0x9437dfe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib

0x94381000 - 0x94391ff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) /usr/lib/libsasl2.2.dylib

0x9439e000 - 0x943a0ff7 libRadiance.dylib ??? (???) <41E5C5F4-A4C6-0416-08D0-422C88088558> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib

0x943a1000 - 0x943c1fe7 libresolv.9.dylib 41.1.0 (compatibility 1.0.0) <8C2B5FA8-2469-21C7-D297-F95A0FFE5F19> /usr/lib/libresolv.9.dylib

0x9459e000 - 0x94760feb com.apple.ImageIO.framework 3.0.5 (3.0.5) <051752C3-8C25-CF4A-9BFB-C7B6D20E58E8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO

0x94761000 - 0x947fefe3 com.apple.LaunchServices 362.3 (362.3) <15B47388-16C8-97DA-EEBB-1709E136169E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices

0x947ff000 - 0x948abfe7 com.apple.CFNetwork 454.12.4 (454.12.4) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork

0x948ac000 - 0x948b6fe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound

0x949be000 - 0x94a9efe7 com.apple.vImage 4.1 (4.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage

0x94aa1000 - 0x94aa2ff7 com.apple.TrustEvaluationAgent 1.1 (1) <2D970A9B-77E8-EDC0-BEC6-7580D78B2843> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent

0x94aec000 - 0x94b66fff com.apple.audio.CoreAudio 3.2.6 (3.2.6) <156A532C-0B60-55B0-EE27-D02B82AA6217> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio

0x94c6e000 - 0x94cbeff7 com.apple.framework.familycontrols 2.0.2 (2020) <596ADD85-79F5-A613-537B-F83B6E19013C> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls

0x94cbf000 - 0x94cc0ff7 com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <93EC71F1-4D4E-F456-8EFE-32E7EFD7A064> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit

0x94cc1000 - 0x94d79feb libFontParser.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib

0x94ea7000 - 0x94eb5ff7 com.apple.opengl 1.6.14 (1.6.14) <82622F67-E032-0BF6-A78D-50B346E8D0FD> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL

0x94f6e000 - 0x94f79ff7 libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <287DECA3-7821-32B6-724D-AE03A9A350F9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib

0x9500b000 - 0x95131fe7 com.apple.WebKit 6534.52 (6534.52.7) /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit

0x9513b000 - 0x9513effb com.apple.help 1.3.2 (41.1) <8AC20B01-4A3B-94BA-D8AF-E39034B97D8C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help

0x951b9000 - 0x9523bffb SecurityFoundation ??? (???) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation

0x9523c000 - 0x9523cff7 com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices

0x952b9000 - 0x952bbff7 com.apple.securityhi 4.0 (36638) <6118C361-61E7-B34E-93DB-1B88108F8F18> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI

0x952bc000 - 0x95375fe7 libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <52438E77-55D1-C231-1936-76F1369518E4> /usr/lib/libsqlite3.dylib

0x95376000 - 0x95376ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib

0x959d7000 - 0x95d42ff7 com.apple.QuartzCore 1.6.3 (227.37) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore

0x95d43000 - 0x95d57ffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis

0x95da0000 - 0x95ecefe7 com.apple.CoreData 102.1 (251) <87FE6861-F2D6-773D-ED45-345272E56463> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData

0x95ecf000 - 0x95ee4fff com.apple.ImageCapture 6.1 (6.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture

0x95ee5000 - 0x95f49ffb com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering

0x95f4a000 - 0x95f8dff7 com.apple.NavigationServices 3.5.4 (182) <8DC6FD4A-6C74-9C23-A4C3-715B44A8D28C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices

0x96031000 - 0x96057ffb com.apple.DictionaryServices 1.1.2 (1.1.2) <43E1D565-6E01-3681-F2E5-72AE4C3A097A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices

0x96290000 - 0x962a2ff7 com.apple.MultitouchSupport.framework 207.11 (207.11) <6FF4F2D6-B8CD-AE13-56CB-17437EE5B741> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport

0x962a3000 - 0x962e7ff3 com.apple.coreui 2 (114) <2234855E-3BED-717F-0BFA-D1A289ECDBDA> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI

0x962f2000 - 0x9630aff7 com.apple.CFOpenDirectory 10.6 (10.6) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory

0x9630b000 - 0x96312ff3 com.apple.print.framework.Print 6.1 (237.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print

0x9633d000 - 0x9635efe7 com.apple.opencl 12.3.6 (12.3.6) /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL

0x9654b000 - 0x966cdfe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) /usr/lib/libicucore.A.dylib

0x966f0000 - 0x96788fe7 edu.mit.Kerberos 6.5.11 (6.5.11) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos

0x96789000 - 0x968c6fe7 com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <423BDE4D-5082-B6CA-BB2C-E22A037235A4> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox

0x968c7000 - 0x968c7ff7 com.apple.Cocoa 6.6 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa

0x968c8000 - 0x96becfef com.apple.HIToolbox 1.6.5 (???) <21164164-41CE-61DE-C567-32E89755CB34> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

0x96d3a000 - 0x96d6dff7 com.apple.AE 496.5 (496.5) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE

0x96d6e000 - 0x96dbbfeb com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <00A1A83B-0E7D-D0F4-A643-8C5675C2BB21> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer

0x96dbc000 - 0x96dcafe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <33C1B260-ED05-945D-FC33-EF56EC791E2E> /usr/lib/libz.1.dylib

0x96dcb000 - 0x96e0cff7 libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <80998F66-0AD7-AD12-B9AF-3E8D2CE6DE05> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib

0x96e0d000 - 0x96f01ff7 libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <061ABF36-8BA9-79C1-6CE7-EC69A4998F51> /usr/lib/libiconv.2.dylib

0x96f02000 - 0x96f0fff7 com.apple.NetFS 3.2.2 (3.2.2) /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS

0x97030000 - 0x97036fff com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels

0x97037000 - 0x97056ff7 com.apple.CoreVideo 1.6.2 (45.6) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo

0x97057000 - 0x9746dff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib

0x9746e000 - 0x981d6fe7 com.apple.WebCore 6534.52 (6534.52.11) <28DB69F5-ACE5-2A67-4DC1-39EED479B56B> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore

0x981d7000 - 0x98284fe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib

0x98285000 - 0x98290ff7 libGL.dylib ??? (???) <3E34468F-E9A7-8EFB-FF66-5204BD5B4E21> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib

0x98291000 - 0x9829dff7 libkxld.dylib ??? (???) <9A441C48-2D18-E716-5F38-CBEAE6A0BB3E> /usr/lib/system/libkxld.dylib

0x9829e000 - 0x9836ffe3 ColorSyncDeprecated.dylib 4.6.0 (compatibility 1.0.0) /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib

0x98370000 - 0x98374ff7 libGFXShared.dylib ??? (???) <09540618-2ED1-72C4-61CB-938B35927568> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib

0x983b3000 - 0x983b6ff7 libCoreVMClient.dylib ??? (???) <37F56237-4ABA-E5B5-968D-70FFE357E8E0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib

0x983b7000 - 0x983beff7 com.apple.agl 3.0.12 (AGL-3.0.12) /System/Library/Frameworks/AGL.framework/Versions/A/AGL

0x98684000 - 0x9868afe7 com.apple.CommerceCore 1.0 (9.1) <521D067B-3BDA-D04E-E1FA-CFA526C87EB5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore

0x9868b000 - 0x98733ffb com.apple.QD 3.36 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD

0x98734000 - 0x9875cff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <315D97C2-4E1F-A95F-A759-4A3FA5639E75> /usr/lib/libxslt.1.dylib

0x9875d000 - 0x9878eff7 libGLImage.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib

0x9878f000 - 0x98a00fef com.apple.Foundation 6.6.8 (751.63) <69B3441C-B196-F2AD-07F8-D8DD24E4CD8C> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

0x98be5000 - 0x98cbffff com.apple.DesktopServices 1.5.11 (1.5.11) <800F2040-9211-81A7-B438-7712BF51DEE3> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv

0x98cc0000 - 0x98d21fe7 com.apple.CoreText 151.12 (???) <98F53C15-1D29-A2B3-0717-5A26A2699163> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText

0x99190000 - 0x993f6ff7 com.apple.security 6.1.2 (55002) /System/Library/Frameworks/Security.framework/Versions/A/Security

0x9942f000 - 0x994ddff3 com.apple.ink.framework 1.3.3 (107) <233A981E-A2F9-56FB-8BDE-C2DEC3F20784> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink

0x994de000 - 0x99502ff7 libJPEG.dylib ??? (???) <7EBC924F-B2EE-68B0-4EA0-F99EF54F0306> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib

0x99522000 - 0x995a2feb com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5-F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit

0x995a3000 - 0x995f6ff7 com.apple.HIServices 1.8.3 (???) <1D3C4587-6318-C339-BD0F-1988F246BE2E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices

0x99857000 - 0x998a0fe7 libTIFF.dylib ??? (???) <4A3EF156-D4FE-95E2-FA05-7BD76FF27CEC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib

0x998a1000 - 0x99a48ff7 libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib

0x99a49000 - 0x99a53ffb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <7486003F-8FDB-BD6C-CB34-DE45315BD82C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition

0x99a61000 - 0x99aa4ff7 libGLU.dylib ??? (???) <6CC3CE6A-7024-C685-EADA-7F9DC27128E2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib

0x99d60000 - 0x99d60ff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices

0x99da9000 - 0x99dc5fe3 com.apple.openscripting 1.3.1 (???) <2A748037-D1C0-6D47-2C4A-0562AF799AC9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting

0x99dee000 - 0x99df2ff7 IOSurface ??? (???) <89D859B7-A26A-A5AB-8401-FC1E01AC7A60> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface

0x99df3000 - 0x9a5e2557 com.apple.CoreGraphics 1.545.0 (???) <1D9DC7A5-228B-42CB-7018-66F42C3A9BB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics

0x9a5e3000 - 0x9a82dfef com.apple.JavaScriptCore 6534.52 (6534.52.7) /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore

0x9a914000 - 0x9aa16fe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <015563C4-81E2-8C8A-82AC-31B38D904A42> /usr/lib/libcrypto.0.9.8.dylib

0x9aa4e000 - 0x9aa88ff7 libcups.2.dylib 2.8.0 (compatibility 2.0.0) <6875335E-0993-0D77-4E80-41763A8477CF> /usr/lib/libcups.2.dylib

0x9aa89000 - 0x9ab54fef com.apple.CoreServices.OSServices 359.2 (359.2) <7C16D9C8-6F41-5754-17F7-2659D9DD9579> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices

0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib

Model: MacPro4,1, BootROM MP41.0081.B07, 4 processors, Quad-Core Intel Xeon, 2.66 GHz, 6 GB, SMC 1.39f5

Graphics: NVIDIA GeForce GT 120, NVIDIA GeForce GT 120, PCIe, 512 MB

Memory Module: global_name

Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports

Network Service: Ethernet 1, Ethernet, en0

PCI Card: NVIDIA GeForce GT 120, sppci_displaycontroller, Slot-1

Serial ATA Device: HL-DT-ST DVD-RW GH41N

Serial ATA Device: WDC WD6400AAKS-41H2B0, 596.17 GB

USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfd300000 / 2

USB Device: U3 Cruzer Micro, 0x0781 (SanDisk Corporation), 0x5406, 0xfd310000 / 4

USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0221, 0xfd320000 / 3

USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x5a100000 / 2

USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8215, 0x5a110000 / 5

FireWire Device: built-in_hub, Up to 800 Mb/sec

    Take a look at the help files for wxStackWalker and
    wxApp::OnFatalException they may suggest a strategy to include some
    code that will at least let you release a version of the program
    that will provide some useful debug information to allow you to find
    the problem. Unfortunately most users do not give any indication of
    having read the error messages that are provided.

    Gadget/Steve

I've read that in order for wxApp::OnFatalException to be called I need
to turn on HandleFatalExceptions using this
<Application initialization and termination; but
I can't find that method/function anywhere?

I've googled it a bit and is it required to build wx with a certain flag
set to get this function?

It would require some changes to expose that to Python, and it probably wouldn't give you any more information than what you're already getting from the Apple crash report. IMO OnFatalException is really just intended to allow the app to be a little more user-friendly about its impending death, and perhaps to help the developer a little by having a good place to set a debugger breakpoint. However there isn't much that can be done in Python when the fault is happening in the C/C++ code.

I have the full error report if that gives any clues? Although it doesn't mean an awful lot to me :stuck_out_tongue:

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libwx_macud-2.8.0.dylib 0x0c46a713 macPostedEventCallback + 17
1 com.apple.CoreFoundation 0x90c3b42b __CFRunLoopDoSources0 + 1563
2 com.apple.CoreFoundation 0x90c38eef __CFRunLoopRun + 1071
3 com.apple.CoreFoundation 0x90c383c4 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x90c381f1 CFRunLoopRunInMode + 97
5 com.apple.Foundation 0x98834455 -[NSConcreteTask waitUntilExit] + 273
6 ...honmac.unspecified.ZipCloud 0x00004aa8 start + 13256
7 ...honmac.unspecified.ZipCloud 0x00006009 main + 1449
8 ...honmac.unspecified.ZipCloud 0x000017e2 start + 258
9 ...honmac.unspecified.ZipCloud 0x00001709 start + 41

This indicates that the crash is happening in macPostedEventCallback, which looks like this:

void macPostedEventCallback(void *unused)
{
     wxTheApp->ProcessPendingEvents();
}

So I would take a closer look at, and experiment with any code that is doing something funny with the application object, such as creating new instances (there should be only 1) using it after it may have been cleaned up, or etc. Also look at anywhere that you are doing wx.PostEvent or AddPendingEvent, and keep in mind that wx.CallAfter also makes use of pending events.

···

On 4/13/12 3:22 AM, Paul Wiseman wrote:

--
Robin Dunn
Software Craftsman

Take a look at the help files for wxStackWalker and

wxApp::OnFatalException they may suggest a strategy to include some

code that will at least let you release a version of the program

that will provide some useful debug information to allow you to find

the problem.  Unfortunately most users do not give any indication of

having read the error messages that are provided.



Gadget/Steve

I’ve read that in order for wxApp::OnFatalException to be called I need

to turn on HandleFatalExceptions using this

<http://docs.wxwidgets.org/2.8/wx_appinifunctions.html#wxhandlefatalexceptions> but

I can’t find that method/function anywhere?

I’ve googled it a bit and is it required to build wx with a certain flag

set to get this function?

It would require some changes to expose that to Python, and it probably wouldn’t give you any more information than what you’re already getting from the Apple crash report. IMO OnFatalException is really just intended to allow the app to be a little more user-friendly about its impending death, and perhaps to help the developer a little by having a good place to set a debugger breakpoint. However there isn’t much that can be done in Python when the fault is happening in the C/C++ code.

How can I enable it? It might be useful to be able to log out as much as possible to help find the cause of the problem

I have the full error report if that gives any clues? Although it doesn’t mean an awful lot to me :stuck_out_tongue:

Thread 0 Crashed: Dispatch queue: com.apple.main-thread

0 libwx_macud-2.8.0.dylib 0x0c46a713 macPostedEventCallback + 17

1 com.apple.CoreFoundation 0x90c3b42b __CFRunLoopDoSources0 + 1563

2 com.apple.CoreFoundation 0x90c38eef __CFRunLoopRun + 1071

3 com.apple.CoreFoundation 0x90c383c4 CFRunLoopRunSpecific + 452

4 com.apple.CoreFoundation 0x90c381f1 CFRunLoopRunInMode + 97

5 com.apple.Foundation 0x98834455 -[NSConcreteTask waitUntilExit] + 273

6 …honmac.unspecified.ZipCloud 0x00004aa8 start + 13256

7 …honmac.unspecified.ZipCloud 0x00006009 main + 1449

8 …honmac.unspecified.ZipCloud 0x000017e2 start + 258

9 …honmac.unspecified.ZipCloud 0x00001709 start + 41

This indicates that the crash is happening in macPostedEventCallback, which looks like this:

void macPostedEventCallback(void *unused)

{

wxTheApp->ProcessPendingEvents();

}

So I would take a closer look at, and experiment with any code that is doing something funny with the application object, such as creating new instances (there should be only 1) using it after it may have been cleaned up, or etc. Also look at anywhere that you are doing wx.PostEvent or AddPendingEvent, and keep in mind that wx.CallAfter also makes use of pending events.

I found the cause of this one, although I know there is another cause of exc_bad_access that I’ve not seen the error report of yet that I still need to find.

This one was happening when importing AppKit and running after being built with py2app 0.6.4, but it works fine in 0.6.3- so nothing to do with wx :slight_smile:

···

On 13 April 2012 18:56, Robin Dunn robin@alldunn.com wrote:

On 4/13/12 3:22 AM, Paul Wiseman wrote:

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

I found the cause of this one, although I know there is another cause of exc_bad_access that I’ve not seen the error report of yet that I still need to find.

This one was happening when importing AppKit and running after being built with py2app 0.6.4, but it works fine in 0.6.3- so nothing to do with wx :slight_smile:

Actually I was getting confused with another problem I was having, it wont build at all on 0.6.4 for reasons I’m not sure of yet, and I get the exc_bad_access when importing AppKit after building on 0.6.3