[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] ShawnRose:
Bluetooth-related crashes

Hi, I've been using AICP 10.0 release (aicp_i9305_lp-10.0-RELEASE-20150708) for a while now, and I've had a very annoying recurring issues where bluetooth seems to fail.

My symptoms are occasionally it refusing to turn on (if you toggle it on it turns back off after a second or two) and worse if it's on and I'm playing music over it randomly rebooting the phone. If it crashes the phone, I find I need to do a full reboot as it's only seemingly doing a soft reboot, because if I continue to listen to music after soft reboot it usually crashes again in a few minutes. A full reboot seems to alleviate the issues to an extent.

No crashes have been found listening to music over the 3.5mm jack or via speakers.

I have a total of 10 crash logs (copied from /data/anr), all from SystemServer, all of which having roughly the same crashlog. I'll post the most likely part below, and if needed I can post all of them (I'd rather PM these to a developer due to worried about sensitive data).

DALVIK THREADS (87):
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x7315f000 self=0x42427800
| sysTid=2338 nice=-2 cgrp=default sched=0/0 handle=0x4007bbec
| state=S schedstat=( 88574733446 228422958202 193597 ) utm=6347 stm=2509 core=1 HZ=100
| stack=0xbe55f000-0xbe561000 stackSize=8MB
| held mutexes=
kernel: binder_thread_read+0x904/0xcf4
kernel: binder_ioctl+0x3e0/0x65c
kernel: do_vfs_ioctl+0x3c4/0x540
kernel: sys_ioctl+0x74/0x84
kernel: ret_fast_syscall+0x0/0x30
native: #00 pc 0003865c /system/lib/libc.so (__ioctl+8)
native: #01 pc 0004f8e5 /system/lib/libc.so (ioctl+14)
native: #02 pc 0001cb83 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
native: #03 pc 0001d18f /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+42)
native: #04 pc 0001d331 /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+124)
native: #05 pc 0001860f /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+30)
native: #06 pc 0004b5c7 /system/lib/libmedia.so (???)
native: #07 pc 00054b33 /system/lib/libmedia.so (android::AudioSystem::setParameters(int, android::String8 const&)+26)
native: #08 pc 00094d8b /system/lib/libandroid_runtime.so (???)
native: #09 pc 00017f09 /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_media_AudioSystem_setParameters__Ljava_lang_String_2+100)
at android.media.AudioSystem.setParameters(Native method)
at android.media.AudioService$AudioServiceBroadcastReceiver.onReceive(AudioService.java:5391)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:867)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at com.android.server.SystemServer.run(SystemServer.java:298)
at com.android.server.SystemServer.main(SystemServer.java:186)
at java.lang.reflect.Method.invoke!(Native method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

This is the only problem I have with AICP at the moment. I haven't flashed to the nightlies as at least when I looked I didn't see anything related to bluetooth in the changelogs, though I may have missed it. I'd prefer not having to do 'test flashes' if possible as this is my daily driver device, and I don't have a lot of free time out of work (6pm - 5:30 AM I'm either at work or on the road to it), and the issue isn't constant: there are times where I can do 2-3 days without a crash and others where I have to just turn off my music because it crashes so often. Thanks.