• 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: runModalForWindow crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: runModalForWindow crash


  • Subject: Re: runModalForWindow crash
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 25 Jan 2010 10:06:15 -0700

On Jan 24, 2010, at 6:14 PM, Jo Meder wrote:

> My guess is that [NSApplication runModalForWindow:] is trying to send a message to my window object which has been released by now perhaps? I think I'm probably not getting something to do with object lifetimes here or something. Does anyone have any ideas what the problem might be?

Try running your program in Instruments with the zombies instrument. Programs crash in objc_msgSend() when something sends a message to a deallocated object. The zombies instrument will catch this and show you the retain/release history of the bad object.

Nick Zitzmann
<http://www.chronosnet.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: runModalForWindow crash
      • From: Jo Meder <email@hidden>
References: 
 >runModalForWindow crash (From: Jo Meder <email@hidden>)

  • Prev by Date: Re: Posting notifications
  • Next by Date: Re: Decoder problem
  • Previous by thread: runModalForWindow crash
  • Next by thread: Re: runModalForWindow crash
  • Index(es):
    • Date
    • Thread