Re: notAKeyMarker crash
Re: notAKeyMarker crash
- Subject: Re: notAKeyMarker crash
- From: Kyle Sluder <email@hidden>
- Date: Mon, 05 Mar 2012 23:06:15 -0800
On Mar 5, 2012, at 10:01 PM, Gideon King <email@hidden> wrote:
> Ah, of course - silly me. Working on assumptions instead of using my eyes.
>
> So the relevant code is this:
> NSMapInsertKnownAbsent(windowsForSheets, sheet, docWindow);
> and seeing as windowForSheets is created with:
> windowsForSheets = NSCreateMapTable(NSObjectMapKeyCallBacks, NSObjectMapValueCallBacks, 0);
> and NSObjectMapKeyCallBacks has a nil notAKeyMarker…
>
> So if the sheet is nil, then an exception is raised. Not sure how that would be possible in my code, but at least I now understand what is going on.
If your further research doesn't point to an obvious error on your part, please file an issue on our GitHub project: https://github.com/omnigroup/OmniGroup/issues
--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