• 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
Debugging objc_msg errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging objc_msg errors


  • Subject: Debugging objc_msg errors
  • From: John Nairn <email@hidden>
  • Date: Wed, 14 Jan 2009 11:04:55 -0800

I occasionally get difficult-to-debug crashes where that last thing in the crash log is a message being sent, which ends up being a message sent to an object that has been released (I think it is objc_msg, but I am not looking at a crash log now). These happen much more often in Leopard than in Tiger.

Since I have many messages going to many objects, it can take me a long time to track these problems down (in one case several weeks). I am fairly certain it is not a notification message because I also remove objects as observers before they are deallocated. Is there a debugging tool that can provide more information about what message was sent to what object at the time of the crash?

---------------
John Nairn
GEDitCOM - Genealogy Software for the Macintosh
http://www.geditcom.com


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Debugging objc_msg errors
      • From: Corbin Dunn <email@hidden>
    • Re: Debugging objc_msg errors
      • From: Jeff Johnson <email@hidden>
  • Prev by Date: Re: NSTableView
  • Next by Date: Re: Debugging objc_msg errors
  • Previous by thread: Re: Enable Scripting Failing - Missing something? Based on SimpleScripingVerbs sample
  • Next by thread: Re: Debugging objc_msg errors
  • Index(es):
    • Date
    • Thread