[ONE Android Development] mammenj:
Probably a known issue that audio/media crashes! on some apps,

let me know if complete logs are required.

2-16 06:46:45.592 I/DEBUG ( 244): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-16 06:46:45.593 W/NativeCrashListener( 779): Couldn't find ProcessRecord for pid 247 02-16 06:46:45.593 E/DEBUG ( 244): AM write failure (32 / Broken pipe) 02-16 06:46:45.593 I/DEBUG ( 244): Build fingerprint: 'oneplus/bacon/A0001:4.4.2/KVT49L/XNPH25R:user/release-keys' 02-16 06:46:45.593 I/DEBUG ( 244): Revision: '0' 02-16 06:46:45.593 I/DEBUG ( 244): ABI: 'arm' 02-16 06:46:45.593 I/DEBUG ( 244): pid: 247, tid: 19403, name: NuPlayerDriver >>> /system/bin/mediaserver <<< 02-16 06:46:45.593 I/DEBUG ( 244): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xb6e5e4e6 02-16 06:46:45.613 I/DEBUG ( 244): Abort message: 'frameworks/av/media/libstagefright/MediaCodec.cpp:157 CHECK_EQ( mState,UNINITIALIZED) failed: 6 vs. 0' 02-16 06:46:45.613 I/DEBUG ( 244): r0 00000072 r1 ae8ff6e0 r2 00000006 r3 00000072 02-16 06:46:45.613 I/DEBUG ( 244): r4 ae8ff7cc r5 ae8ffbf4 r6 b643f3a8 r7 ae8ffc04 02-16 06:46:45.613 I/DEBUG ( 244): r8 00000000 r9 ae61935c sl ae619370 fp ae619398 02-16 06:46:45.613 I/DEBUG ( 244): ip ae8ff718 sp ae8ff7c8 lr b6e5df85 pc b6e5e4e6 cpsr 60010030 02-16 06:46:45.614 I/DEBUG ( 244): 02-16 06:46:45.614 I/DEBUG ( 244): backtrace: 02-16 06:46:45.614 I/DEBUG ( 244): #00 pc 000094e6 /system/lib/libcutils.so (__android_log_assert+73) 02-16 06:46:45.614 I/DEBUG ( 244): #01 pc 00093e13 /system/lib/libstagefright.so (android::MediaCodec::~MediaCodec()+930) 02-16 06:46:45.614 I/DEBUG ( 244): #02 pc 00093e4f /system/lib/libstagefright.so (android::MediaCodec::~MediaCodec()+6) 02-16 06:46:45.614 I/DEBUG ( 244): #03 pc 0000fd71 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+96) 02-16 06:46:45.614 I/DEBUG ( 244): #04 pc 0004d2c3 /system/lib/libmediaplayerservice.so (android::NuPlayer::Decoder::~Decoder()+306) 02-16 06:46:45.614 I/DEBUG ( 244): #05 pc 0004d343 /system/lib/libmediaplayerservice.so (android::NuPlayer::Decoder::~Decoder()+6) 02-16 06:46:45.614 I/DEBUG ( 244): #06 pc 0000fd71 /system/lib/libutils.so (android::RefBase::decStrong(void const*) const+96) 02-16 06:46:45.614 I/DEBUG ( 244): #07 pc 0004a4e5 /system/lib/libmediaplayerservice.so (android::NuPlayer::onMessageReceived(android::sp<android::AMessage> const&)+320) 02-16 06:46:45.614 I/DEBUG ( 244): #08 pc 0000ba17 /system/lib/libstagefright_foundation.so (android::ALooperRoster::deliverMessage(android::sp<android::AMessage> const&)+174) 02-16 06:46:45.614 I/DEBUG ( 244): #09 pc 0000b2f7 /system/lib/libstagefright_foundation.so (android::ALooper::loop()+134) 02-16 06:46:45.614 I/DEBUG ( 244): #10 pc 00012bad /system/lib/libutils.so (android::Thread::_threadLoop(void*)+124) 02-16 06:46:45.614 I/DEBUG ( 244): #11 pc 00014fe1 /system/lib/libc.so (__pthread_start(void*)+36) 02-16 06:46:45.614 I/DEBUG ( 244): #12 pc 00011ed5 /system/lib/libc.so (__start_thread+8) 02-16 06:46:46.471 W//system/bin/mediaserver(19403): type=1701 audit(0.0:260): auid=4294967295 uid=1013 gid=1005 ses=4294967295 subj=u:r:mediaserver:s0 comm=4E75506C6179657244726976657220 reason="memory violation" sig=4 02-16 06:46:46.477 I/DEBUG ( 244): 02-16 06:46:46.477 I/DEBUG ( 244): Tombstone written to: /data/tombstones/tombstone_05 02-16 06:46:46.484 I/BootReceiver( 779): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE) 02-16 06:46:46.490 E/SharedPreferencesImpl( 779): Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml 02-16 06:46:46.501 I/ServiceManager( 234): service 'media.audio_flinger' died 02-16 06:46:46.501 W/AudioEffect( 1555): IEffect died 02-16 06:46:46.501 I/ServiceManager( 234): service 'media.player' died 02-16 06:46:46.501 I/ServiceManager( 234): service 'media.camera' died 02-16 06:46:46.501 I/ServiceManager( 234): service 'media.audio_policy' died 02-16 06:46:46.501 I/ServiceManager( 234): service 'media.sound_trigger_hw' died 02-16 06:46:46.501 W/AudioEffects-JNI( 1555): EVENT_ERROR 02-16 06:46:46.502 W/AudioEffect( 1555): IEffect died 02-16 06:46:46.502 W/AudioEffects-JNI( 1555): EVENT_ERROR 02-16 06:46:46.502 W/AudioSystem(19351): AudioFlinger server died! 02-16 06:46:46.502 W/IMediaDeathNotifier(19351): media server died 02-16 06:46:46.502 E/MediaPlayer(19351): error (100, 0) 02-16 06:46:46.502 E/MediaPlayer(19351): error (100, 0) 02-16 06:46:46.502 W/AudioEffect( 1555): IEffect died 02-16 06:46:46.502 E/MediaPlayer(19351): error (100, 0) 02-16 06:46:46.502 W/AudioEffects-JNI( 1555): EVENT_ERROR 02-16 06:46:46.502 W/AudioEffect( 1555): IEffect died 02-16 06:46:46.502 W/AudioEffects-JNI( 1555): EVENT_ERROR 02-16 06:46:46.503 W/AudioSystem( 779): AudioFlinger server died! 02-16 06:46:46.503 W/IMediaDeathNotifier( 779): media server died 02-16 06:46:46.503 W/AudioSystem( 1555): AudioFlinger server died! 02-16 06:46:46.503 W/AudioSystem( 779): AudioPolicyService server died! 02-16 06:46:46.504 E/MediaPlayer(19351): Error (100,0) 02-16 06:46:46.505 I/ThermalEngine( 254): Thermal-Server: removing client on fd 6 02-16 06:46:46.506 W/SoundTrigger( 779): Sound trigger service died! 02-16 06:46:46.506 W/AudioSystem( 1197): AudioFlinger server died! 02-16 06:46:46.507 W/IMediaDeathNotifier( 1197): media server died 02-16 06:46:46.507 W/AudioSystem( 1197): AudioPolicyService server died! 02-16 06:46:46.507 W/AudioSystem(17180): AudioFlinger server died! 02-16 06:46:46.507 W/AudioSystem(17180): AudioPolicyService server died! 02-16 06:46:46.508 W/AudioSystem(13246): AudioFlinger server died! 02-16 06:46:46.508 W/AudioRecord( 5525): dead IAudioRecord, creating a new one from obtainBuffer() 02-16 06:46:46.508 W/AudioSystem( 5525): AudioFlinger server died! 02-16 06:46:46.508 W/AudioSystem( 5525): AudioPolicyService server died! 02-16 06:46:46.509 W/AudioSystem(18393): AudioPolicyService server died! 02-16 06:46:46.509 W/CameraBase(19165): Camera service died! 02-16 06:46:46.510 W/AudioSystem(17048): AudioPolicyService server died! 02-16 06:46:46.510 W/AudioSystem(19034): AudioPolicyService server died! 02-16 06:46:46.511 W/AudioSystem( 1568): AudioPolicyService server died! 02-16 06:46:46.512 W/AudioSystem(14609): AudioPolicyService server died! 02-16 06:46:46.513 E/AudioService( 779): Media server died. 02-16 06:46:46.513 E/AudioService(19351): Error: what=100, extra=0 02-16 06:46:46.513 I/ServiceManager( 5525): Waiting for service media.audio_flinger... 02-16 06:46:46.514 I/ServiceManager(19351): Waiting for service media.audio_flinger... 02-16 06:46:47.014 E/AudioService( 779): Media server died. 02-16 06:46:47.519 I/ServiceManager(19351): Waiting for service media.audio_flinger... 02-16 06:46:47.519 E/AudioService( 779): Media server died. 02-16 06:46:47.544 I/ServiceManager( 5525): Waiting for service media.audio_flinger... 02-16 06:46:48.021 E/AudioService( 779): Media server died. 02-16 06:46:48.520 I/ServiceManager(19351): Waiting for service media.audio_flinger... 02-16 06:46:48.523 E/AudioService( 779): Media server died. 02-16 06:46:48.584 I/ServiceManager( 5525): Waiting for service media.audio_flinger... 02-16 06:46:48.832 I/mediaserver(19507): ServiceManager: 0xb5e500c0 02-16 06:46:48.832 I/AudioFlinger(19507): Using default 3000 mSec as standby time. 02-16 06:46:48.833 E/MediaPlayerFactory(19507): calling dlopen on FACTORY_LIB 02-16 06:46:48.839 E/MediaPlayerFactory(19507): calling dlsym on pFactoryLib for FACTORY_CREATE_FN 02-16 06:46:48.839 E/MediaPlayerFactory(19507): registering DASH Player factory... 02-16 06:46:48.840 I/CameraService(19507): CameraService started (pid=19507) 02-16 06:46:48.917 D/mm-camera-intf(19507): index = 0 flag = 1 mount_angle = 90 facing = 0 02-16 06:46:48.917 D/mm-camera-intf(19507): index = 1 flag = 103 mount_angle = 270 facing = 1 02-16 06:46:48.918 I/CameraService(19507): Loaded "QCamera Module" camera module 02-16 06:46:48.921 I/AudioPolicyService(19507): AudioPolicyService CSTOR in new mode 02-16 06:46:48.925 I/AudioPolicyManager(19507): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf 02-16 06:46:48.930 D/audio_hw_primary(19507): adev_open: enter 02-16 06:46:49.024 E/AudioService( 779): Media server started. 02-16 06:46:49.227 D/msm8974_platform(19507): platform_init: Opened sound card:0 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_General_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_Global_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_Handset_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_Hdmi_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_Headset_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> Load file: /etc/acdbdata/MTP/MTP_Speaker_cal.acdb 02-16 06:46:49.233 D/ACDB-LOADER(19507): ACDB -> ACDB_CMD_INITIALIZE_V2 02-16 06:46:49.236 D/ (19507): [ACDB Command]->SW Minor/Major/Revision version mismatch warning /etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb 02-16 06:46:49.236 D/ (19507): [ACDB Command]->ACDB Sw Major = 3, ACDB Sw Minor = 0, ACDB Sw Revision = 0 02-16 06:46:49.236 D/ (19507): [ACDB Command]->ACDB File Major = 3, ACDB File Minor = 0, ACDB File Revision = 2