Re: NSSavePanel problem
Re: NSSavePanel problem
- Subject: Re: NSSavePanel problem
- From: Andy Lee <email@hidden>
- Date: Sun, 24 Feb 2013 08:31:19 -0500
On Feb 24, 2013, at 12:50 AM, Quincey Morris <email@hidden> wrote:
> About the only plausible way an app's code might affect something like this, which is straightforwardly deep in NSSavePanel code, might be if there was an accessory view doing something wrong. But even then, it seems unlikely that merely popping up a standard menu control would crash like this.
Thanks.
> 2. I have actually, maybe 3-4 times since 10.8 was released, had a non-sandboxed app crash on displaying an open/save panel, though not this particular crash. Such crashes are repeatable until you futz around in the panel to get past them, then they disappear without a trace. I've never found an iota of evidence that the application code was at fault.
If Peter can somehow futz around such that the crash goes away, that would be pretty good additional support for this theory. I'd suggest gathering as much data as possible first, while the bug is repeatable. Like you said, maybe it's something in prefs or in the history items that would show up in the popup if it wasn't crashing. So, save copies of the files where that info is stored. Maybe there will be a clue in the diffs of those files after the bug goes away, maybe not.
I also agree with Eric Gorr that this may be a good opportunity to create a reproducible demo app which proves the problem exists. Instead of creating a new app, I'd suggest modifying this app to do nothing except open the save panel.
I still don't see the objection to checking for memory errors. I can't imagine a situation where I have a mysterious, perfectly repeatable crasher and I *don't* at least rule out zombies.
--Andy
_______________________________________________
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