Re: Really puzzling ExtAudioFileRead crash...
Re: Really puzzling ExtAudioFileRead crash...
- Subject: Re: Really puzzling ExtAudioFileRead crash...
- From: "tahome izwah" <email@hidden>
- Date: Mon, 7 Jan 2008 08:43:12 +0100
I don't know if this means anything but I am seeing the same crash
here... the code looks ok to me.
--th
2008/1/4, Stephan M. Bernsee <email@hidden>:
>
> Hi all,
>
> I have spent the past few hours trying to figure out what I am doing
> wrong in the below piece of code. Basically, I am trying to read an
> MP3 audio file using the ExtAudioFile API and convert it to Float32
> for further processing. I am compiling the code with Xcode 3 on a PPC
> Mac running 10.5.1 and I am experiencing some very strange crashes.
> The same code worked flawlessly on Tiger, so it must be something in
> Leopard that causes it to behave like this. The thing is that if I
> read uncompressed AIFF or WAVE files the code works fine, but as soon
> as I am trying to read a file in MP3 format the code works for a
> little over 26 seconds into the file, and then crashes inside the
> ExtAudioFileRead() method. I have no clue whatsoever what I might be
> doing wrong here, as everything looks ok to me. Also, I would expect
> the code to either crash or work, and not crash after 26 seconds of
> play time...
>
> In oder to make sure it's not some threading issue in my project that
> is causing this I have isolated the code and created a separate
> project to test this with, and the problem still persists. So, before
> I go ahead and file an official bug report (and risk making a fool of
> myself in the process because I might have overlooked something ;-) )
> I am seeking your expert advice in order to find out if there is
> something I am missing, or if this is indeed a bug in
> ExtAudioFileRead().
>
> I'd greatly appreciate if someone from the CA team could give this a
> spin and let me know if it is just me or indeed a problem in 10.5.1.
>
> You can find the entire test project at
>
> http://stephan.bernsee.com/ExtAudioFileReadTest.zip (45 kB)
>
> This is where the crash happens:
>
> #0 0x001ff978 in MPEGAudioFile::ReadPackets
> #1 0x001ff84c in MPEGAudioFile::ReadPackets
> #2 0x0021e440 in ExtAudioFile::ReadInputProc
> #3 0x00196794 in AudioConverterChain::DirectCallInputProc
> #4 0x00196598 in CodecConverter::CallInputProc
> #5 0x001960ac in CodecConverter::DecoderFillBuffer
> #6 0x0018be50 in AudioConverterChain::RenderOutput
> #7 0x0018bce0 in BufferedAudioConverter::FillBuffer
> #8 0x0019fd04 in AudioConverterFillComplexBuffer
> #9 0x00220bd8 in ExtAudioFile::Read
> #10 0x00214488 in ExtAudioFileRead
> #11 0x000027c8 in -[EAFRead readFloatsConsecutive:intoArray:] at
> EAFRead.mm:94
> #12 0x00002a84 in -[EAFRead init] at EAFRead.mm:151
> #13 0x00002490 in main at main.m:11
>
> I'd appreciate any thoughts you might have.
>
> Thanks and best regards
> Stephan Bernsee
>
>
> _______________________________________________
> 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
>
_______________________________________________
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