AudioQueueStop(AQRef, true) crashing the App
AudioQueueStop(AQRef, true) crashing the App
- Subject: AudioQueueStop(AQRef, true) crashing the App
- From: Erik Aigner <email@hidden>
- Date: Mon, 25 Aug 2008 18:56:23 +0200
Hi,
I want to call the synchronous AudioQueueStop(AQRef, true) method. The Problem with this is, that it crashes the entire App. It seems to be a Problem with the output callback function somehow (altough i have no code in the callback function). Removing existing property listeners also didn't help (as sugessted in another thread). I tried the stop method on the main thread and on dispatched ones... same result. Here's the stack trace...
-- Thread 1
#0 0x93f054a6 in mach_msg_trap
#1 0x93f0cc9c in mach_msg
#2 0x97373610 in AQCallbackSender_OutputCallback
#3 0x9733d708 in AudioQueueObject::DoBufferCallback
#4 0x9734103e in AudioQueueObject::Reset
#5 0x973414e3 in AudioQueueObject::Stop
#6 0x97353d31 in AQServer_Stop
#7 0x9735767f in AudioQueueStop
#8 0x00003386 in -[CMAudioStream stopAndFadeOut:] at CMAudioStream.m:171
#9 0x00003f82 in -[CMStreamPlayer stop:] at CMStreamPlayer.m:47
-- Thread 2
#0 0x93f054ee in semaphore_wait_signal_trap
#1 0x93f0cfc5 in pthread_mutex_lock
#2 0x972a477b in CAMutex::Lock
#3 0x97356304 in AQCallbackReceiver_OutputCallback
#4 0x97373865 in _XOutputCallback
#5 0x9736bf9e in mshMIGPerform
#6 0x908b0908 in CFRunLoopRunSpecific
#7 0x908b0cf8 in CFRunLoopRunInMode
#8 0x97355c70 in GenericRunLoopThread::Run
#9 0x973207f1 in CAPThread::Entry
#10 0x93f366f5 in _pthread_start
#11 0x93f365b2 in thread_start
-- Thread 3
#0 0x93f054a6 in mach_msg_trap
#1 0x93f0cc9c in mach_msg
#2 0x908b00ce in CFRunLoopRunSpecific
#3 0x908b0cf8 in CFRunLoopRunInMode
#4 0x9474e464 in HALRunLoop::OwnThread
#5 0x9474e300 in CAPThread::Entry
#6 0x93f366f5 in _pthread_start
#7 0x93f365b2 in thread_start
-- Thread 4
#0 0x93f0c68e in __semwait_signal
#1 0x93f37986 in _pthread_cond_wait
#2 0x93f3736d in pthread_cond_wait$UNIX2003
#3 0x97320099 in CAGuard::Wait
#4 0x97340a16 in AQConverterManager::AQConverterThread::Run
#5 0x97340c01 in AQConverterManager::AQConverterThread::ConverterThreadEntry
#6 0x973207f1 in CAPThread::Entry
#7 0x93f366f5 in _pthread_start
#8 0x93f365b2 in thread_start
-- Thread 5
#0 0x93f05506 in semaphore_timedwait_signal_trap
#1 0x93f3784f in _pthread_cond_wait
#2 0x93f390d3 in pthread_cond_timedwait_relative_np
#3 0x9475da47 in CAGuard::WaitFor
#4 0x9475f602 in CAGuard::WaitUntil
#5 0x9475dda7 in HP_IOThread::WorkLoop
#6 0x9475daab in HP_IOThread::ThreadEntry
#7 0x9474e300 in CAPThread::Entry
#8 0x93f366f5 in _pthread_start
#9 0x93f365b2 in thread_start
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden