Re: NSSavePanel crashing on instantiation [SOLVED].
Re: NSSavePanel crashing on instantiation [SOLVED].
- Subject: Re: NSSavePanel crashing on instantiation [SOLVED].
- From: Dominic Feira <email@hidden>
- Date: Mon, 14 Mar 2005 22:15:41 -0500
I found the problem. Buffer overrun in one of my threads. I was
stomping on the other threads memory and things were going kablooey all
over the place. :)
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
On Mar 14, 2005, at 4:48 PM, j o a r wrote:
On 2005-03-14, at 22.34, Dominic Feira wrote:
I am simply throwing up a save panel and doing a runModal on it. I'm
not doing anything fancy at all. I am getting a lot of crashes (not
always) in:
The crashes that are not in this method, where do they pop up?
21 com.apple.AppKit 0x92f5852c +[NSSavePanel
_crunchyRawUnbonedPanel] + 0x7c
I hope you got the Monty Python reference? :-)
<http://orangecow.org/pythonet/sketches/crunchy.htm>
Could you show a bit more of the backtrace btw.?
Any ideas what could be causing this? The app is multithreaded.
However, I have been careful to do all gui operations only in the
main thread. That said, this call to NSSavePanel is done in a method
that is called with
performSelectorOnMainThread:withObject:waitUntilDone:
waitUntilDone: TRUE is used of course.
Why "of course"? Is the other thread going to do anything with the
data returned from the save panel?
j o a r
_______________________________________________
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