objective c - Uncaught system exception: signal 11 -
Some of my users have reported that sometimes they are getting the above error Unfortunately I do not have anything from the log file Can tell. Maybe somewhere in the code an object over-release Can I catch it by holding it in some way?
Generally I was able to do Instruments and NSFobian but unfortunately it is not on my machine. Is there a chance to log on the object?
1 Exception Handling 0x00000001000879e2 - [NSEXSHandlerHandler_handleException: Mask:] + 168 2 Exception Handling 0x00000001000877ba NSE Exposure Handler Indexed SignalHandler + 35 3 libsystem_c.dylib 0x00007fff9836d8ea _sigtramp + 26 4 ??? 0x0000000001440013 0x0 + 21,233,683 5 CoreFoundation 0x00007fff985b525f - [NSArray initWithArray: Range: copyItems:] + 591 6 AppKit 0x00007fff94a193f3 recursivelyEncodeInvalidPersistentState + 1118 7 AppKit 0x00007fff94a194a6 recursivelyEncodeInvalidPersistentState + 1297 8 AppKit 0x00007fff94a194a6 recursivelyEncodeInvalidPersistentState + 1297 9 AppKit 0x00007fff94a194a6 recursivelyEncodeInvalidPersistentState + 1297 10 AppKit 0x00007fff94a194a6 recursivelyEncodeInvalidPersistentState + 1297 11 AppKit 0x00007fff94a178aa - [NSPersistentUIManager flushAllChangesOptionallyWaitingUntilDone: updatingSnapshots:] 1037 12 AppKit 0x00007fff94a17467 - [NSPersistentUIManager flushPersistentStateAndClose: waitingUntilDone:] 180 13 AppKit 0x00007fff94a7eba5 - [NSApplication end:] 1701 14 AppKit 0x00007fff94aa357e - [NSApplication _terminateFromSender: askIfShouldTerminate: saveWindows:] 280 15 Aepakit 0x00007fff94aad4a2 __52- [NSAP plucked Or (Ansapleiventhandling) _hedelaakyuet] _blok_invoki + 46 16 libdispatch.dylib 0x00007fff8bd9af01 _dispatch_call_block_and_release + 15 17 libdispatch.dylib 0x00007fff8bd970b6 _dispatch_client_callout + 8 18 libdispatch.dylib 0x00007fff8bd9c0c8 _dispatch_main_queue_callback_4CF + 275 19 CoreFoundation 0x00007fff985a20fe __CFRunLoopRun + 1614 20 CoreFoundation 0x00007fff985a16b2 CFRunLoopRunSpecific + 290 21 HIToolbox 0x00007fff93fbf0a4 RunCurrentEventLoopInMode + 209 22 HIToolbox 0x00007fff93fbed84 ReceiveNextEventCommon + 166 23 HIToolbox 0x00007fff93fbecd3 BlockUntilNextEventMatchingListInMode + 62 24 AppKit 0x00007fff94858613 _DPSNextEvent + 685 25 AppKit 0x00007fff94857ed2 - [NSApplication nextEventMatchingMask: untilDate: inMode: dequeue:] 128 26 AppKit 0x00007fff9484f283 - [NSApplication run] 517 27 AppKit 0x00007fff947f3cb6 NSApplicationMain + 869 < / Sign 11 means that you have a partition error somewhere ... then it can be related to something else -
In the form of C ozgec t, in this case, you will more likely be an exception (even if a segfault may occur).
Then NSZombieEnabled will not help here Try to know about the signal signal in the signal. You can define a handler for signal 11 ( SIGSEGV ), so you can log some things. (very) basically:
#include & lt; Signal.h & gt; # Include & lt; Stdlib.h & gt; Fixed zero __ handler (int sign); Steady zero __ handler (int sig) {/ * debug ... * / ext (xitfile ur); } Int main (zero) {sign (SIGSEGV, __handler); Return 0; }
Comments
Post a Comment