Re: Edirol FA-101 and CoreAudio
Re: Edirol FA-101 and CoreAudio
- Subject: Re: Edirol FA-101 and CoreAudio
- From: William Stewart <email@hidden>
- Date: Mon, 12 Sep 2005 12:45:23 -0700
Can you please file a radar report with the crash log
http://bugreporter.apple.com
Bill
On 12/09/2005, at 2:07 AM, Roni Music wrote:
Hi,
I have a crasch that only occurs with the Edirol FA-101 FireWire
interface and Tiger for one of my custommers.
My application is a recorder which is partly based on the "afrecord"
example in Services/AudioFileTools.
The app works fine with my own M-Audio 1814, iMic and the built in
audio on my dual G4 running 10.2.8, 10.3.9 and 10.4.2.
Recording works fine with the Edirol interface, the crasch occurs
when destroying the recorder in
the InputProc() calling AudioUnitRender() (see crasch log below).
I can't see any problems in my code, No memory is deleted until after
AudioOutputUnitStop(mInputUnit);
AudioUnitUninitialize(mInputUnit);
CloseComponent(mInputUnit);
Are there any known problems with the Edirol FA-101 and CoreAudio?
Thanks for any help
Rolf Nlsson / Roni Music
--------------
PID: 256
Thread: 4
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x017ff010
Thread 0:
0 libSystem.B.dylib 0x90042ae8 mach_wait_until + 8
1 libSystem.B.dylib 0x900428a0 nanosleep + 384
2 libSystem.B.dylib 0x9004677c usleep + 60
3 ...pple.audio.units.Components 0x9a225898
DefaultOutputAUEntry + 32064
4 ...pple.audio.units.Components 0x9a220b30
DefaultOutputAUEntry + 12248
5 ...pple.audio.units.Components 0x9a2f15a4
dyld_stub__keymgr_get_and_lock_processwide_ptr + 40356
6 ...ple.CoreServices.CarbonCore 0x90b51ff0 CallComponent + 260
7 ...apple.audio.units.AudioUnit 0x94179734 AudioOutputUnitStop
+ 32
8 com.ronimusic.audiocompanion 0x00030938
CMyAudioFileRecorder::Stop() + 96 (CMyAudioFileRecorder.cpp:514)
9 com.ronimusic.audiocompanion 0x0003cba8 -[MyController
myCallWhenQuitFunction:] + 232 (MyController.mm:245)
10 com.apple.Foundation 0x92882878 _nsnote_callback
+ 180
11 com.apple.CoreFoundation 0x907726a0
__CFXNotificationPost + 368
12 com.apple.CoreFoundation 0x9076a7c4
_CFXNotificationPostNotification + 684
13 com.apple.Foundation 0x9286cc80 -
[NSNotificationCenter postNotificationName:object:userInfo:] + 92
14 com.apple.AppKit 0x936a6f80 -[NSApplication
terminate:] + 244
15 com.apple.AppKit 0x936a4d2c -[NSApplication
sendAction:to:from:] + 108
16 com.apple.AppKit 0x936ff528 -[NSMenu
performActionForItemAtIndex:] + 392
17 com.apple.AppKit 0x936ff2ac -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 104
18 com.apple.AppKit 0x93606828
_NSHandleCarbonMenuEvent + 372
19 com.apple.AppKit 0x9360418c _DPSNextEvent + 1224
20 com.apple.AppKit 0x93603b08 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
21 com.apple.AppKit 0x9360006c -[NSApplication
run] + 472
22 com.apple.AppKit 0x936f08bc NSApplicationMain +
452
23 com.ronimusic.audiocompanion 0x00009310 main + 104 (main.mm:
32)
24 com.ronimusic.audiocompanion 0x00008b08 _start + 344 (crt.c:
272)
25 com.ronimusic.audiocompanion 0x000089ac start + 60
Thread 1:
0 libSystem.B.dylib 0x9000a778 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000a6bc mach_msg + 60
2 com.apple.CoreFoundation 0x9074b338 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x9074ac3c
CFRunLoopRunSpecific + 268
4 com.apple.audio.CoreAudio 0x913a61dc
HALRunLoop::OwnThread(void*) + 264
5 com.apple.audio.CoreAudio 0x913a5f7c CAPThread::Entry
(CAPThread*) + 96
6 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 2:
0 libSystem.B.dylib 0x9002ca98
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003127c pthread_cond_wait +
508
2 com.ronimusic.audiocompanion 0x0000d068 CAGuard::Wait() +
204 (CAGuard.cpp:81)
3 com.ronimusic.audiocompanion 0x000840c4
CAGuard::Locker::Wait() + 80 (CAGuard.h:78)
4 com.ronimusic.audiocompanion 0x000269a0
CABufferQueue::WorkThread::Run() + 88 (CABufferQueue.cpp:34)
5 com.ronimusic.audiocompanion 0x000843e4
CABufferQueue::WorkThread::ThreadEntry(void*) + 48 (CABufferQueue.h:
100)
6 com.ronimusic.audiocompanion 0x0000c28c CAPThread::Entry
(CAPThread*) + 176 (CAPThread.cpp:207)
7 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 3:
0 libSystem.B.dylib 0x9002ca98
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003127c pthread_cond_wait +
508
2 com.apple.Foundation 0x9288a0a0 -[NSConditionLock
lockWhenCondition:] + 68
3 com.apple.AppKit 0x936a07f8 -[NSUIHeartBeat
_heartBeatThread:] + 324
4 com.apple.Foundation 0x92882f34
forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 4 Crashed:
0 <<00000000>> 0xffff8b2c __memcpy + 908 (cpu_capabilities.h:
189)
1 ...pple.audio.units.Components 0x9a2efa08
dyld_stub__keymgr_get_and_lock_processwide_ptr + 33288
2 ...pple.audio.units.Components 0x9a2ef974
dyld_stub__keymgr_get_and_lock_processwide_ptr + 33140
3 ...pple.audio.units.Components 0x9a224d10
DefaultOutputAUEntry + 29112
4 ...pple.audio.units.Components 0x9a2210e4
DefaultOutputAUEntry + 13708
5 ...pple.audio.units.Components 0x9a220b3c
DefaultOutputAUEntry + 12260
6 ...pple.audio.units.Components 0x9a2f15a4
dyld_stub__keymgr_get_and_lock_processwide_ptr + 40356
7 ...ple.CoreServices.CarbonCore 0x90b51ff0 CallComponent + 260
8 ...apple.audio.units.AudioUnit 0x94179cc4 AudioUnitRender + 56
9 com.ronimusic.audiocompanion 0x00030ab0
CMyAudioFileRecorder::InputProc(void*, unsigned long*, AudioTimeStamp
const*, unsigned long, unsigned long, AudioBufferList*) + 180
(CMyAudioFileRecorder.cpp:545)
10 ...pple.audio.units.Components 0x9a2245d0
DefaultOutputAUEntry + 27256
11 com.apple.audio.CoreAudio 0x913b74e0
IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&,
AudioTimeStamp const&) + 376
12 com.apple.audio.CoreAudio 0x913b71f4
HP_IOThread::PerformIO(AudioTimeStamp const&) + 532
13 com.apple.audio.CoreAudio 0x913b5230
HP_IOThread::WorkLoop() + 1156
14 com.apple.audio.CoreAudio 0x913b4d98
HP_IOThread::ThreadEntry(HP_IOThread*) + 16
15 com.apple.audio.CoreAudio 0x913a5f7c CAPThread::Entry
(CAPThread*) + 96
16 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 4 crashed with PPC Thread State 64:
srr0: 0x00000000ffff8b2c srr1:
0x100000000200f030 vrsave: 0x00000000fff80000
cr: 0x28044220 xer: 0x0000000000000000 lr:
0x000000009a2efa08 ctr: 0x0000000000000010
r0: 0x0000000000000000 r1: 0x00000000f0203560 r2:
0x0000000000000002 r3: 0x00000000017ff010
r4: 0x0000000000776090 r5: 0x0000000000000800 r6:
0x0000000000000010 r7: 0x0000000000000020
r8: 0x0000000000000030 r9: 0x00000000017ff050 r10:
0x0000000000000000 r11: 0x00000000aa21e668
r12: 0x00000000017ff010 r13: 0x0000000000000000 r14:
0x0000000000000000 r15: 0x0000000000000000
r16: 0x00000000f02039a0 r17: 0x000000000000000a r18:
0x0000000000000200 r19: 0x000000000184daa8
r20: 0x00000000f0203b80 r21: 0x00000000f0203bc0 r22:
0x0000000000000001 r23: 0x00000000f0203918
r24: 0x0000000000000001 r25: 0x00000000f0203b80 r26:
0x0000000000000200 r27: 0x0000000003f43230
r28: 0x0000000000000009 r29: 0x000000000051031c r30:
0x0000000003f38814 r31: 0x000000009a2ef99c
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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