• 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 safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSProgressIndicator thread safe?


  • Subject: RE: NSProgressIndicator thread safe?
  • From: "Abernathy, Joshua" <email@hidden>
  • Date: Thu, 3 Jul 2008 08:10:54 -0400
  • Thread-topic: NSProgressIndicator thread safe?

None of the AppKit is thread-safe. Check out
-performSelectorOnMainThread.

-----Original Message-----
From: cocoa-dev-bounces+jabernathy=email@hidden
[mailto:cocoa-dev-bounces+jabernathy=email@hidden
] On Behalf Of Micha Fuhrmann
Sent: Thursday, July 03, 2008 3:30 AM
To: Cocoa-Dev List
Subject: NSProgressIndicator thread safe?

Hi everyone,

one of my user has its MBP crashing on me, I just can't figure what
the problem is, here's the crashed thread:

Thread 5 Crashed:
0   com.apple.CoreFoundation      	0x964dd0eb CFArrayAppendValue +
43
1   com.apple.AppKit              	0x94be0819 -[NSView
_focusInto:withClip:] + 1826
2   com.apple.AppKit              	0x94bdfc47 -[NSView
_gatherFocusStateInto:upTo:withContext:] + 155
3   com.apple.AppKit              	0x94bdfbf5 -[NSView
_gatherFocusStateInto:upTo:withContext:] + 73
4   com.apple.AppKit              	0x94bdfbf5 -[NSView
_gatherFocusStateInto:upTo:withContext:] + 73
5   com.apple.AppKit              	0x94bdfbf5 -[NSView
_gatherFocusStateInto:upTo:withContext:] + 73
6   com.apple.AppKit              	0x94bdfbf5 -[NSView
_gatherFocusStateInto:upTo:withContext:] + 73
7   com.apple.AppKit              	0x94bdf9f3 -[NSView
_focusFromView:withContext:] + 366
8   com.apple.AppKit              	0x94bdf40c -[NSView
lockFocusIfCanDraw] + 778
9   com.apple.AppKit              	0x94bdf009 -[NSView lockFocus] +
42
10  com.apple.AppKit              	0x94ca55fd -[NSUIHeartBeat
lockFocusForView:inRect:needsTranslation:] + 1464
11  com.apple.AppKit              	0x94b8334a -[NSProgressIndicator

heartBeat:] + 2304
12  com.apple.AppKit              	0x94b827bc -[NSUIHeartBeat
_heartBeatThread:] + 1597
13  com.apple.Foundation          	0x928baf1d -[NSThread main] + 45
14  com.apple.Foundation          	0x928baac4 __NSThread__main__ +
308
15  libSystem.B.dylib             	0x93b496f5 _pthread_start + 321
16  libSystem.B.dylib             	0x93b495b2 thread_start + 34

Is it because NSProgressIndicator isn't thread safe?

Micha
_______________________________________________

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:
stics.com

This email sent to email@hidden
_______________________________________________

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: NSProgressIndicator thread safe?
      • From: Corbin Dunn <email@hidden>
References: 
 >NSProgressIndicator thread safe? (From: Micha Fuhrmann <email@hidden>)

  • Prev by Date: NSImageView not responding to clicks.
  • Next by Date: Re: How to converting a Carbon nib to Cocoa?
  • Previous by thread: NSProgressIndicator thread safe?
  • Next by thread: Re: NSProgressIndicator thread safe?
  • Index(es):
    • Date
    • Thread