Open menu crashes Cocoa app targeting SL
Open menu crashes Cocoa app targeting SL
- Subject: Open menu crashes Cocoa app targeting SL
- From: "McLaughlin, Michael P." <email@hidden>
- Date: Fri, 03 Aug 2012 13:27:53 +0000
- Thread-topic: Open menu crashes Cocoa app targeting SL
My app, created in Lion but targeting SL seems to work fine except that, when actually run in Snow Leopard, it crashes whenever Open or Open Recent is selected. The crash log gives
0 com.apple.AppKit 0x00007fff885e49de -[NSImage _allocAuxiliaryStorage] + 158
1 com.apple.AppKit 0x00007fff88768f05 -[NSImage copyWithZone:] + 66
2 com.apple.AppKit 0x00007fff889739e5 -[NSFileLocationComponent iconAsAttributedString] + 118
3 com.apple.AppKit 0x00007fff88958a8a +[NSDocumentController(NSInternal) _recentMenuItemTitlesFromLocationComponentChains:includingIcons:] + 1341
4 com.apple.AppKit 0x00007fff8895307b -[NSDocumentController(NSInternal) _populateOpenRecentMenu:includingIcons:] + 454
5 com.apple.AppKit 0x00007fff88951c15 -[NSDocumentControllerOpenRecentMenuDelegate updateMenu:withEvent:withFlags:] + 42
6 com.apple.AppKit 0x00007fff88777c0f -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 433
7 com.apple.AppKit 0x00007fff8877799c NSSLMMenuEventHandler + 321
Everything is working fine in Lion. Also, in SL, I can drag-and-drop an input file or double-click it to open the app and that works as well. It seems that something about the SL file dialog, which I have not changed in any way, is amiss. Note: I did not subclass NSDocumentController, either.
Any hints from anyone?
TIA.
--
Michael P. McLaughlin
_______________________________________________
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