Re: QuickTime hang, CoreAudio related?
Re: QuickTime hang, CoreAudio related?
- Subject: Re: QuickTime hang, CoreAudio related?
- From: Jeff Moore <email@hidden>
- Date: Thu, 26 Feb 2004 19:27:03 -0800
I'd need to see the stacks for all the threads in the process to give
you some idea of what's going on. The best tool for this is sample
rather than gdb.
At any rate, all this stack is saying is that the thread adding the
IOProc is blocked waiting for to synchronize against the IO thread. If
I had to guess, I'd say that the IO thread is probably blocked in some
IOProc when the call to add another IOProc came in. Seeing all the
other stacks in the app would say for sure.
On Feb 26, 2004, at 6:47 PM, john wrote:
Hi,
I am trying to make a QuickTime call to NewMovieFromFile(), but for
some reason my application hangs when it is called.
I have included the info from the Xcode debugger starting from where
my app calls NewMovieFromFile(), and it appears it might be related to
CoreAudio.
Any ideas? Thanks.
-- John
---------
#0 0x90017048 in semaphore_wait_signal_trap
#1 0x90002300 in pthread_mutex_lock
#2 0x90723800 in CAGuard::Lock()
#3 0x90731028 in IOADevice::StartCommandExecution(void**)
#4 0x9072a194 in HPDevice::ExecuteCommand(HPCommand*)
#5 0x907437f8 in HPDevice::DoAddIOProc(long (*)(unsigned long,
AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*,
AudioBufferList*, AudioTimeStamp const*, void*), void*)
#6 0x90743670 in
HPPlugInDeviceAddIOProc(AudioHardwarePlugInInterface**, unsigned long,
long (*)(unsigned long, AudioTimeStamp const*, AudioBufferList const*,
AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*,
void*), void*)
#7 0x90743600 in HALPlugInDevice::AddIOProc(long (*)(unsigned long,
AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*,
AudioBufferList*, AudioTimeStamp const*, void*), void*)
#8 0x90743558 in AudioDeviceAddIOProc
#9 0x020827cc in HALHardwareDispatch
#10 0x02081444 in HALHardwareDispatch
#11 0x02080bb4 in HALHardwareDispatch
#12 0x902814f0 in CallComponent
#13 0x90299dec in CallComponentOpen
#14 0x9028b7a0 in OpenAComponent
#15 0x902a9598 in OpenComponent
#16 0x912a2f6c in SndNewChannel
#17 0x912a13f4 in INIT_Sound
#18 0x912a121c in SoundComponentGetInfo
#19 0x912a2cd4 in SndNewChannel
#20 0x91be9fe0 in QTSndNewChannel_priv
#21 0x91be9fa8 in QTSndNewChannel
#22 0x8b1044d4 in AllocateMediaSndChannel
#23 0x8b105430 in Sound1GetClock
#24 0x90282784 in CallComponentFunctionCommon
#25 0x8b0ff6b4 in Sound1ComponentDispatch
#26 0x902814f0 in CallComponent
#27 0x8b1069b4 in SoundComponentDispatch
#28 0x902814f0 in CallComponent
#29 0x91be9f60 in MediaGetClock
#30 0x91be0ddc in ChooseMovieClock_priv
#31 0x91be5e54 in NewTrackMediaLocal_priv
#32 0x91bfe430 in NewTrackMedia_priv
#33 0x8b245b18 in EatAIFFDataRef
#34 0x8b2480c8 in EatAIFFFile
#35 0x90282920 in CallComponentFunctionCommon
#36 0x8b247ee4 in EatAIFFComponentDispatch
#37 0x902814f0 in CallComponent
#38 0x91c04710 in MovieImportFile
#39 0x91c044b8 in newMovieFromFileFromComponent
#40 0x91be6d84 in getNewMovieFromFileUsingImporters
#41 0x91c0163c in NewMovieFromFile_priv
#42 0x91c013a8 in NewMovieFromFile
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.