[gtk-osx-users] Crash in libobjc.A.dylib after processing the NSApplicationOpenFile signal

Running on Snow Leopard and working with http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules and gtk-mac-integration-1.0.1

After my code has handled the NSApplicationOpenFile signal, and processed the file, my application crashes.

Any ideas gratefully received

The top few lines in the crash report are
Application Specific Information:
objc_msgSend() selector name: countByEnumeratingWithState:objects:count:
Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                    0x9499ff87 objc_msgSend + 23
1   com.apple.AppKit                   0x9620d969 -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 883
2   com.apple.AppKit                   0x9614afe0 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 236
3   com.apple.Foundation               0x9a67b1f8 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
4   com.apple.Foundation               0x9a67afbc _NSAppleEventManagerGenericHandler + 228
5   com.apple.AE                       0x93137f5c aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 166
6   com.apple.AE                       0x93137e5b dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 43
7   com.apple.AE                       0x93137d65 aeProcessAppleEvent + 197
8   com.apple.HIToolbox                0x9a3470f5 AEProcessAppleEvent + 50
9   com.apple.AppKit                   0x95fc47d2 _DPSNextEvent + 1420

The full crash report is at http://fpaste.org/7kVX/
Cut down Vala code is at http://fpaste.org/oPbR/
the generated c code i
_tmp3_ = g_signal_connect (self->osxApp, "NSApplicationOpenFile", (GCallback) identity_manager_app_on_osx_open_files, self);

Vapi file is at http://fpaste.org/cDyT/


Pete Fotheringham
Codethink Ltd

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]