Re: Don't you hate it when Appkit crashes?
Re: Don't you hate it when Appkit crashes?
- Subject: Re: Don't you hate it when Appkit crashes?
- From: Rob Petrovec <email@hidden>
- Date: Sat, 13 Feb 2016 04:35:44 -0700
I agree that this is likely not an issue with AppKit or Core Animation. I’d start by search your code for ‘saveDocumentAs:’. Whatever object that is supposed to be getting called on is likely the object that is being smashed. You could also try running with the Static Analyzer & Address Sanitizer in Xcode and see if it comes up with anything. Good luck...
—Rob
> On Feb 12, 2016, at 4:13 PM, Quincey Morris <email@hidden> wrote:
>
> On Feb 12, 2016, at 14:58 , Graham Cox <email@hidden> wrote:
>>
>> 0 libobjc.A.dylib 0x00007fff9673e4dd objc_msgSend + 29
>> 1 com.apple.QuartzCore 0x00007fff9550eb45 CA::Layer::setter(unsigned int, _CAValueType, void const*) + 165
>
> Unfortunately, it’s not obvious that it’s an AppKit-caused crash, or anything other than a memory management bug in your code.
>
> Think about scenarios. You could have had a reference to an object that you released, causing deallocation. That memory block is re-allocated for something in AppKit, then you accidentally release your unowned reference again. Hilarity pursues.
>
> _______________________________________________
>
> 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
_______________________________________________
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