Re: crash in showOpenPanel on ML
Re: crash in showOpenPanel on ML
- Subject: Re: crash in showOpenPanel on ML
- From: Kyle Sluder <email@hidden>
- Date: Sun, 05 Aug 2012 10:59:54 -0700
On Aug 2, 2012, at 6:35 PM, Koen van der Drift <email@hidden> wrote:
> When the code executes, I briefly see the open panel window, but then it crashes immediately, even before I can select a file. The error I get is for me not clear:
>
> Thread 1, Queue : com.apple.main-thread
> Thread 2, Queue : (null)
> Thread 3, Queue : com.apple.libdispatch-manager
> Thread 4, Queue : (null)
> Thread 5 com.apple.NSURLConnectionLoader, Queue : (null)
> Thread 6, Queue : (null)
> Thread 7, Queue : quicklook.pluginload
> #0 0x00007fff92e3aab8 in __cxa_throw ()
> #1 0x00007fff8a9c883a in Security::MacOSError::throwMe(int) ()
> #2 0x00007fff8a8fb224 in Security::CodeSigning::SecStaticCode::signature() ()
> #3 0x00007fff8a8fb449 in Security::CodeSigning::SecStaticCode::verifySignature() ()
As Andy points out, you're not actually crashing. You're just breaking in the debugger on a C++ exception throw. C++ code often uses exceptions for flow control. It's harmless but annoying to the Cocoa programmer.
Log a bug against the Security framework throwing exceptions, and make sure your Xcode breakpoint is set only to "All Objective-C exceptions" instead of "All Exceptions."
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden