[Pixel C Android Development] matt.weatherford:
I've not used bluetooth in a while, so no idea how long this has not been working - I have a magnetic keyboard that when I attach the magnet base to the PixelC it asks if I want to turn on bluetooth. Well, bluetooth never fininshes turning on.... it says"turning on" but it waits then eventually turns back off.

i see this in logcat:

05-05 13:26:21.251 0 0 E serial-tegra 70006300.serial: HACK: 2 stop bits

05-05 13:26:21.767 238 27939 I bt_hwcfg: vendor lib fwcfg completed

05-05 13:26:21.767 238 27939 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured result: 0

05-05 13:26:21.767 238 27939 I android.hardware.bluetooth@1.0-impl: Firmware configured in 0.881s

05-05 13:26:21.768 238 27939 I android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured: lpm_timeout_ms 1500

05-05 13:26:21.768 238 27939 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured Calling StartLowPowerWatchdog()

05-05 13:26:21.769 238 27939 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0

05-05 13:26:22.032 27898 27937 F bluetooth: assertion 'waiting_command_ == op_code' failed - Waiting for 0x202a (LE_READ_RESOLVING_LIST_SIZE), got 0x2028 (LE_REMOVE_DEVICE_FROM_RESOLVING_LIST)

05-05 13:26:22.033 27898 27937 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 27937 (bt_stack_manage), pid 27898 (droid.bluetooth)

05-05 13:26:22.122 27942 27942 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto

05-05 13:26:22.123 206 206 I tombstoned: received crash request for pid 27937

05-05 13:26:22.124 27942 27942 I crash_dump64: performing dump of process 27898 (target tid = 27937)

05-05 13:26:22.143 27942 27942 E DEBUG : failed to read process info: failed to open /proc/27937

05-05 13:26:22.096 0 0 I logd : logdr: UID=1002 GID=1002 PID=27942 n tail=0 logMask=8 pid=27898 start=0ns deadline=0ns

05-05 13:26:22.101 0 0 I logd : logdr: UID=1002 GID=1002 PID=27942 n tail=0 logMask=1 pid=27898 start=0ns deadline=0ns

05-05 13:26:22.598 27942 27942 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

05-05 13:26:22.598 27942 27942 F DEBUG : Build fingerprint: 'google/ryu/dragon:8.1.0/OPM1.171019.016/4503492:user/release-keys'

05-05 13:26:22.598 27942 27942 F DEBUG : Revision: '0'

05-05 13:26:22.598 27942 27942 F DEBUG : ABI: 'arm64'

05-05 13:26:22.598 27942 27942 F DEBUG : Timestamp: 2022-05-05 13:26:22.142825986-0700

05-05 13:26:22.598 27942 27942 F DEBUG : Process uptime: 0s

05-05 13:26:22.598 27942 27942 F DEBUG : Cmdline: com.android.bluetooth

05-05 13:26:22.598 27942 27942 F DEBUG : pid: 27898, tid: 27937, name: bt_stack_manage >>> com.android.bluetooth <<<

05-05 13:26:22.598 27942 27942 F DEBUG : uid: 1002

05-05 13:26:22.598 27942 27942 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------

05-05 13:26:22.598 27942 27942 F DEBUG : Abort message: 'assertion 'waiting_command_ == op_code' failed - Waiting for 0x202a (LE_READ_RESOLVING_LIST_SIZE), got 0x2028 (LE_REMOVE_DEVICE_FROM_RESOLVING_LIST)'

05-05 13:26:22.598 27942 27942 F DEBUG : x0 0000000000000000 x1 0000000000006d21 x2 0000000000000006 x3 00000070b350fe60

05-05 13:26:22.598 27942 27942 F DEBUG : x4 00000073e569b000 x5 00000073e569b000 x6 00000073e569b000 x7 0000000000000000

05-05 13:26:22.598 27942 27942 F DEBUG : x8 00000000000000f0 x9 00000073d03c7090 x10 ffffff00fffffbdf x11 0000000000000001

05-05 13:26:22.598 27942 27942 F DEBUG : x12 00000070b350fe30 x13 0000000000000095 x14 00000070b3510000 x15 0001f6b2fcff4509

05-05 13:26:22.599 27942 27942 F DEBUG : x16 00000073d0466050 x17 00000073d0443570 x18 00000070b26a0000 x19 00000000000000ac

05-05 13:26:22.599 27942 27942 F DEBUG : x20 0000000000006cfa x21 00000000000000b2 x22 0000000000006d21 x23 00000000ffffffff

05-05 13:26:22.599 27942 27942 F DEBUG : x24 00000070b3511000 x25 0000000000000000 x26 00000070b7161ea0 x27 00000070b71622c0

05-05 13:26:22.599 27942 27942 F DEBUG : x28 00000071cc93a640 x29 00000070b350fee0

05-05 13:26:22.599 27942 27942 F DEBUG : lr 00000073d03f4d6c sp 00000070b350fe40 pc 00000073d03f4d9c pst 0000000000000000

05-05 13:26:22.599 27942 27942 F DEBUG : backtrace:

05-05 13:26:22.599 27942 27942 F DEBUG : #00 pc 000000000004fd9c /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: f5e89613bcaed6587034f9be306e6cbb)

05-05 13:26:22.599 27942 27942 F DEBUG : #01 pc 000000000082f72c /system/lib64/libbluetooth.so (__android_log_default_aborter+12) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #02 pc 0000000000830254 /system/lib64/libbluetooth.so (__android_log_assert+308) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #03 pc 00000000006f754c /system/lib64/libbluetooth.so (void bluetooth::hci::HciLayer::impl::handle_command_response<bluetooth::hci::CommandCompleteView>(bluetooth::hci::EventView, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)+1452) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #04 pc 00000000006ee2e0 /system/lib64/libbluetooth.so (bluetooth::hci::HciLayer::impl::on_command_complete(bluetooth::hci::EventView)+328) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #05 pc 00000000006f26a0 /system/lib64/libbluetooth.so (void base::internal::FunctorTraits<void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), void>::Invoke<void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), bluetooth::hci::HciLayer::impl*, bluetooth::hci::EventView>(void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), bluetooth::hci::HciLayer::impl*&&, bluetooth::hci::EventView&&)+312) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #06 pc 00000000006fa240 /system/lib64/libbluetooth.so (base::internal::Invoker<base::internal::BindState<void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), base::internal::UnretainedWrapper<bluetooth::hci::HciLayer::impl> >, void (bluetooth::hci::EventView)>::Run(base::internal::BindStateBase*, bluetooth::hci::EventView&&)+56) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #07 pc 00000000006f58f0 /system/lib64/libbluetooth.so (void base::internal::FunctorTraits<base::RepeatingCallback<void (bluetooth::hci::EventView)>, void>::Invoke<base::RepeatingCallback<void (bluetooth::hci::EventView)>, bluetooth::hci::EventView>(base::RepeatingCallback<void (bluetooth::hci::EventView)>&&, bluetooth::hci::EventView&&)+296) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #08 pc 000000000081b764 /system/lib64/libbluetooth.so (bluetooth::os::Handler::handle_next_event()+244) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #09 pc 000000000081c078 /system/lib64/libbluetooth.so (bluetooth::os::Reactor::Run()+608) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #10 pc 000000000081c9cc /system/lib64/libbluetooth.so (bluetooth::os:🧵:run(bluetooth::os:🧵:Priority)+172) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.599 27942 27942 F DEBUG : #11 pc 000000000081cb38 /system/lib64/libbluetooth.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:🧵:*)(bluetooth::os:🧵:Priority), bluetooth::os::Thread*, bluetooth::os:🧵:Priority> >(void*)+64) (BuildId: 8b6a967fea93a380e2b10af53e834b1f)

05-05 13:26:22.600 27942 27942 F DEBUG : #12 pc 00000000000b32a8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: f5e89613bcaed6587034f9be306e6cbb)

05-05 13:26:22.600 27942 27942 F DEBUG : #13 pc 0000000000051638 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: f5e89613bcaed6587034f9be306e6cbb)

05-05 13:26:22.663 206 206 E tombstoned: Tombstone written to: tombstone_45

05-05 13:26:22.666 448 27948 I DropBoxManagerService: add tag=system_app_native_crash isTagEnabled=true flags=0x2

05-05 13:26:22.668 448 477 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver

@followmsi can i log a bug for you somewhere?

-Matt