Tool/software: Linux
Hi Singh,
Please contact and help me I facing same problem what you are facing "Title: BT services crashes"
Android O
Platform : Linux
I attached my log below
01-01 00:19:55.980 2597 2627 I bt_osi_thread: run_thread: thread id 2627, thread name hci_thread started
01-01 00:19:55.981 2597 2613 I bt_hci : hci_module_start_up bluetooth_rtk_h5_flag :0
01-01 00:19:55.981 2597 2613 I bt_hci : hci_module_start_up bluetooth_rtk_h5_flag :0 bt_hci_device_node:/dev/rtk_btusb
01-01 00:19:55.981 2597 2613 I rtk_parse: : rtk_profile_init, version: 2.0
01-01 00:19:55.981 2597 2613 E rtk_parse: OsAllocateTimer rtk_parse sigev.sigev_notify_thread_id = syscall(__NR_gettid)!
01-01 00:19:55.981 2597 2613 I rtk_parse: : alloc a2dp packet
01-01 00:19:55.981 2597 2613 E rtk_parse: OsAllocateTimer rtk_parse sigev.sigev_notify_thread_id = syscall(__NR_gettid)!
01-01 00:19:55.981 2597 2613 I rtk_parse: : alloc pan packet
01-01 00:19:55.981 2597 2613 E rtk_parse: OsAllocateTimer rtk_parse sigev.sigev_notify_thread_id = syscall(__NR_gettid)!
01-01 00:19:55.981 2597 2613 I rtk_parse: : alloc hogp packet
01-01 00:19:55.981 2597 2613 E rtk_parse: OsAllocateTimer rtk_parse sigev.sigev_notify_thread_id = syscall(__NR_gettid)!
01-01 00:19:55.981 2597 2613 I rtk_parse: : alloc polling timer
01-01 00:19:55.981 2597 2613 I rtk_parse: : create udpsocket port: 30001
01-01 00:19:55.981 2597 2613 I rtk_parse: : create socket 67
01-01 00:19:55.981 2597 2613 D bt_hci : hci_module_start_up starting async portion
01-01 00:19:55.982 2597 2627 I bt_hci : hci_initialize
01-01 00:19:55.985 2597 2627 I bt_hci : hci_initialize: IBluetoothHci::getService() returned 0xa2315ea0 (remote)
01-01 00:19:55.986 193 1280 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
01-01 00:19:55.987 193 1280 D android.hardware.bluetooth@1.0-impl: Zumi:Open Hardware opening device library dlopen:
01-01 00:19:55.987 193 1280 D : get_local_address: Trying /data/misc/bluetooth/bdaddr
01-01 00:19:55.987 193 1280 D android.hardware.bluetooth@1.0-impl: Open Zumi: bt_hci_device_node: /dev/rtk_btusb
01-01 00:19:55.987 193 1280 I bt_vendor: init
01-01 00:19:55.987 193 1280 I bt_vendor: Zumi ########## init #############
01-01 00:19:55.987 193 1280 I bt_vendor: Zumi ############## userial_vendor_init ##########
01-01 00:19:55.987 193 1280 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
01-01 00:19:55.987 193 1280 D bt_vendor: op for 0
01-01 00:19:55.987 193 1280 D bt_vendor: op for 3
01-01 00:19:55.987 193 1280 I bt_vendor: userial vendor open: opening /dev/rtk_btusb
01-01 00:19:56.024 2597 2628 I rtk_parse: : udpsocket_receive_thread started
01-01 00:19:56.024 193 1280 I bt_vendor: device fd = 6 open
01-01 00:19:56.024 193 1280 D bt_vendor: op for 1
01-01 00:19:56.024 193 1280 E bt_vendor: Bt_vendor_rtk Op for BT_VND_OP_FW_CFG
01-01 00:19:56.684 193 1280 E bt_vendor: Bt_vendor_rtk Download Fw Success
01-01 00:19:56.684 193 1280 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured result: 0
01-01 00:19:56.684 193 1280 I android.hardware.bluetooth@1.0-impl: Firmware configured in 0.660s
01-01 00:19:56.685 193 1280 D bt_vendor: op for 5
01-01 00:19:56.685 193 1280 I android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured: lpm_timeout_ms 250
01-01 00:19:56.685 193 1280 D bt_vendor: op for 6
01-01 00:19:56.685 193 1280 D android.hardware.bluetooth@1.0-impl: low_power_mode_cb result: 0
01-01 00:19:56.685 193 1280 D android.hardware.bluetooth@1.0-impl: OnFirmwareConfigured Calling StartLowPowerWatchdog()
01-01 00:19:56.686 2597 2627 I bt_hci : event_finish_startup
01-01 00:19:56.686 2597 2613 I bt_core_module: module_start_up Started module "hci_module"
01-01 00:19:56.687 2597 2635 I bt_osi_thread: run_thread: thread id 2635, thread name bt_workqueue started
01-01 00:19:56.688 2597 2635 I : [0101/001956:INFO:btu_task.cc(108)] Bluetooth chip preload is complete
01-01 00:19:56.688 2597 2635 E bt_att : gatt_profile_db_init: gatt_if=1
01-01 00:19:56.690 2597 2636 I bt_osi_thread: run_thread: thread id 2636, thread name btu message loop started
01-01 00:19:56.690 2597 2636 I bt_bta_dm: Redwan_zumi: Function is bta_dm_enable, Registered callback to hardware manager
01-01 00:19:56.691 2597 2637 I bt_osi_thread: run_thread: thread id 2637, thread name module_wrapper started
01-01 00:19:56.691 2597 2637 I bt_core_module: module_start_up Starting module "controller_module"
01-01 00:19:56.692 193 1282 D bt_vendor: op for 7
01-01 00:19:57.192 193 2630 D bt_vendor: op for 7
01-01 00:19:58.693 2597 2616 E bt_hci : command_timed_out: 1 commands pending response
01-01 00:19:58.693 2597 2616 E bt_hci : command_timed_out: Waited 2001 ms for a response to opcode: 0xc03 *matches timer*
01-01 00:19:58.693 2597 2616 E bt_hci : command_timed_out: Size 3 Hex 03 0c 00
01-01 00:19:58.693 2597 2616 E bt_hci : command_timed_out: requesting a firmware dump.
01-01 00:19:58.695 193 193 D bt_vendor: op for 7
01-01 00:19:58.695 2597 2616 E bt_hci : command_timed_out restarting the Bluetooth process.
01-01 00:19:59.195 193 2630 D bt_vendor: op for 7
--------- beginning of crash
01-01 00:19:59.197 2597 2616 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2616 (alarm_default_c), pid 2597 (droid.bluetooth)
01-01 00:19:59.281 2640 2640 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-01 00:19:59.282 223 223 I /system/bin/tombstoned: received crash request for pid 2597
01-01 00:19:59.294 2640 2640 I crash_dump32: performing dump of process 2597 (target tid = 2616)
01-01 00:19:59.295 2640 2640 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:19:59.295 2640 2640 F DEBUG : Build fingerprint: 'realtek/evk_6sl/evk_6sl:8.0.0/1.0.0-rfp-rc4/20180205:userdebug/dev-keys'
01-01 00:19:59.295 2640 2640 F DEBUG : Revision: '0'
01-01 00:19:59.295 2640 2640 F DEBUG : ABI: 'arm'
01-01 00:19:59.295 2640 2640 F DEBUG : pid: 2597, tid: 2616, name: alarm_default_c >>> com.android.bluetooth <<<
01-01 00:19:59.295 2640 2640 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-01 00:19:59.295 2640 2640 F DEBUG : r0 00000000 r1 00000a38 r2 00000006 r3 00000008
01-01 00:19:59.295 2640 2640 F DEBUG : r4 00000a25 r5 00000a38 r6 936b01d4 r7 0000010c
01-01 00:19:59.296 2640 2640 F DEBUG : r8 00000000 r9 93d27414 sl 931157b8 fp 00000c03
01-01 00:19:59.296 2640 2640 F DEBUG : ip 93c583e4 sp 936b01c0 lr ada67d9f pc ada616bc cpsr 200f0030
01-01 00:19:59.418 2640 2640 F DEBUG :
01-01 00:19:59.418 2640 2640 F DEBUG : backtrace:
01-01 00:19:59.418 2640 2640 F DEBUG : #00 pc 0001a6bc /system/lib/libc.so (abort+63)
01-01 00:19:59.418 2640 2640 F DEBUG : #01 pc 000a342d /system/lib/hw/bluetooth.default.so (command_timed_out(void*)+376)
01-01 00:19:59.418 2640 2640 F DEBUG : #02 pc 0013325b /system/lib/hw/bluetooth.default.so (alarm_queue_ready(fixed_queue_t*, void*)+134)
01-01 00:19:59.418 2640 2640 F DEBUG : #03 pc 00135b47 /system/lib/hw/bluetooth.default.so (internal_dequeue_ready(void*)+46)
01-01 00:19:59.418 2640 2640 F DEBUG : #04 pc 00137a95 /system/lib/hw/bluetooth.default.so (run_reactor(reactor_t*, int)+216)
01-01 00:19:59.418 2640 2640 F DEBUG : #05 pc 00137991 /system/lib/hw/bluetooth.default.so (reactor_start(reactor_t*)+44)
01-01 00:19:59.418 2640 2640 F DEBUG : #06 pc 00138d15 /system/lib/hw/bluetooth.default.so (run_thread(void*)+136)
01-01 00:19:59.418 2640 2640 F DEBUG : #07 pc 00047ecf /system/lib/libc.so (__pthread_start(void*)+22)
01-01 00:19:59.418 2640 2640 F DEBUG : #08 pc 0001b2b7 /system/lib/libc.so (__start_thread+32)
01-01 00:20:01.849 444 444 I Choreographer: Skipped 48 frames! The application may be doing too much work on its main thread.
01-01 00:20:01.851 876 876 I Choreographer: Skipped 48 frames! The application may be doing too much work on its main thread.
01-01 00:20:01.859 196 297 I display : alloc cache buffer err:0
init: Untracked pid 2640 exited with status 0
01-01 00:20:02.148 223 223 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_06
01-01 00:20:02.149 311 330 I BootReceiver: Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
01-01 00:20:02.279 193 1280 E rtk_btusb: btchr_close: BT usb char device is closing
android.hardware.bluetooth@1.0-impl: BluetoothDeathRecipient::serviceDied - Bluetooth service died
01-01 00:20:02.279 193 1280 I android.hardware.bluetooth@1.0-impl: BluetoothHci::close()
01-01 00:20:02.279 193 1280 I android.hardware.bluetooth@1.0-impl: Skipping unlink call, service died.
01-01 00:20:02.279 193 1280 D bt_vendor: op for 6
01-01 00:20:02.279 193 1280 rtk_btusb: btusb_close: hci running 0
Please refer and tell me what I want to do to solve this problem.
Regards,
Santhana Kumar S