Hi,
I am porting our BT module into OREO, able to ON BT from GUI and getting BT device MAC address,but I am unable to get list of BT scanned devices on GUI, I am seeing this crash on logcat, Please help me to fix this.
01-01 00:03:40.815 2095 2116 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xda7d1a00 in tid 2116 (BT Service Call), pid 2095 (droid.bluetooth)
01-01 00:03:40.924 2162 2162 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-01 00:03:40.925 317 317 I /system/bin/tombstoned: received crash request for pid 2095
01-01 00:03:40.925 2162 2162 I crash_dump32: performing dump of process 2095 (target tid = 2116)
01-01 00:03:40.926 2162 2162 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:03:40.927 2162 2162 F DEBUG : Build fingerprint: 'Android/sabresd_6dq/sabresd_6dq:8.0.0/1.0.0-rfp-rc4/20180205:eng/dev-keys'
01-01 00:03:40.927 2162 2162 F DEBUG : Revision: '0'
01-01 00:03:40.927 2162 2162 F DEBUG : ABI: 'arm'
01-01 00:03:40.927 2162 2162 F DEBUG : pid: 2095, tid: 2116, name: BT Service Call >>> com.android.bluetooth <<<
01-01 00:03:40.927 2162 2162 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xda7d1a00
01-01 00:03:40.927 2162 2162 F DEBUG : r0 da7d1a00 r1 da7d1a00 r2 00000010 r3 00000000
01-01 00:03:40.927 2162 2162 F DEBUG : r4 da7d1a00 r5 00000073 r6 9a91874c r7 ffffffff
01-01 00:03:40.927 2162 2162 F DEBUG : r8 00000000 r9 ffffffff sl 0000002d fp 9b0d72cf
01-01 00:03:40.927 2162 2162 F DEBUG : ip b45f4594 sp 9a9186a8 lr b45a23cf pc b457e324 cpsr 600f0030
01-01 00:03:41.116 2162 2162 F DEBUG :
01-01 00:03:41.116 2162 2162 F DEBUG : backtrace:
01-01 00:03:41.116 2162 2162 F DEBUG : #00 pc 0001a324 /system/lib/libc.so (strlen+11)
01-01 00:03:41.116 2162 2162 F DEBUG : #01 pc 0003e3cb /system/lib/libc.so (__vfprintf+3754)
01-01 00:03:41.116 2162 2162 F DEBUG : #02 pc 00052b8d /system/lib/libc.so (vsnprintf+128)
01-01 00:03:41.116 2162 2162 F DEBUG : #03 pc 00016a3d /system/lib/hw/bluetooth.default.so (LogMsg+44)
01-01 00:03:41.116 2162 2162 F DEBUG : #04 pc 0006dc8d /system/lib/hw/bluetooth.default.so (btif_dm_search_devices_evt(unsigned short, char*)+308)
01-01 00:03:41.116 2162 2162 F DEBUG : #05 pc 00067f47 /system/lib/hw/bluetooth.default.so (bt_jni_msg_ready(void*)+70)
01-01 00:03:41.116 2162 2162 F DEBUG : #06 pc 00083733 /system/lib/libchrome.so (base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&)+122)
01-01 00:03:41.116 2162 2162 F DEBUG : #07 pc 000932cf /system/lib/libchrome.so (base::MessageLoop::RunTask(base::PendingTask const&)+162)
01-01 00:03:41.116 2162 2162 F DEBUG : #08 pc 000934bd /system/lib/libchrome.so (base::MessageLoop::DeferOrRunPendingTask(base::PendingTask)+18)
01-01 00:03:41.116 2162 2162 F DEBUG : #09 pc 00093697 /system/lib/libchrome.so (base::MessageLoop::DoWork()+190)
01-01 00:03:41.116 2162 2162 F DEBUG : #10 pc 0009451d /system/lib/libchrome.so (base::MessagePumpDefault::Run(base::MessagePump::Delegate*)+156)
01-01 00:03:41.117 2162 2162 F DEBUG : #11 pc 000a354d /system/lib/libchrome.so (base::RunLoop::Run()+40)
01-01 00:03:41.117 2162 2162 F DEBUG : #12 pc 00066725 /system/lib/hw/bluetooth.default.so (run_message_loop(void*)+144)
01-01 00:03:41.117 2162 2162 F DEBUG : #13 pc 00136573 /system/lib/hw/bluetooth.default.so (work_queue_read_cb(void*)+50)
01-01 00:03:41.117 2162 2162 F DEBUG : #14 pc 00134e79 /system/lib/hw/bluetooth.default.so (run_reactor(reactor_t*, int)+216)
01-01 00:03:41.117 2162 2162 F DEBUG : #15 pc 00134d75 /system/lib/hw/bluetooth.default.so (reactor_start(reactor_t*)+44)
01-01 00:03:41.117 2162 2162 F DEBUG : #16 pc 00136105 /system/lib/hw/bluetooth.default.so (run_thread(void*)+136)
01-01 00:03:41.117 2162 2162 F DEBUG : #17 pc 00047ef7 /system/lib/libc.so (__pthread_start(void*)+22)
01-01 00:03:41.117 2162 2162 F DEBUG : #18 pc 0001b2b7 /system/lib/libc.so (__start_thread+32)
Regards
Susan
Hello,
Which Bluetooth chip are you using? Is the qca6174A?
Best regards,
Diego.