• 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: Default Button heartBeat bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default Button heartBeat bug


  • Subject: Re: Default Button heartBeat bug
  • From: j o a r <email@hidden>
  • Date: Fri, 7 Jan 2005 11:38:55 +0100

Hej,

I have received a number of requests for the source of the sample app that reproduces this bug. I guess the reason you might find it interesting is if you want to verify that the bug discussed here is the same as you might have experienced in your application?
While I don't mind sharing the code, I think that the symptoms I posted on this list a couple of weeks ago are an equally effective way to match a crash to this bug:


=======================================================

Symptom #1:
Backtrace contains "-[NSViewHierarchyLock lockForWriting]"

Symptom #2:
Backtrace contains "-[NSUIHeartBeat _heartBeatThread:]"

Symptom #3:
Console log "Exception *** -[NSCFArray addObject:]: attempt to insert nil raised during heart beat. Ignoring...."


=======================================================

You might not always see all symptoms at the same time, especially not the console log. As far as I know you also need to use a multi-CPU machine to trigger the bug. You of course also need to have an animation thread running in the application to trigger this bug (that's what the heartbeat thread is used for), like for example an animated ("pulsating") button or progress indicator.

Over and out,

j o a r

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Default Button heartBeat bug
      • From: Darkshadow <email@hidden>
References: 
 >Default Button heartBeat bug (From: Dominic Feira <email@hidden>)
 >Re: Default Button heartBeat bug (From: j o a r <email@hidden>)
 >Re: Default Button heartBeat bug (From: Shawn Erickson <email@hidden>)
 >Re: Default Button heartBeat bug (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: [OT] user banned from the list
  • Next by Date: RE: Scrolling a view containing two subviews (NSTextView weirdness)
  • Previous by thread: Re: Default Button heartBeat bug
  • Next by thread: Re: Default Button heartBeat bug
  • Index(es):
    • Date
    • Thread