PixelExperience/android-issues

Bluetooth connection issues / looping icon

Closed this issue · 2 comments

Build Date

PixelExperience_Plus_instantnoodlep-13.0-20240126-1952-OFFICIAL

Device

instantnoodlep

Version

thirteen_plus

Describe the Bug

Has my phone connected to my car and after a couple of hours of usage, the Bluetooth icon starts looping on and off and after some time the phone shuts off the connection.

01-30 11:11:59.670 25528 25528 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 01-30 11:11:59.671 25528 25528 F DEBUG : Build fingerprint: 'OnePlus/OnePlus8Pro/OnePlus8Pro:13/TQ3A.230901.001.B1/1952:userdebug/release-keys' 01-30 11:11:59.671 25528 25528 F DEBUG : Revision: '0' 01-30 11:11:59.671 25528 25528 F DEBUG : ABI: 'arm64' 01-30 11:11:59.671 25528 25528 F DEBUG : Timestamp: 2024-01-30 11:11:59.066469349+0100 01-30 11:11:59.671 25528 25528 F DEBUG : Process uptime: 0s 01-30 11:11:59.671 25528 25528 F DEBUG : Cmdline: com.android.bluetooth 01-30 11:11:59.671 25528 25528 F DEBUG : pid: 5222, tid: 5383, name: bt_stack_manage >>> com.android.bluetooth <<< 01-30 11:11:59.671 25528 25528 F DEBUG : uid: 1002 01-30 11:11:59.671 25528 25528 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- 01-30 11:11:59.671 25528 25528 F DEBUG : Abort message: 'assertion 'fd_ != -1' failed - cannot create timerfd: Too many open files' 01-30 11:11:59.671 25528 25528 F DEBUG : x0 0000000000000000 x1 0000000000001507 x2 0000000000000006 x3 0000006e9875fc60 01-30 11:11:59.671 25528 25528 F DEBUG : x4 621f2c1f63646b68 x5 621f2c1f63646b68 x6 621f2c1f63646b68 x7 7f7f7f7f7f7f7f7f 01-30 11:11:59.671 25528 25528 F DEBUG : x8 00000000000000f0 x9 00000071c4509a00 x10 0000000000000001 x11 00000071c4547d54 01-30 11:11:59.671 25528 25528 F DEBUG : x12 0000006e9875eb00 x13 000000000000004a x14 0000006e9875fe90 x15 0000000034155555 01-30 11:11:59.671 25528 25528 F DEBUG : x16 00000071c45acd50 x17 00000071c458af90 x18 0000006e97cfa040 x19 0000000000001466 01-30 11:11:59.671 25528 25528 F DEBUG : x20 0000000000001507 x21 00000000ffffffff x22 0000006e98760610 x23 0000006f2d616000 01-30 11:11:59.671 25528 25528 F DEBUG : x24 b400006f7eafe5f0 x25 b400006fdeaf99b0 x26 b400006fdeaf84d0 x27 b400006f7eb0aa70 01-30 11:11:59.671 25528 25528 F DEBUG : x28 0000006eaeb51158 x29 0000006e9875fce0 01-30 11:11:59.671 25528 25528 F DEBUG : lr 00000071c4539958 sp 0000006e9875fc40 pc 00000071c4539984 pst 0000000000001000 01-30 11:11:59.671 25528 25528 F DEBUG : backtrace: 01-30 11:11:59.671 25528 25528 F DEBUG : #00 pc 0000000000051984 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 2540f9f2adb8fe4ada17cca424bf790d) 01-30 11:11:59.671 25528 25528 F DEBUG : #01 pc 000000000060c370 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+112) (BuildId: e0e444695a985bf44ec605bee9afb17d) 01-30 11:11:59.671 25528 25528 F DEBUG : #02 pc 0000000000016ea8 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80) (BuildId: b77c57f68a484ed93d5a7eda59d83bf9) 01-30 11:11:59.671 25528 25528 F DEBUG : #03 pc 0000000000006e04 /system/lib64/liblog.so (__android_log_assert+308) (BuildId: bbb38a8c07ddc27a5b6a5f18701d4fb9) 01-30 11:11:59.671 25528 25528 F DEBUG : #04 pc 0000000000a346d4 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Alarm::Alarm(bluetooth::os::Handler*)+276) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #05 pc 0000000000937144 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::hci::LeAdvertisingManager::impl::create_extended_advertiser(int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)> const&, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)> const&, unsigned short, unsigned char, bluetooth::os::Handler*)+2152) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #06 pc 00000000009521d0 /apex/com.android.btservices/lib64/libbluetooth_jni.so (void base::internal::FunctorTraits<void (bluetooth::hci::LeAdvertisingManager::impl::*)(int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)> const&, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)> const&, unsigned short, unsigned char, bluetooth::os::Handler*), void>::Invoke<void (bluetooth::hci::LeAdvertisingManager::impl::*)(int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)> const&, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)> const&, unsigned short, unsigned char, bluetooth::os::Handler*), bluetooth::hci::LeAdvertisingManager::impl*, int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)>, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)>, unsigned short, unsigned char, bluetooth::os::Handler*>(void (bluetooth::hci::LeAdvertisingManager::impl::*)(int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)> const&, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)> const&, unsigned short, unsigned char, bluetooth::os::Handler*), bluetooth::hci::LeAdvertisingManager::impl*&&, int&&, unsigned char&&, bluetooth::hci::ExtendedAdvertisingConfig&&, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)>&&, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)>&&, unsigned short&&, unsigned char&&, bluetooth::os::Handler*&&)+288) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #07 pc 0000000000952084 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::internal::Invoker<base::internal::BindState<void (bluetooth::hci::LeAdvertisingManager::impl::*)(int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)> const&, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)> const&, unsigned short, unsigned char, bluetooth::os::Handler*), base::internal::UnretainedWrapper<bluetooth::hci::LeAdvertisingManager::impl>, int, unsigned char, bluetooth::hci::ExtendedAdvertisingConfig, base::RepeatingCallback<void (bluetooth::hci::Address, bluetooth::hci::AddressType)>, base::RepeatingCallback<void (bluetooth::hci::ErrorCode, unsigned char, unsigned char)>, unsigned short, unsigned char, bluetooth::os::Handler*>, void ()>::RunOnce(base::internal::BindStateBase*)+92) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #08 pc 00000000009e0d94 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Handler::handle_next_event()+236) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #09 pc 0000000000a35d28 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Reactor::Run()+584) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #10 pc 0000000000a36a24 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Thread::run(bluetooth::os::Thread::Priority)+176) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #11 pc 0000000000a36bac /apex/com.android.btservices/lib64/libbluetooth_jni.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (bluetooth::os::Thread::*)(bluetooth::os::Thread::Priority), bluetooth::os::Thread*, bluetooth::os::Thread::Priority> >(void*)+68) (BuildId: fec4d0b2b4f3651010e984486d920e38) 01-30 11:11:59.671 25528 25528 F DEBUG : #12 pc 00000000000b7680 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 2540f9f2adb8fe4ada17cca424bf790d) 01-30 11:11:59.671 25528 25528 F DEBUG : #13 pc 00000000000530a8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 2540f9f2adb8fe4ada17cca424bf790d) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: FATAL EXCEPTION: SysUiBg 01-30 12:33:58.410 14083 14111 E AndroidRuntime: Process: com.android.systemui, PID: 14083 01-30 12:33:58.410 14083 14111 E AndroidRuntime: java.lang.RuntimeException: Error receiving broadcast Intent { act=android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED flg=0x1000010 (has extras) } in com.android.settingslib.bluetooth.BluetoothEventManager$BluetoothBroadcastReceiver@72f9e20 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1800) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:437) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:338) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:344) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:291) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.onProfileConnectionStateChanged(BluetoothControllerImpl.java:411) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.settingslib.bluetooth.BluetoothEventManager.dispatchProfileConnectionStateChanged(BluetoothEventManager.java:212) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.settingslib.bluetooth.LocalBluetoothProfileManager$StateChangedHandler.onReceiveInternal(LocalBluetoothProfileManager.java:388) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.settingslib.bluetooth.LocalBluetoothProfileManager$StateChangedHandler.onReceive(LocalBluetoothProfileManager.java:329) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at com.android.settingslib.bluetooth.BluetoothEventManager$BluetoothBroadcastReceiver.onReceive(BluetoothEventManager.java:280) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1790) 01-30 12:33:58.410 14083 14111 E AndroidRuntime: ... 6 more

Steps to Reproduce

Install either this version or the previous one.
Connect the phone to your car, for me it´s a Skoda Superb 2012 4x4 2.0 TDI with the Bolero headunit.
Start streaming from Spotify.
After awhile, the Bluetooth icon will start to loop on and off and then kills the connection.

Expected Behavior

Well, when I was running OOS I´ve never had this issue at all.

Possible Solution

No response

Issue created! You can close at any time by commenting /close

Hello, I hope you are well, thanks for your feedback/report, we have ended support for Android 13. We hope you will be with us in the future to make the Android 14 experience as stable as possible.