Hi,
After following suggestion from @vchong in the link Using SDP with software decoding in Hikey620, I am getting a crash in Chromium code.
The crash log:
10-01 09:29:17.982 3357 3357 F DEBUG : backtrace:
10-01 09:29:17.982 3357 3357 F DEBUG : #00 pc 00004cba /system/lib/libcutils.so (native_handle_clone+3)
10-01 09:29:17.982 3357 3357 F DEBUG : #01 pc 000531bf /system/lib/libmedia.so (_ZNSt3__110__function6__funcIZN7android8hardware5media3omx4V1_05utils9LWOmxNode20allocateSecureBufferEjjPjPPvPNS2_2spINS2_12NativeHandleEEEE3$_4NS_9allocatorISG_EEFvNS6_6StatusEjRKNS3_11hidl_handleEEEclEOSJ_OjSM_+34)
10-01 09:29:17.982 3357 3357 F DEBUG : #02 pc 00052179 /system/lib/libmedia.so (std::__1::function<void (android::hardware::media::omx::V1_0::Status, unsigned int, android::hardware::hidl_handle const&)>::operator()(android::hardware::media::omx::V1_0::Status, unsigned int, android::hardware::hidl_handle const&) const+40)
10-01 09:29:17.982 3357 3357 F DEBUG : #03 pc 00044045 /system/lib/android.hardware.media.omx@1.0.so (android::hardware::media::omx::V1_0::BpHwOmxNode::_hidl_allocateSecureBuffer(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, unsigned int, unsigned long long, std::__1::function<void (android::hardware::media::omx::V1_0::Status, unsigned int, android::hardware::hidl_handle const&)>)+524)
10-01 09:29:17.982 3357 3357 F DEBUG : #04 pc 00045a5b /system/lib/android.hardware.media.omx@1.0.so (android::hardware::media::omx::V1_0::BpHwOmxNode::allocateSecureBuffer(unsigned int, unsigned long long, std::__1::function<void (android::hardware::media::omx::V1_0::Status, unsigned int, android::hardware::hidl_handle const&)>)+50)
10-01 09:29:17.982 3357 3357 F DEBUG : #05 pc 00051545 /system/lib/libmedia.so (android::hardware::media::omx::V1_0::utils::LWOmxNode::allocateSecureBuffer(unsigned int, unsigned int, unsigned int*, void**, android::sp<android::NativeHandle>*)+60)
10-01 09:29:17.982 3357 3357 F DEBUG : #06 pc 0008fb05 /system/lib/libstagefright.so (android::ACodec::allocateBuffersOnPort(unsigned int)+1320)
10-01 09:29:17.982 3357 3357 F DEBUG : #07 pc 0009c971 /system/lib/libstagefright.so (android::ACodec::LoadedToIdleState::allocateBuffers()+8)
10-01 09:29:17.982 3357 3357 F DEBUG : #08 pc 0009c8af /system/lib/libstagefright.so (android::ACodec::LoadedToIdleState::stateEntered()+18)
10-01 09:29:17.982 3357 3357 F DEBUG : #09 pc 0000febd /system/lib/libstagefright_foundation.so (android::AHierarchicalStateMachine::changeState(android::sp<android::AState> const&)+356)
10-01 09:29:17.982 3357 3357 F DEBUG : #10 pc 0009bd81 /system/lib/libstagefright.so (android::ACodec::LoadedState::onStart()+68)
10-01 09:29:17.983 3357 3357 F DEBUG : #11 pc 0009c113 /system/lib/libstagefright.so (android::ACodec::LoadedState::onMessageReceived(android::sp<android::AMessage> const&)+122)
10-01 09:29:17.983 3357 3357 F DEBUG : #12 pc 0000fc1f /system/lib/libstagefright_foundation.so (android::AHierarchicalStateMachine::handleMessage(android::sp<android::AMessage> const&)+62)
10-01 09:29:17.983 3357 3357 F DEBUG : #13 pc 0000fa95 /system/lib/libstagefright_foundation.so (android::AHandler::deliverMessage(android::sp<android::AMessage> const&)+24)
10-01 09:29:17.983 3357 3357 F DEBUG : #14 pc 00011fc1 /system/lib/libstagefright_foundation.so (android::AMessage::deliver()+64)
10-01 09:29:17.983 3357 3357 F DEBUG : #15 pc 00010715 /system/lib/libstagefright_foundation.so (android::ALooper::loop()+472)
10-01 09:29:17.983 3357 3357 F DEBUG : #16 pc 0000d1b3 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+274)
10-01 09:29:17.983 3357 3357 F DEBUG : #17 pc 0006dc49 /system/lib/libandroid_runtime.so (android::androidRuntime::javaThreadShell(void*)+80)
10-01 09:29:17.983 3357 3357 F DEBUG : #18 pc 000474bf /system/lib/libc.so (__pthread_start(void*)+22)
10-01 09:29:17.983 3357 3357 F DEBUG : #19 pc 0001af29 /system/lib/libc.so (__start_thread+32)
Does anyone having any idea regarding this? Is it by someway trying to use Hardware Decoder (which is not present in Hikey 620)?
Thanks in advance.
Regards,
Sayan