Re: Application Hang (Cocoa-Java)
Re: Application Hang (Cocoa-Java)
- Subject: Re: Application Hang (Cocoa-Java)
- From: j o a r <email@hidden>
- Date: Sun, 15 May 2005 19:03:19 +0200
What are the other threads doing at this time? What version of Mac OS
X are you using? Are you aware of the thread safety rules that apply
for the APIs that you use?
j o a r
On 15 maj 2005, at 18.00, Graham wrote:
I ran my app in the debugger and paused it when it hanged and the
following is the stack trace:
#0 0x9002ca78 in semaphore_wait_signal_trap
#1 0x9003125c in pthread_cond_wait
#2 0x93649830 in -[NSViewHierarchyLock lockForWriting]
#3 0x93634e5c in -[NSView renewGState]
#4 0x93634ccc in -[NSView _invalidateGStatesForTree]
#5 0x90759e04 in CFArrayApplyFunction
#6 0x93634dfc in -[NSView _invalidateGStatesForTree]
#7 0x9372d90c in -[NSTabView
_switchTabViewItem:oldView:withTabViewItem:newView:initialFirstRespond
er:lastKeyView:]
#8 0x9372d278 in -[NSTabView selectTabViewItem:]
#9 0x93677f08 in -[NSWindow sendEvent:]
#10 0x9362113c in -[NSApplication sendEvent:]
#11 0x936185d0 in -[NSApplication run]
#12 0x93708e04 in NSApplicationMain
#13 0x00008b6c in main at main.m:13
Being new to Cocoa, could anyway help me understand this please?
I see that an attempt is being made to get a semaphore to lock the
views or something?
What could I be doing that would cause this lock?
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