• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: crashing in calls to AudioConverter on 10.3.9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crashing in calls to AudioConverter on 10.3.9


  • Subject: Re: crashing in calls to AudioConverter on 10.3.9
  • From: Christopher Ashworth <email@hidden>
  • Date: Mon, 27 Mar 2006 23:27:38 -0500


On Mar 27, 2006, at 10:12 PM, William Stewart wrote:
What are the other threads doing in the crash log? If this is a threading problem, then just looking at the thread that is crashed is not going to help you. What is the topology of the converters - do a CAShow on this converter (just so we can see what conversion operation it is doing).


Okay, here's some sample output from CAShow, on several different converters that were in use during a crash:


AudioConverter: @530ADA0
AudioConverter PCMConverter 0x530AEC0
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-bit little- endian signed integer
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float
AudioConverter Reinterleaver 0x530AFA0
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved
Channel map: 0 1


AudioConverter: @3CCAC0
AudioConverter CodecConverter 0x3CCC80
Input: 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float
AudioConverter Reinterleaver 0x5343040
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved
Channel map: 0 1


AudioConverter: @5340030
AudioConverter PCMConverter 0x5340110
Input: 1 ch, 11025 Hz, 'lpcm' (0x00000008) 8-bit unsigned integer
Output: 1 ch, 11025 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float
AudioConverter SampleRateConverter 0x53401D0
Input: 1 ch, 11025 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float
Output: 1 ch, 44100 Hz, 'lpcm' (0x0000000B) 32-bit big-endian float



That last converter was in use when the following crash log was generated:



Date/Time: 2006-03-27 23:20:01 -0500 OS Version: 10.3.9 (Build 7W98) Report Version: 2

Command: QLab
Path:    /Users/chris/Desktop/QLab-nosync.app/Contents/MacOS/QLab
Version: 0.9.506 (84)
PID:     370
Thread:  3

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0:
0 libSystem.B.dylib 0x900078b8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007438 mach_msg + 0x38
2 com.apple.CoreFoundation 0x901c15e8 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x901c5d74 CFRunLoopRunSpecific + 0x148
4 com.apple.HIToolbox 0x92886e10 RunCurrentEventLoopInMode + 0xac
5 com.apple.HIToolbox 0x9288d53c ReceiveNextEventCommon + 0x17c
6 com.apple.HIToolbox 0x928af638 BlockUntilNextEventMatchingListInMode + 0x60
7 com.apple.AppKit 0x92e822ac _DPSNextEvent + 0x180
8 com.apple.AppKit 0x92e98d2c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
9 com.apple.AppKit 0x92ead0ac -[NSApplication run] + 0x21c
10 com.apple.AppKit 0x92f697bc NSApplicationMain + 0x1d0
11 com.figure53.QLab 0x000023e8 main + 0x3c (main.m:16)
12 com.figure53.QLab 0x00001e98 _start + 0x188 (crt.c: 267)
13 dyld 0x8fe1a278 _dyld_start + 0x64


Thread 1:
0 libSystem.B.dylib 0x900078b8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007438 mach_msg + 0x38
2 com.apple.CoreFoundation 0x901c15e8 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x901c5d74 CFRunLoopRunSpecific + 0x148
4 com.apple.audio.CoreAudio 0x90762f80 HALRunLoop::OwnThread (void*) + 0x104
5 com.apple.audio.CoreAudio 0x907691e0 CAPThread::Entry (CAPThread*) + 0x30
6 libSystem.B.dylib 0x90024990 _pthread_body + 0x28


Thread 2:
0 libSystem.B.dylib 0x90018e78 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000ea14 _pthread_cond_wait + 0x268
2 com.apple.audio.CoreAudio 0x907544fc CAGuard::WaitFor (unsigned long long) + 0xdc
3 com.apple.audio.CoreAudio 0x90754130 CAGuard::WaitUntil (unsigned long long) + 0x130
4 com.apple.audio.CoreAudio 0x90752b20 HPIOThread::WorkLoop() + 0x358
5 com.apple.audio.CoreAudio 0x9076919c HPIOThread::ThreadEntry (HPIOThread*) + 0x1c
6 com.apple.audio.CoreAudio 0x907691e0 CAPThread::Entry (CAPThread*) + 0x30
7 libSystem.B.dylib 0x90024990 _pthread_body + 0x28


