• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in NSOpenPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in NSOpenPanel


  • Subject: Re: Crash in NSOpenPanel
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 21 Mar 2006 16:45:23 -0800


On Mar 20, 2006, at 4:18 AM, Richard Knight wrote:

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 :)

Are you using an aux view for the save/open panel? If so, it may be the culprit.
Debugging suggestions:
Use the arguments: -NSZombieEnabled YES
Set the env variable: MallocScribble YES


--corbin
_______________________________________________
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


References: 
 >Crash in NSOpenPanel (From: Richard Knight <email@hidden>)

  • Prev by Date: Re: Tables created in code have different row height from those created in IB
  • Next by Date: Re: Tables created in code have different row height from those created in IB
  • Previous by thread: Crash in NSOpenPanel
  • Next by thread: Distributed Objects over a unix domain socket
  • Index(es):
    • Date
    • Thread