Re: Hang/crash into assembly code
Re: Hang/crash into assembly code
- Subject: Re: Hang/crash into assembly code
- From: Fritz Anderson <email@hidden>
- Date: Sat, 16 Jul 2011 11:54:21 -0500
On 16 Jul 2011, at 11:40 AM, Adam Gerson wrote:
> I am having a strange issue with an app I am working on. I get a
> pinwheel of death. Its not consistently reproducible, but does happen
> sometimes. When I pause in the debugger it breaks into assembly code
> so I am not sure how to trace it. Where can I look next?
Your main thread is hung on a semaphore in a window-resize view animation. Some other thread must be holding the semaphore.
Here is the first place I'd look: AppKit (and therefore essentially all of your human-interface tasks) is not thread-safe. Have you set up any threads? Are you doing any drawing, window operations, etc., from a background thread?
— F
_______________________________________________
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