Re: CGContextSelectFont spinlock
Re: CGContextSelectFont spinlock
- Subject: Re: CGContextSelectFont spinlock
- From: Stevo Brock <email@hidden>
- Date: Thu, 16 Sep 2010 15:13:57 -0700
Great suggestion.
Here's the full list of backtraces from the iPad (3.2.2)... Spin lock is in Thread 1 at the end...
-Stevo
Thread 11 (thread 14851):
#0 0x33b11968 in select$DARWIN_EXTSN ()
#1 0x31528d82 in __CFSocketManager ()
#2 0x33b6678c in _pthread_start ()
#3 0x33b5c078 in thread_start ()
Thread 10 (thread 14595):
#0 0x33aed668 in mach_msg_trap ()
#1 0x33aef73a in mach_msg ()
#2 0x314d8974 in CFRunLoopRunSpecific ()
#3 0x314d84e0 in CFRunLoopRunInMode ()
#4 0x3034aa52 in +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] ()
#5 0x30343bd0 in -[NSThread main] ()
#6 0x303afcfe in __NSThread__main__ ()
#7 0x33b6678c in _pthread_start ()
#8 0x33b5c078 in thread_start ()
Thread 9 (thread 14339):
#0 0x33b657ac in __semwait_signal ()
#1 0x33b1aa04 in _pthread_cond_wait ()
#2 0x33b1a568 in pthread_cond_wait ()
#3 0x0000461c in -[AudioOutputReaderThread main] (self=0x273160, _cmd=0x30ca8f34) at .../AudioOutputTrack.m:695
#4 0x303afcfe in __NSThread__main__ ()
#5 0x33b6678c in _pthread_start ()
#6 0x33b5c078 in thread_start ()
Thread 8 (thread 14083):
#0 0x33b657ac in __semwait_signal ()
#1 0x33b1aa04 in _pthread_cond_wait ()
#2 0x33b1a568 in pthread_cond_wait ()
#3 0x0000461c in -[AudioOutputReaderThread main] (self=0x271880, _cmd=0x30ca8f34) at .../AudioOutputTrack.m:695
#4 0x303afcfe in __NSThread__main__ ()
#5 0x33b6678c in _pthread_start ()
#6 0x33b5c078 in thread_start ()
Thread 7 (thread 13827):
#0 0x33b657ac in __semwait_signal ()
#1 0x33b1aa04 in _pthread_cond_wait ()
#2 0x33b1a568 in pthread_cond_wait ()
#3 0x0000461c in -[AudioOutputReaderThread main] (self=0x26e330, _cmd=0x30ca8f34) at .../AudioOutputTrack.m:695
#4 0x303afcfe in __NSThread__main__ ()
#5 0x33b6678c in _pthread_start ()
#6 0x33b5c078 in thread_start ()
Thread 6 (thread 13571):
#0 0x33b657ac in __semwait_signal ()
#1 0x33b1aa04 in _pthread_cond_wait ()
#2 0x33b1a568 in pthread_cond_wait ()
#3 0x0000461c in -[AudioOutputReaderThread main] (self=0x26aca0, _cmd=0x30ca8f34) at .../AudioOutputTrack.m:695
#4 0x303afcfe in __NSThread__main__ ()
#5 0x33b6678c in _pthread_start ()
#6 0x33b5c078 in thread_start ()
Thread 5 (thread 13315):
#0 0x33aed668 in mach_msg_trap ()
#1 0x33aef73a in mach_msg ()
#2 0x33d38962 in AURemoteIO::IOThread::Entry ()
#3 0x33c85fae in CAPThread::Entry ()
#4 0x33b6678c in _pthread_start ()
#5 0x33b5c078 in thread_start ()
Thread 4 (thread 13059):
#0 0x33b657ac in __semwait_signal ()
#1 0x33b1aa04 in _pthread_cond_wait ()
#2 0x33b1a568 in pthread_cond_wait ()
#3 0x0000461c in -[AudioOutputReaderThread main] (self=0x22d590, _cmd=0x30ca8f34) at .../AudioOutputTrack.m:695
#4 0x303afcfe in __NSThread__main__ ()
#5 0x33b6678c in _pthread_start ()
#6 0x33b5c078 in thread_start ()
Thread 3 (thread 12547):
#0 0x33aed668 in mach_msg_trap ()
#1 0x33aef73a in mach_msg ()
#2 0x314d8974 in CFRunLoopRunSpecific ()
#3 0x314d84e0 in CFRunLoopRunInMode ()
#4 0x30437692 in RunWebThread ()
#5 0x33b6678c in _pthread_start ()
#6 0x33b5c078 in thread_start ()
Thread 1 (thread 12035):
#0 0x33af18a4 in spin_lock ()
#1 0x33af21aa in pthread_once ()
#2 0x33d795a2 in CGFontCreate ()
#3 0x33df21e0 in CGFontCreateWithDataProvider ()
#4 0x3414cb72 in AddFontsFromURLOrPath ()
#5 0x3414cc98 in Initialize ()
#6 0x3414d360 in GSFontInitialize ()
#7 0x33d78e12 in initialize_font_database ()
#8 0x33af21c8 in pthread_once ()
#9 0x33d78d46 in CGFontCreateWithFontName ()
#10 0x33d78d1e in CGFontCreateWithName ()
#11 0x33de8950 in CGContextSelectFont ()
#12 0x00041cf8 in -[SceneTextController drawGL:] (self=0x274b20, _cmd=0x4b77c, offset={x = 0, y = 0}) at .../SceneTextController.m:162
#13 0x000404ee in -[SIGameHighScoreDisplayController drawGL:] (self=0x2749c0, _cmd=0x4b77c, offset={x = 0, y = 0}) at .../SIGameHighScoreDisplayController.m:109
#14 0x000128a8 in -[SceneController drawGL] (self=0x259280, _cmd=0x46df0) at .../SceneController.m:196
#15 0x0001fabe in -[SceneTransitionPush drawGL] (self=0x267d40, _cmd=0x46df0) at /.../SceneTransitionPush.m:152
#16 0x0001af76 in -[SceneViewController updateAndDraw:] (self=0x220dc0, _cmd=0x46a33, timer=0x259420) at .../SceneViewController.m:674
#17 0x303b1eb8 in __NSFireTimer ()
#18 0x314d8d22 in CFRunLoopRunSpecific ()
#19 0x314d84e0 in CFRunLoopRunInMode ()
#20 0x3414e0da in GSEventRunModal ()
#21 0x3414e186 in GSEventRun ()
#22 0x32241430 in -[UIApplication _run] ()
#23 0x3223f95a in UIApplicationMain ()
#24 0x00029712 in main (argc=1, argv=0x2ffff5f0) at .../main.m:10
_______________________________________________
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