• 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
Understanding crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Understanding crashes


  • Subject: Understanding crashes
  • From: Daniel Rasmussen <email@hidden>
  • Date: Tue, 12 Jul 2005 01:24:45 -0500

I've been getting crashes that I can't seem to figure out, and wondering if there are tips for finding them that I might have missed in the archives or various other web resources. I've recently added an outline view containing attributed strings formatted using WebKit. Additionally, I've added a little bit of functionality to the menus. Until now, I had not done much work on the interface for my project. These two additions seem to cause sporadic crashes. WebCore related crashes sometimes come up with KJS and [DOMNode dealloc]. Some others seem to occur with the menu, usually something like [NSMenu performKeyEquivalent:]. The vast majority simply report "Unable to disassemble objc_msgSend_rtp."

Recognizing that random crashes were likely something getting released too much, I learned about the NSDebug environmental variables, hoping that it would make such debugging easier than commenting releases out and slowly adding them in. However, NSDebug never helped me. So, I went through my project, and eventually had commented out every free(), delete, release, or autorelease in the code. Still, I get these crashes.

Are there common mistakes with outline views, attributed strings, or menus that might lead to this? Or are there other tools I might use to track down what's wrong in my code?

Thanks a lot,
Daniel



_______________________________________________
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


  • Follow-Ups:
    • Re: Understanding crashes
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: [newbie] Cocoa UI and UTF-8
  • Next by Date: Re: [newbie] Cocoa UI and UTF-8
  • Previous by thread: Re: [newbie] Cocoa UI and UTF-8
  • Next by thread: Re: Understanding crashes
  • Index(es):
    • Date
    • Thread