• 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
App locking up in NSView call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App locking up in NSView call


  • Subject: App locking up in NSView call
  • From: Mike Silva <email@hidden>
  • Date: Mon, 27 Sep 2010 16:38:48 -0400

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?


_______________________________________________

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: App locking up in NSView call
      • From: Peter Ammon <email@hidden>
  • Prev by Date: Re: Set NSSegmentedControl ToolTip
  • Next by Date: Re: App locking up in NSView call
  • Previous by thread: Re: Set NSSegmentedControl ToolTip
  • Next by thread: Re: App locking up in NSView call
  • Index(es):
    • Date
    • Thread