Re: NSFontPanel swamping the responder chain (and crashing)
Re: NSFontPanel swamping the responder chain (and crashing)
- Subject: Re: NSFontPanel swamping the responder chain (and crashing)
- From: Kyle Sluder <email@hidden>
- Date: Wed, 20 May 2015 11:47:20 -0500
On Tue, May 19, 2015, at 09:26 PM, Graham Cox wrote:
>
> Crashed Thread: 0 Dispatch queue: com.apple.main-thread
>
> Exception Type: EXC_BREAKPOINT (SIGTRAP)
> Exception Codes: 0x0000000000000002, 0x0000000000000000
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0 com.apple.CoreFoundation 0x00007fff91e9fd20
> ___forwarding___ + 768
> 1 com.apple.CoreFoundation 0x00007fff91e9f998
> _CF_forwarding_prep_0 + 120
> 2 com.apple.AppKit 0x00007fff8cdf23c7 -[NSWindow
> supplementalTargetForAction:sender:] + 240
> 3 com.apple.AppKit 0x00007fff8cdf1f74
> _objectFromResponderChainWhichRespondsToAction + 227
>
> At line 2, it’s clearly trying to access a NSWindow zombie.
No, the zombie is something that the window messages when trying to
figure out what to return from -supplementalTargetForAction:.
Depending on the message being dispatched and who responds to that
action, this method might return the window's delegate, its window
controller, or its document. So I'd start by making sure none of those
objects have been zombied.
--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