Re: What makes OS X generate a hang report?
Re: What makes OS X generate a hang report?
- Subject: Re: What makes OS X generate a hang report?
- From: Mark Woods <email@hidden>
- Date: Wed, 11 Jan 2012 14:07:55 -0800
Thanks Jean.
According to this article all QTMovie objects must be created on the main thread:
http://developer.apple.com/library/mac/#technotes/tn2138/_index.html
Mark.
On Jan 11, 2012, at 1:48 PM, Jean Suisse wrote:
> Hi !
>
> Well, I am no expert, so I can't answer your question.
> But I do have a suggestion (fix): have you tried loading your QuickTime movie on an other thread, and then attaching it to your main thread ? (you have to detach it first).
>
> Jean
>
> On 11 janv. 2012, at 21:56, Mark Woods wrote:
>
>> Does anyone know the criteria OS X uses to determine an application has hung? The reason I ask is that I've seen lots of inconsistencies. For example, OS X will kill a process and show the log if it hangs for 5 seconds, other times less than 1 second (is this even counted as a hang?) and sometimes the app hangs forever and I have to force-quit it myself.
>>
>> Lion seems to be much more sensitive than previous versions and it will occasionally kill my app when doing simple things like loading a QuickTime movie into a QTMovieView, which has to be done on the main thread. (The hang report reports a hang of less than 1 second.)
>>
>> Has anyone else seen this? Is this a bug I should report to Apple or am I doing something wrong?
>>
>> Any light anyone can shed on this would be appreciated._______________________________________________
>>
>> 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
>
>
>
_______________________________________________
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