QCA6174 bluetooth HFP crash with IMX8 Android Pie

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QCA6174 bluetooth HFP crash with IMX8 Android Pie

Jump to solution
1,191 Views
anabait
Contributor I

Hi,

I am trying to enable the bluetooth hfp module qca6174 on #imx8 android 9.0.0.

A2dp profile is working fine but when i am trying to enable HFP getting crash.

Can you please suggest if any thing i have missed in my build.

-20 11:34:52.632 6341 6363 D BluetoothHeadsetClientServiceJni: connection_state_cb: state 2 peer_feat 0 chld_feat 0
01-20 11:34:52.635 6341 6379 W bt_btif : new conn_srvc id:26, app_id:1
01-20 11:34:52.635 6341 6379 W bt_btif : bta_dm_pm_ssr: conn_srvc id:27, app_id:1
01-20 11:34:52.635 6341 6379 W bt_btif : bta_dm_pm_ssr: conn_srvc id:26, app_id:1
01-20 11:34:52.635 6341 6379 W bt_btif : bta_dm_pm_ssr ssr:2, lat:1200
01-20 11:34:52.675 6341 6379 W bt_sdp : process_service_search_attr_rsp
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] JNI DETECTED ERROR IN APPLICATION: can't call void com.android.bluetooth.hfpclient.NativeInterface.onConnectionStateChanged(int, int, int, byte[]) on instance of java.lang.Class<com.android.bluetooth.hfpclient.NativeInterface>
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] in call to CallVoidMethodV
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] "BT Service Callback Thread" prio=5 tid=14 Runnable
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] | group="main" sCount=0 dsCount=0 flags=0 obj=0x152c07d8 self=0xe53072084c00
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] | sysTid=6363 nice=0 cgrp=default sched=0/0 handle=0xe53063a1a4f0
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] | state=R schedstat=( 64726442 54105841 384 ) utm=4 stm=1 core=1 HZ=100
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] | stack=0xe5306391f000-0xe53063921000 stackSize=1009KB
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] | held mutexes= "mutator lock"(shared held)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #00 pc 00000000003c73d4 /system/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+220)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #01 pc 0000000000495e70 /system/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+352)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #02 pc 00000000002e865c /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+972)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #03 pc 00000000002e8a7c /system/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+108)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #04 pc 00000000000fd5f8 /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+144)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #05 pc 00000000001015a8 /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckMethodAndSig(art::ScopedObjectAccess&, _jobject*, _jclass*, _jmethodID*, art::Primitive::Type, art::InvokeType)+1920)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #06 pc 00000000000ffcb4 /system/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType)+756)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #07 pc 00000000000ed5d4 /system/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+84)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #08 pc 0000000000017ec0 /system/lib64/libbluetooth_jni.so (_JNIEnv::CallVoidMethod(_jobject*, _jmethodID*, ...)+120)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #09 pc 000000000001d680 /system/lib64/libbluetooth_jni.so (android::connection_state_cb(RawAddress const*, bthf_client_connection_state_t, unsigned int, unsigned int)+160)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #10 pc 000000000012b888 /system/lib64/libbluetooth.so (btif_hf_client_upstreams_evt(unsigned short, char*)+3488)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #11 pc 00000000001160d4 /system/lib64/libbluetooth.so (bt_jni_msg_ready(void*)+116)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #12 pc 0000000000096aec /system/lib64/libchrome.so (base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*)+244)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #13 pc 00000000000b0388 /system/lib64/libchrome.so (base::MessageLoop::RunTask(base::PendingTask*)+416)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #14 pc 00000000000b0634 /system/lib64/libchrome.so (base::MessageLoop::DeferOrRunPendingTask(base::PendingTask)+52)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #15 pc 00000000000b0a7c /system/lib64/libchrome.so (base::MessageLoop::DoWork()+380)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #16 pc 00000000000b1e44 /system/lib64/libchrome.so (base::MessagePumpDefault::Run(base::MessagePump::Delegate*)+180)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #17 pc 00000000000b0070 /system/lib64/libchrome.so (base::MessageLoop::RunHandler()+112)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #18 pc 00000000000cd200 /system/lib64/libchrome.so (base::RunLoop::Run()+136)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #19 pc 00000000001142e4 /system/lib64/libbluetooth.so (run_message_loop(void*)+284)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #20 pc 0000000000232824 /system/lib64/libbluetooth.so (work_queue_read_cb(void*)+92)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #21 pc 0000000000230a40 /system/lib64/libbluetooth.so (run_reactor(reactor_t*, int)+320)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #22 pc 00000000002308d4 /system/lib64/libbluetooth.so (reactor_start(reactor_t*)+84)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #23 pc 00000000002322a8 /system/lib64/libbluetooth.so (run_thread(void*)+184)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #24 pc 0000000000083194 /system/lib64/libc.so (__pthread_start(void*)+36)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] native: #25 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542] (no managed stack frames)
01-20 11:34:52.709 6341 6363 F droid.bluetoot: java_vm_ext.cc:542]

0 Kudos
1 Solution
2 Replies
1,008 Views
anabait
Contributor I
1,007 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Thank you for sharing your results. This solution will help other users.

Best regards,

Diego.

0 Kudos