Re: Sound Mgr crash in LinearInterpolate16
Re: Sound Mgr crash in LinearInterpolate16
- Subject: Re: Sound Mgr crash in LinearInterpolate16
- From: Jeff Moore <email@hidden>
- Date: Tue, 18 Mar 2003 11:21:47 -0800
The primary reason we've found for crashes like this is the app
disposing of or otherwise trashing memory the Sound Manager is still
using. It is a timing thing, so it's hard to track down.
On Tuesday, March 18, 2003, at 10:43 AM, Kevin Parichan wrote:
I'm (still) using the Sound Manager on X to play some PCM style sounds
using the bufferCmd in a mach-o Carbon app. Nothing that I haven't done
before, but occasionally I'm getting a crash in a thread that appears
to
belong to the Sound Manager. The call stack is below. It's not much to
go
on, but if anyone has seen something similar or suggestions of what to
look for as a problem, let me know. Thanks.
-----
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x3bd88000
...
Thread 4 Crashed:
#0 0x08ab4d4c in LinearInterpolate16
#1 0x08ab1830 in RateConvert
#2 0x08ab1330 in __RateIntegerGetSourceData
#3 0x08ab0b1c in RateIntegerDispatch
#4 0x91790fc8 in SoundComponentGetSourceData
#5 0x08aad2fc in GetSoundData
#6 0x08aae44c in Get8BitSamplesToMix
#7 0x08aad62c in GetSourceData
#8 0x08aad514 in __MixerGetSourceData
#9 0x08aab1f0 in MixerDispatch
#10 0x91790fc8 in SoundComponentGetSourceData
#11 0x08aba524 in sdevFillBufferList
#12 0x08aba3d8 in sdevAudioDeviceIOProc
#13 0x94d84174 in XBasicDevice::CallIOProcs(AudioTimeStamp const*,
AudioTimeStamp const*, AudioTimeStamp const*)
#14 0x94d82ac8 in XThreadedDevice::HandleIO(AudioTimeStamp const&,
bool)
#15 0x94d82534 in XThreadedDevice::IOThread()
#16 0x94d95a24 in XThreadedDevice::IOThreadEntry(void*)
#17 0x94d911b0 in CAPThread::Entry(CAPThread*)
#18 0x90020d48 in _pthread_body
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.