• 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
Crashing at CABitStreamReader::FillCache() + 233
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crashing at CABitStreamReader::FillCache() + 233


  • Subject: Crashing at CABitStreamReader::FillCache() + 233
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 1 Apr 2008 12:41:06 -0700

The continuing saga of ADTS streaming ... everything's awesome, except that the person helping me test the app has twice in 15 minutes hit the following crash, several minutes into playing an incoming audio stream. We haven't been able to reproduce it on my machine, unfortunately.

The crash is way inside my call to AudioFileStreamParseBytes, down in AudioToolbox code parsing ADTS packets. Both backtraces were identical.
I am pretty sure that the byte range passed to AudioFileStreamParseBytes points to valid memory, since it came from an NSData object. Messaging a bogus Obj-C object pointer generally crashes immediately rather than returning garbage to the caller.


Any ideas?

—Jens

Date/Time:       2008-04-01 10:54:54.650 -0700
OS Version:      Mac OS X 10.5.2 (9C7010)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000613000
Crashed Thread:  0

Thread 0 Crashed:
0 ....audio.toolbox.AudioToolbox 0x95f23399 CABitStreamReader::FillCache() + 233
1 ....audio.toolbox.AudioToolbox 0x95f231f3 CABitStreamReader::ReadBits(unsigned long) + 99
2 ....audio.toolbox.AudioToolbox 0x9600c037 ADTSAudioStream::ParseADTSPacket(unsigned long, unsigned char const*, ADTSPacketDesc&, bool) + 311
3 ....audio.toolbox.AudioToolbox 0x9600c4f8 ADTSAudioStream::GeneratePackets() + 776
4 ....audio.toolbox.AudioToolbox 0x95fe1cb5 AudioFileStreamObject::ParseBytes(unsigned long, void const*, unsigned long) + 117
5 ....audio.toolbox.AudioToolbox 0x95fe17de AudioFileStreamParseBytes + 110
[rest of backtrace is my app's code, on the main thread]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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 at CABitStreamReader::FillCache() + 233
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: AudioUnitScheduleParameter + AUVarispeed
  • Next by Date: Re: Deprecated in OS 10.5 [ANSWERED]
  • Previous by thread: Re: AudioUnitScheduleParameter + AUVarispeed
  • Next by thread: Re: Crashing at CABitStreamReader::FillCache() + 233
  • Index(es):
    • Date
    • Thread