objective c - Unknown crashes, not so informative stack trace (iOS) -


we made crash logging system logs crashes , let server store them. we're getting bunch of crashes don't know causes it. game's been running months , never saw of these crashes while game running (debugging, development stage, etc).

strangely, we're getting bunch of these errors. tried looking @ them in code seems they're okay. if weren't should crash right away.

the thing we're getting stack trace not informative. can't clue stack trace since doesn't include in our code.

i want know why crash happens , why gives me stack trace. posted crash log below. thanks.

+++++++++++++++++++++++++++++++++++++++++++ #1 - mutating method sent immutable object (dictionary)  -[__nscfdictionary removeobjectforkey:]: mutating method sent immutable object (      \4   libc++abi.dylib                     0x30e093c5 _zl19safe_handler_callerpfvve + 76\"     \"5   libc++abi.dylib                     0x30e09451 _zdlpv + 0\"     \"6   libc++abi.dylib                     0x30e0a825 __cxa_current_exception_type + 0\"     \"7   libobjc.a.dylib                     0x3687d2a9 objc_exception_rethrow + 12\"     \"8   corefoundation                      0x353ac50d cfrunlooprunspecific + 404\" };  +++++++++++++++++++++++++++++++++++++++++++ #2 - inserting nil object in array   *** -[__nsarraym insertobject:atindex:]: object cannot nil (      \4   libc++abi.dylib                     0x380eb3c5 _zl19safe_handler_callerpfvve + 76\"     \"5   libc++abi.dylib                     0x353e5451 _zdlpv + 0\"     \"6   libc++abi.dylib                     0x353e6825 __cxa_current_exception_type + 0\"     \"7   libobjc.a.dylib                     0x35d1b2a9 objc_exception_rethrow + 12\"     \"8   corefoundation                      0x3776b50d cfrunlooprunspecific + 404\" };   +++++++++++++++++++++++++++++++++++++++++++ #3 - array out of bounds  *** -[__nsarrayi objectatindex:]: index 1 beyond bounds [0 .. 0] (      \4   libc++abi.dylib                     0x353e53c5 _zl19safe_handler_callerpfvve + 76\"     \"5   libc++abi.dylib                     0x353e5451 _zdlpv + 0\"     \"6   libc++abi.dylib                     0x353e6825 __cxa_current_exception_type + 0\"     \"7   libobjc.a.dylib                     0x35d1b2a9 objc_exception_rethrow + 12\"     \"8   corefoundation                      0x3776b50d cfrunlooprunspecific + 404\" }; 

it looks unhanded objective-c exception, being rethrown run loop , calls terminate. loses stack backtrace information.

how logging application crashes? i'm assuming haven't registered own exception handler using nssetuncaughtexceptionhandler? allow inspect stack find real cause of problem. there scripts around symbolicate stack dumps - check apple docs details.

this similar problem:


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -