• 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: Window freezes app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window freezes app


  • Subject: Re: Window freezes app
  • From: Shawn Erickson <email@hidden>
  • Date: Wed, 30 May 2007 07:46:58 -0700


On May 30, 2007, at 7:09 AM, Antonio Nunes wrote:

On 30 May 2007, at 10:39, Yann Bizeul wrote:

It looks like a deadlock problem, you know AppKit is not thread safe and you have to be very carefull when updating AppKit items in threads, which seem to be the case.
Try adding some locks to avoid this situation ?

Thanks Yann,

I know about issues with threads (I've been bitten by them before), and I understand it's a deadlock problem, but these are threads spawned by AppKit itself. And I am not updating anything at the point where the freeze happens. I'm simply putting the window on- screen. As I wrote, a similar deadlock problem appeared at the same time with a panel that would freeze when putting it on-screen, but I was able to fix it simply by recreating the panel from scratch in Interface Builder. Yet, this simple solution doesn't seem to work for the window at hand. It looks like it may be time to call in Apple DTS. I'd rather have used my support incident for something more exciting....

I think you have a 3rd thread involved in this issue that you didn't list or possibly somehow you hit an exception that causes an unrolling of things without correctly unlocking the view hierarchy lock. Look for console error messages from your application and look at other threads in your application.


-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Window freezes app
      • From: Antonio Nunes <email@hidden>
References: 
 >Window freezes app (From: António Nunes <email@hidden>)
 >Re: Window freezes app (From: Yann Bizeul <email@hidden>)
 >Re: Window freezes app (From: Antonio Nunes <email@hidden>)

  • Prev by Date: refreshing core data controller
  • Next by Date: Re: how to access a c++ vector member of an objc class?
  • Previous by thread: Re: Window freezes app
  • Next by thread: Re: Window freezes app
  • Index(es):
    • Date
    • Thread