Re: applicationShouldOpenUntitledFile: activity causes AE-related crash?!?
Re: applicationShouldOpenUntitledFile: activity causes AE-related crash?!?
- Subject: Re: applicationShouldOpenUntitledFile: activity causes AE-related crash?!?
- From: Allan Odgaard <email@hidden>
- Date: Sun, 26 Sep 2004 04:19:01 +0200
On 24. Sep 2004, at 5:02, Allan Odgaard wrote:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x00a6d008
Thread 0 Crashed:
0 com.apple.Foundation NSPopAutoreleasePool
Okay, the line causing the problem seems to be:
[[NSSpellChecker sharedSpellChecker] closeSpellDocumentWithTag:tag];
If I remove it, there is no crash. If I surround it with a local auto
release pool, the crash happens immediately.
If I add an NSLog() to the function that calls this method, it works --
so this is probably a GCC bug and not a Cocoa bug.
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about
programming
_______________________________________________
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