Thread 3 Crashed:
0 <<00000000>> 0xffff87dc __memcpy + 0x3c
1 ....audio.toolbox.AudioToolbox 0x93c0516c AudioConverterChain::FillBufferFromInputProc(unsigned long*, unsigned long*, CABufferList*, AudioStreamPacketDescription**) + 0x13c
2 ....audio.toolbox.AudioToolbox 0x93c0147c BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 0xd8
3 ....audio.toolbox.AudioToolbox 0x93c016a8 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 0x58
4 ....audio.toolbox.AudioToolbox 0x93c012b0 BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 0x124
5 ....audio.toolbox.AudioToolbox 0x93c01450 BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 0xac
6 ....audio.toolbox.AudioToolbox 0x93c05c94 Resampler2Wrapper::RenderOutput(CABufferList*, unsigned long, unsigned long&) + 0x9c
7 ....audio.toolbox.AudioToolbox 0x93c012b0 BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 0x124
8 ....audio.toolbox.AudioToolbox 0x93c04fac AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 0x58
9 ....audio.toolbox.AudioToolbox 0x93c012b0 BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 0x124
10 ....audio.toolbox.AudioToolbox 0x93c01610 AudioConverterFillComplexBuffer + 0x118
11 com.figure53.qlab.SoundCue 0x00bd308c -[Sound(SoundPrivate) fillBuffer] + 0x4bc (Sound.m:741)
12 com.figure53.qlab.SoundCue 0x00bd37e4 -[Sound(SoundPrivate) feedFile:] + 0x1c4 (Sound.m:861)
13 com.apple.Foundation 0x90a6a510 forkThreadForFunction + 0x6c
14 libSystem.B.dylib 0x90024990 _pthread_body + 0x28


Thread 4:
0 libSystem.B.dylib 0x90012808 clock_sleep_trap + 0x8
1 libSystem.B.dylib 0x9000d9f8 nanosleep + 0x78
2 libSystem.B.dylib 0x90012528 usleep + 0x48
3 com.figure53.qlab.SoundCue 0x00bd37f0 -[Sound(SoundPrivate) feedFile:] + 0x1d0 (Sound.m:862)
4 com.apple.Foundation 0x90a6a510 forkThreadForFunction + 0x6c
5 libSystem.B.dylib 0x90024990 _pthread_body + 0x28


PPC Thread State:
  srr0: 0xffff87dc srr1: 0x0000d030                vrsave: 0x00000000
    cr: 0x44002241  xer: 0x00000000   lr: 0x93c0516c  ctr: 0x9011c160
    r0: 0x00000010   r1: 0xf0191810   r2: 0xf0191850   r3: 0x00000000
    r4: 0x020ba410   r5: 0x00000011   r6: 0x78787777   r7: 0x77777777
    r8: 0x77777778   r9: 0x79797a7a  r10: 0x93c051d8  r11: 0xa3c00598
   r12: 0x00000000  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0xf0191b20  r19: 0x00000000
   r20: 0xf01918d8  r21: 0x003c4e80  r22: 0xf0191850  r23: 0xf01918dc
   r24: 0x05344e10  r25: 0x05348160  r26: 0x05344e00  r27: 0x00000011
   r28: 0x00000000  r29: 0x05344e1c  r30: 0x05344e30  r31: 0x93c05c10
_______________________________________________
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


  • Follow-Ups:
    • Re: crashing in calls to AudioConverter on 10.3.9
      • From: William Stewart <email@hidden>
References: 
 >crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: William Stewart <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: William Stewart <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: Christopher Ashworth <email@hidden>)
 >Re: crashing in calls to AudioConverter on 10.3.9 (From: William Stewart <email@hidden>)

  • Prev by Date: Re: crashing in calls to AudioConverter on 10.3.9
  • Next by Date: Setting kAudioDevicePropertyBufferFrameSize
  • Previous by thread: Re: crashing in calls to AudioConverter on 10.3.9
  • Next by thread: Re: crashing in calls to AudioConverter on 10.3.9
  • Index(es):
    • Date
    • Thread