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

Re: NSProgressIndicator thread crash


  • Subject: Re: NSProgressIndicator thread crash
  • From: j o a r <email@hidden>
  • Date: Thu, 24 Feb 2005 09:46:35 +0100


On 2005-02-24, at 09.23, Florent Pillet wrote:

Today I got a report of a crash in one of my apps. Examining the crash log the user sent reveals that this is the thread updating the progress bar that crashed. In my app, I have a sheet that first uses a normal progress bar, then switches the progress bar to infinite until the task is complete and the sheet is removed.

I suspect the call to [NSApp endSheet:] may have removed the sheet while the progress bar thread was still scheduled. I have added a [progressBar setIndeterminate:NO] just before the endSheet: call, but I wanted to have expert's advice about this crash.

Most likely this is not a bug in your app. I would guess it's related to:


<http://www.cocoabuilder.com/archive/message/cocoa/2004/12/4/123036>
<http://www.cocoabuilder.com/archive/message/cocoa/2005/1/6/125170>

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: NSProgressIndicator thread crash (race condition in AppKit)
      • From: Florent Pillet <email@hidden>
References: 
 >NSProgressIndicator thread crash (From: Florent Pillet <email@hidden>)

  • Prev by Date: Accessing System dictionary?
  • Next by Date: Re: NSProgressIndicator thread crash (race condition in AppKit)
  • Previous by thread: NSProgressIndicator thread crash
  • Next by thread: Re: NSProgressIndicator thread crash (race condition in AppKit)
  • Index(es):
    • Date
    • Thread