• 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: New NSZombie warning on CFRunLoopTimer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New NSZombie warning on CFRunLoopTimer


  • Subject: Re: New NSZombie warning on CFRunLoopTimer
  • From: Michael Ash <email@hidden>
  • Date: Sat, 31 Jan 2009 17:52:22 -0500

On Sat, Jan 31, 2009 at 3:45 PM, Fritz Anderson <email@hidden> wrote:
> SDK 10.4, target 10.3, environment 10.5.6
>
> In the course of startup, my application creates one NSTimer and conducts
> one transaction through the Web Services Core framework (culminating in
> WSMethodInvocationScheduleWithRunLoop).
>
> NSZombieEnabled is YES.
>
> When the scheduled invocation returns with the server's response, I start
> getting this message -- it repeats periodically:
>
> ==
> 2009-01-31 14:15:21.769 MyApp[53942:813] *** -[CFRunLoopTimer _cfTypeID]:
> message sent to deallocated instance 0x15a3bbb0
> ==
>
> There is only one NSTimer I create before this point. Here is the
> print-object of that timer. You see it's not the instance the zombie message
> complains about:
>
> ==
> Printing description of _splashScreenTimer:
> <CFRunLoopTimer 0x1a4550 [0xa03a81a0]>{locked = No, valid = Yes, interval =
> 0, next fire date = 255125688, order = 0, callout = ??? (0x9506cd90),
> context = <CFRunLoopTimer context 0x1ab550>}
> ==
>
> My application appears to run fine. Should I be worried?

Yes. You have a major bug. That it happens to be benign in this
particular case is just an unfortunate coincidence. You should figure
out why this object is being prematurely destroyed and fix it.
Instruments and the malloc debug environment variables can help you
figure it out.

Mike
_______________________________________________

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

References: 
 >New NSZombie warning on CFRunLoopTimer (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: What alternatives exist for objc_setClassHandler?
  • Next by Date: Re: maximum theoretical speedup with dual quad processors
  • Previous by thread: New NSZombie warning on CFRunLoopTimer
  • Next by thread: Flowing text between text fields
  • Index(es):
    • Date
    • Thread