Re: App locking up in NSView call
Re: App locking up in NSView call
- Subject: Re: App locking up in NSView call
- From: Peter Ammon <email@hidden>
- Date: Mon, 27 Sep 2010 22:17:49 -0700
On Sep 27, 2010, at 1:38 PM, Mike Silva wrote:
> We have a simple application with multiple NSView subclasses (like Buttons, TextFields, etc.) that are being updated every couple seconds with status information. After a couple days of running continuously the application will lock on this stack trace:
>
> Thread 1 (process 145):
> #0 0x96185782 in __semwait_signal ()
> #1 0x9618543e in _pthread_cond_wait ()
> #2 0x961870d8 in pthread_cond_wait$UNIX2003 ()
> #3 0x931d267d in CAViewEndDraw ()
> #4 0x9226c686 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
> #5 0x921ccf26 in -[NSView displayIfNeeded] ()
> #6 0x92180bbd in -[NSNextStepFrame displayIfNeeded] ()
> #7 0x92196292 in -[NSWindow displayIfNeeded] ()
> #8 0x921c7764 in _handleWindowNeedsDisplay ()
> #9 0x97439b02 in __CFRunLoopDoObservers ()
> #10 0x973f665d in __CFRunLoopRun ()
> #11 0x973f5d34 in CFRunLoopRunSpecific ()
> #12 0x973f5b61 in CFRunLoopRunInMode ()
> #13 0x96f7efec in RunCurrentEventLoopInMode ()
> #14 0x96f7eda3 in ReceiveNextEventCommon ()
> #15 0x96f7ec28 in BlockUntilNextEventMatchingListInMode ()
> #16 0x9219dc95 in _DPSNextEvent ()
> #17 0x9219d50a in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
> #18 0x9215f69b in -[NSApplication run] ()
> #19 0x92157735 in NSApplicationMain ()
> #20 0x00002aca in start ()
>
> This is running on a 10.6.1 OS X machine. I searched the archives and googled but there's very little about this.
>
> Any pointers, hints, or workarounds?
There was an OS bug that can produce that hang. It was fixed with a software update in 10.6.3.
-Peter
_______________________________________________
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