PDA

View Full Version : AudioQueueStop crashes in iPhone device




SameeraB
Nov 20, 2008, 01:54 AM
Hello Everyone,

My application crashes... :(

I have created an application similar to SpeakHere for recording.
When I did launch this app in device I'm getting the crash when the recording stops..

Following is the part of error log i got...
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xc005bdaf
Crashed Thread: 0

Thread 0 Crashed:
0 AudioToolbox 0x315cdaa0 ClientAudioQueue::ServicePendingCallbacks() + 96
1 AudioToolbox 0x315cde20 AudioQueueStop + 76


I have called AudioQueueStop(obj, yes)
(when i clicked the stop button.)

Can anybody please tell me why it happened? Please...



jnic
Nov 20, 2008, 04:33 AM
Could you paste the console output and any of your own code that the debugger's stopped on?

SameeraB
Nov 20, 2008, 07:00 AM
Hello,

Thanks a lot for the reply...

- (void) stop
{
AudioQueueStop(queueObject,YES);
}