Crash in NSOpenPanel
Crash in NSOpenPanel
- Subject: Crash in NSOpenPanel
- From: Richard Knight <email@hidden>
- Date: Mon, 20 Mar 2006 12:18:25 +0000
Hi,
I'm trying to debug a particularly horrific looking crash, and am a
bit lost as to where to look next... I'm getting this exception:
2006-03-20 10:48:20.194 App[12885] *** -[_NSViewAuxiliary
childViewDidResize:]: selector not recognized [self = 0x21c8360]
2006-03-20 10:48:20.194 App[12885] Exception raised during posting of
notification. Ignored. exception: *** -[_NSViewAuxiliary
childViewDidResize:]: selector not recognized [self = 0x21c8360]
raised when I hit 'Open...' from my app. Run in the debugger, it
continues to work. Run in a release build, it crashes...
It doesn't always happen - and once the open panel has opened once
successfully, then it seems to work fine for the next half hour or so
(even if i quit and restart the app any number of times). I don't
override any of the default open processing in NSDocumentController,
so this is all deep within framework code that I've gone nowhere near
as far as I can tell.
If I set a breakpoint on [NSException raise], I get the appended
callstack, which isn't much help either...
Any ideas about where I should look next? Presumably something's
going awry long before the point the open panel is launched, but I'm
out of ideas as to how to track it down.
Any ideas at all, no matter how random, would be great :)
Thanks!
Rich.
#0 0x909c8cc0 in _objc_trap
#1 0x909c8c38 in _objc_error
#2 0x909c8bc4 in __objc_error
#3 0x928e6cf8 in _nsnote_callback
#4 0x907844c4 in __CFXNotificationPost
#5 0x9077c5a0 in _CFXNotificationPostNotification
#6 0x928d1100 in -[NSNotificationCenter
postNotificationName:object:userInfo:]
#7 0x936bb6c4 in -[NSView _postFrameChangeNotification]
#8 0x936b93a0 in -[NSView setFrameOrigin:]
#9 0x93781938 in -[NSScroller setFrameOrigin:]
#10 0x93738e9c in -[NSScrollView setHasVerticalScroller:]
#11 0x9380d438 in -[NSNavOutlineView tile]
#12 0x93733764 in -[NSTableView _tileAndRedisplayAll]
#13 0x936a7a40 in -[NSView _setSuperview:]
#14 0x937354b4 in -[NSTableView _setSuperview:]
#15 0x936a84f0 in -[NSView addSubview:]
#16 0x936a74b4 in -[NSClipView setDocumentView:]
#17 0x936a72d0 in -[NSScrollView setDocumentView:]
#18 0x936a6f98 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:]
#19 0x937f9ba8 in -[NSNib instantiateNibWithExternalNameTable:]
#20 0x937f9898 in -[NSNib instantiateNibWithOwner:topLevelObjects:]
#21 0x9380d2d0 in +[NSNavView navView]
#22 0x9380c5b4 in -[NSSavePanel(NSSavePanelLayout) _initContentView]
#23 0x9380c12c in -[NSSavePanel
initWithContentRect:styleMask:backing:defer:]
#24 0x9380bfcc in +[NSSavePanel _crunchyRawUnbonedPanel]
#25 0x9380bea4 in -[NSDocumentController _setupOpenPanel]
#26 0x9380be0c in -[NSDocumentController URLsFromRunningOpenPanel]
#27 0x939c535c in -[NSDocumentController openDocument:]
#28 0x9372e270 in -[NSApplication sendAction:to:from:]
#29 0x93788aa4 in -[NSMenu performActionForItemAtIndex:]
#30 0x93788828 in -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:]
#31 0x9368fb20 in _NSHandleCarbonMenuEvent
#32 0x9368d484 in _DPSNextEvent
#33 0x9368cdc8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#34 0x9368930c in -[NSApplication run]
#35 0x93779e68 in NSApplicationMain
#36 0x00002dac in main at Entry.mm:57
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden