• 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: applicationShouldOpenUntitledFile: activity causes AE-related crash?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >applicationShouldOpenUntitledFile: activity causes AE-related crash?!? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Multiple Inheritence (Was: Is _objc_flush_caches_(Class) necessary to swizzle methods?)
  • Next by Date: Doc-Based App Inspector vs Cocoa Binding
  • Previous by thread: applicationShouldOpenUntitledFile: activity causes AE-related crash?!?
  • Next by thread: How to force cursor rect invalidation in view subclass when value changes
  • Index(es):
    • Date
    • Thread