• 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: AudioConvertor crash on i386 - what does it mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConvertor crash on i386 - what does it mean?


  • Subject: Re: AudioConvertor crash on i386 - what does it mean?
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 5 Jun 2006 14:12:07 -0700

A bad pointer: 0x0f22b000 appears in "KERN_INVALID_ADDRESS" and is in register esi

Doug

On Jun 5, 2006, at 13:37 , Evan Olcott wrote:

OK, just got a few reports of this from an i386 user.
I'm familiar with what the PPC registers might have told me about this, but I'm not familiar with the i386 registers.


Am I passing AudioConverterConvertBuffer a *nil* pointer or a *bad* pointer?
And to quote Purple Rain: "Any idea how she mighta got dat way?"


It's only come from one user, and Intel users of our products are abound - and this is coming from a VERY commonly called routine (buffer filling). 99.9999% of the time, this routine has no problem.

====

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x0f22b000

<snip>

Thread 12 Crashed:
0 <<00000000>> 0xffff0832 __memcpy + 146 (cpu_capabilities.h:186)
1 ....audio.toolbox.AudioToolbox 0x93e79c03 AudioConverterChain::FillBufferFromInputProc(unsigned long*, unsigned long*, CABufferList*) + 313
2 ....audio.toolbox.AudioToolbox 0x93e79376 BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 234
3 ....audio.toolbox.AudioToolbox 0x93e79207 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 119
4 ....audio.toolbox.AudioToolbox 0x93e78f6b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 211
5 ....audio.toolbox.AudioToolbox 0x93e790f9 AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 93
6 ....audio.toolbox.AudioToolbox 0x93ee8034 AudioConverterChain::ConvertBuffer(unsigned long, unsigned char*, unsigned long&, unsigned char*) + 148
7 ....audio.toolbox.AudioToolbox 0x93e9cb3b AudioConverterConvertBuffer + 143
8 com.audiofile.AFAudioFile 0x002403ca -[AFEditBlock fillBuffer:forRange:convertor:bitsPerSample:] + 500


<snip>

Thread 12 crashed with i386 Thread State:
eax: 0x00004000    ebx: 0x93e9cab9 ecx:0x00001000 edx: 0xffffc000
edi: 0x0e807000    esi: 0x0f22b000 ebp:0xb02b0ea8 esp: 0xb02b0ea0
 ss: 0x0000002f    efl: 0x00010207 eip:0xffff0832  cs: 0x00000027
 ds: 0x0000002f     es: 0x0000002f  fs:0x00000000  gs: 0x00000037

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden

-- Doug Wyatt Core Audio, Apple

_______________________________________________
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


References: 
 >AudioConvertor crash on i386 - what does it mean? (From: Evan Olcott <email@hidden>)

  • Prev by Date: AudioConvertor crash on i386 - what does it mean?
  • Next by Date: Digi 002 R
  • Previous by thread: AudioConvertor crash on i386 - what does it mean?
  • Next by thread: Digi 002 R
  • Index(es):
    • Date
    • Thread