Re: Intermittent crash that's driving me nuts... any ideas?
Re: Intermittent crash that's driving me nuts... any ideas?
- Subject: Re: Intermittent crash that's driving me nuts... any ideas?
- From: Chris Suter <email@hidden>
- Date: Tue, 19 Dec 2006 14:15:57 +1100
On 19/12/2006, at 2:04 PM, a.d. jensen wrote:
I've a program that is basically a mini browser, with only one
window, with a Webview in it. A week or so ago, we added a second
window to the program, and now, if you have the two windows open,
about 15% of the time, it will crash when you quit. Unfortunately,
it's dying deep in the [NSApplication terminate:] method, so I'm
really not sure what I might be goofing up. It's always on a
"undoManager" line, but I don't do anything with undoManager, and
even tried setting it to nil with the [NSDocument setUndoManager:]
without making a difference.
I'd put money on it being a double-free problem.
Run your program with NSZombiesEnabled.
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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