Re: crashing in NSUIHeartBeat thread?
Re: crashing in NSUIHeartBeat thread?
- Subject: Re: crashing in NSUIHeartBeat thread?
- From: Severin Kurpiers <email@hidden>
- Date: Thu, 2 Dec 2004 10:49:27 +0100
Hi Nigel,
please read the tech-note about the thread-safety of QuickTime:
http://developer.apple.com/technotes/tn/tn2125.html
I guess it will answer your questions.
Bye,
Severin Kurpiers
Verek Ltd.
On Wed, 1 Dec 2004, at 21:36:15 -0800 (PST), Nigel Mannings wrote:
Message: 13
Date: Wed, 1 Dec 2004 21:36:15 -0800 (PST)
From: "Nigel Mannings" <email@hidden>
Subject: crashing in NSUIHeartBeat thread?
To: email@hidden
Message-ID:
<email@hidden>
Content-Type: text/plain;charset=iso-8859-1
I am tracking down a difficult bug. My application detaches a
QuickTime
conversion thread (which calls MovieExportFromProceduresToDataRef) ,
and
this single thread is the only thread that makes QuickTime API calls.
About 4 minutes into the conversion, the application crashes in the
following AppKit thread:
Program received signal EXC_BAD_ACCESS, Could not access memory.
[Switching to process 629 thread 0x4e1b]
0x908311f4 in objc_msgSend ()
(gdb) bt
#0 0x908311f4 in objc_msgSend ()
#1 0x909f15d4 in NSPopAutoreleasePool ()
#2 0x92dca454 in -[NSUIHeartBeat _heartBeatThread:] ()
#3 0x90a39b74 in forkThreadForFunction ()
#4 0x900246e8 in _pthread_body ()
(gdb)
Does anybody know what might be causing this? I do create an
NSAutoreleasePool for the QuickTime thread (need to alloc some strings,
etc at the beginning of the thread) but how can this autorelease pool
affect the pool over in the NSUIHeartBeat thread?
Thanks for any suggestions....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden