• 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: Crash in Resampler2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in Resampler2


  • Subject: Re: Crash in Resampler2
  • From: Tommy Braas <email@hidden>
  • Date: Sat, 14 Apr 2007 08:47:01 +1000

Bill,

I suspect that this problem lies in the fact that I have a feeder and a consumer thread using these buffers (as you could tell from the stack trace). I am quite sure the problem is in my code, and wondered under what conditions the scenario below could happen.

That being said, if you still feel that there might be a bug to address, I will happily file one.

Thanks,

\tommy


On Apr 13, 2007, at 3:32 , William Stewart wrote:

Please file a bug and include the full stack trace - some way to reproduce this would be helpful as well - http://bugreporter.apple.com

Thanks

On 11/04/2007, at 5:19 AM, Tommy Braas wrote:

Hi,

I get the following crash every once in a while trying to play back 24 bit audio files using my own framework. I have double, and triple checked that the buffers are the right size, and that I don't deallocate any of them while they're in use.

Does anyone know what the problem may be?

Thanking you in advance,

\tommy


Thread 4 Crashed:
0 <<00000000>> 0xffff0b5a __memcpy + 954 (cpu_capabilities.h:228)
1 ....audio.toolbox.AudioToolbox 0x93d2d941 Resampler2::Convert (float*, float*, unsigned long, int) + 7451
2 ....audio.toolbox.AudioToolbox 0x93d2bc0f Resampler2::Process2 (float*, float*, unsigned long, int) + 211
3 ....audio.toolbox.AudioToolbox 0x93d2a0cc Resampler2Wrapper::RenderOutput(CABufferList*, unsigned long, unsigned long&) + 534
4 ....audio.toolbox.AudioToolbox 0x93d2997b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 211
5 ....audio.toolbox.AudioToolbox 0x93d29b09 AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 93
6 ....audio.toolbox.AudioToolbox 0x93d2997b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 211
7 ....audio.toolbox.AudioToolbox 0x93d29808 AudioConverterFillComplexBuffer + 190
8 TestFramework 0x1000c292 - [ComplexAudioConverter fillComplexBuffer:buffer:packetDescription:] + 61
9 TestFramework 0x10013d84 - [ComplexAudioConverter convertBuffer] + 190
10 TestFramework 0x1001463a - [ComplexAudioConverter convertBufferRunLoop:] + 228
11 com.apple.Foundation 0x925ed36c forkThreadForFunction + 123
12 libSystem.B.dylib 0x90023d87 _pthread_body + 84




_______________________________________________
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

--
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
  • Follow-Ups:
    • Re: Crash in Resampler2
      • From: William Stewart <email@hidden>
References: 
 >Crash in Resampler2 (From: Tommy Braas <email@hidden>)
 >Re: Crash in Resampler2 (From: William Stewart <email@hidden>)

  • Prev by Date: Re: 3D Mixer Equal Power Panning - Follow up on panning
  • Next by Date: FFT-AU: strange behaviour
  • Previous by thread: Re: Crash in Resampler2
  • Next by thread: Re: Crash in Resampler2
  • Index(es):
    • Date
    • Thread