On Mar 24, 2014, at 10:25 PM, Appa Rao Mulpuri <appar...@ivycomptech.com> wrote:

> What is the best way to understand the Cocoa application crashes?  Some times 
> my application is getting crashed, while clicking on the NSButtons, but it is 
> not always and very rarely. It is happening in the production, not in the 
> staging environment.

Well, look at what’s in the backtrace:

> 0   CoreFoundation                      0x00007fff8a866b06 
> __exceptionPreprocess + 198
> 1   libobjc.A.dylib                     0x00007fff8e2ba3f0 
> objc_exception_throw + 43
> 2   CoreFoundation                      0x00007fff8a8faf49 -[NSException 
> raise] + 9

It’s throwing an exception. Somewhere else in the crash report it should say 
what type of exception it is.

> 4   libsystem_c.dylib                   0x00007fff8770394a _sigtramp + 26
> 5   ???                                 0x0000000000000000 0x0 + 0
> 6   AppKit                              0x00007fff8d3ed7b7 -[NSControl 
> sendAction:to:] + 85

Since the exception is triggered by a control sending its action, the problem 
is likely that the object that’s the target of the control got deallocated.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to