mediaserverd often crashes with 320 kbps tracks on iOS 6.1.x
mediaserverd often crashes with 320 kbps tracks on iOS 6.1.x
- Subject: mediaserverd often crashes with 320 kbps tracks on iOS 6.1.x
- From: Jan <email@hidden>
- Date: Tue, 07 May 2013 14:53:21 +0200
Hi,
This is not strictly CoreAudio, but I wanted to see if anyone has any input on this since we are running against a wall here. Any input is highly appreciated.
When accessing or playing tracks with 320 kbps bit rate through AVFoundation on iOS 6.1.x we see mediaserverd often crashing, leading the audio system to be reset and a AVAudioSessionMediaServicesWereResetNotification to be posted. All tracks from the online music store Beatport.com seem to be affected, as they are delivered as 320 kbps MP3 by default.
The crash can easily be reproduced in the iOS Music app by playing affected tracks repeatedly, e.g. switching between 2 tracks a number of times (usually 5-10 times is enough to trigger the crash). Any other app using AVURLAsset to access audio seems to be affected as well.
Following is part of the crash log from mediaserverd:
> Thread 19 name: Dispatch queue: URLAssetWorkQueue
> Thread 19 Crashed:
> 0 CoreFoundation 0x330aca42 CFDictionaryGetValue + 10
> 1 AudioToolbox 0x32c4cfc0 ID3FileStream::ProcessCommentFrame() + 136
> 2 AudioToolbox 0x32c4c924 ID3FileStream::ParseHeader(AudioFileStreamContinuation&) + 2584
> 3 AudioToolbox 0x32be81e2 AudioFileStreamWrapper::ParseBytes(unsigned long, void const*, unsigned long) + 154
> 4 AudioToolbox 0x32be5a30 AudioFileStreamParseBytes + 132
> 5 MediaToolbox 0x34226a84 PushBytesThroughParser + 392
> 6 MediaToolbox 0x34225fa6 FigAudioFileStreamFormatReaderCreateFromStream + 886
> 7 MediaToolbox 0x342297e6 InstantiateAudioFileStreamFormatReader + 98
> 8 MediaToolbox 0x341987b0 instantiateFormatReader + 48
> 9 MediaToolbox 0x34197f1a FigFormatReaderCreateForStream + 218
> 10 MediaToolbox 0x34307f80 EnsureFormatReaderCreated + 364
> 11 MediaToolbox 0x3430a566 ProduceFormatReaderAssetProperty + 802
> 12 MediaToolbox 0x34306a2c URLAssetPropertyWorkFunction + 232
> 13 libdispatch.dylib 0x3b426eca _dispatch_queue_drain$VARIANT$mp + 138
> 14 libdispatch.dylib 0x3b426dbc _dispatch_queue_invoke$VARIANT$mp + 36
> 15 libdispatch.dylib 0x3b42791a _dispatch_root_queue_drain + 182
> 16 libdispatch.dylib 0x3b427abc _dispatch_worker_thread2 + 80
> 17 libsystem_c.dylib 0x3b457a0e _pthread_wqthread + 358
> 18 libsystem_c.dylib 0x3b4578a0 start_wqthread + 4
We have reported this issue as rdar://13295498, but I wanted to see if anyone else is seeing this issue or is able to provide additional information or workaround.
Thanks!
Jan
_______________________________________________
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