Infeasible
Status Update
Comments
za...@dolby.com <za...@dolby.com> #2
ra...@google.com <ra...@google.com> #3
Thanks for reporting this issue. Please file a request through a specific partner component or approach the respective TAM to discuss this confidentially. You may refer to the link: https://developers.google.com/issue-tracker#partner_users .
Description
03-11 05:13:06.400 6458 6477 E Codec2Client: createInterface -- transaction failed.
------------------------------------------------
step:
1. remove "__ANDROID_APEX__" in media/codec2/hal/aidl/ComponentStore.cpp for enable SampleFilterPlugin
2. build libc2filterplugin by hal/plugin/samples/Android.bp
build image and flash to sm8750.
------------------------------------------------
Expectation result:
QC2Filter/Qcom C2 HAL shuldn't be affected by AOSP SampleFilterPlugin.
------------------------------------------------
Actual results(see logcat_qcomLog.txt):
03-11 05:13:05.980 1 1 I init : starting service 'vendor-qti-media-c2-hal-1-0'...
03-11 05:13:05.989 1 1 I init : ... started service 'vendor-qti-media-c2-hal-1-0' has pid 13972
03-11 05:13:06.033 13972 13972 E QC2Filter: [imgTxrF_0] [handleRelease]: FilterCore not available
//here crash and failed to create vendor codec, and codec2 service can't start
03-11 05:13:06.301 1252 1252 I tombstoned: received crash request for pid 13972
03-11 05:13:06.400 6458 6477 E Codec2Client: createInterface -- transaction failed.
03-11 05:13:06.428 1 1 I init : Service 'vendor-qti-media-c2-hal-1-0' (pid 13972) received signal 31
03-11 05:13:06.428 1 1 I init : Sending signal 9 to service 'vendor-qti-media-c2-hal-1-0' (pid 13972) process group...
03-11 05:13:06.401 6458 6477 E Codec2Client: createInterface -- transaction failed.
03-11 05:13:06.933 13851 13851 W ServiceManagerCppClient: Waited one second for android.hardware.media.c2.IComponentStore/default (is service started? Number of threads started in the threadpool: 65. Are binder threads started and available?)
and I reproduce this crash, get tombstones: see tombstone_00
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'qti/sun/sun:15/AQ3A.240912.001/eng.zgao.00000000.000000:userdebug/test-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2025-03-11 05:05:15.717860465+0000
Process uptime: 15s
Cmdline: /system/bin/mediaserver64
pid: 2142, tid: 2452, name: binder:2142_1 >>> /system/bin/mediaserver64 <<<
uid: 1013
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Check failed: baseStore Codec2 AIDL service "default" inaccessible for unknown reasons.'
x0 0000000000000000 x1 0000000000000994 x2 0000000000000006 x3 000000798469a890
x4 401f316264636e42 x5 401f316264636e42 x6 401f316264636e42 x7 0000000000000000
x8 00000000000000f0 x9 0000007c148e3468 x10 ffffff80ffffffdf x11 fffffffffffffffd
x12 000000798469a830 x13 0000000000000058 x14 b400007a947ae400 x15 000000003830ef00
x16 0000007c1499aff8 x17 0000007c14984e40 x18 0000007983c2c000 x19 000000000000085e
x20 0000000000000994 x21 00000000ffffffff x22 b400007a947af510 x23 000000798469be80
x24 000000000000005f x25 000000798469be80 x26 b400007b747aa430 x27 b400007ae47ac1d0
x28 0000000000000000 x29 000000798469a910
lr 0000007c14920128 sp 000000798469a870 pc 0000007c14920158 pst 0000000000001000
19 total frames
backtrace:
#00 pc 0000000000060158 /apex/com.android.runtime/lib64/bionic/libc.so (abort+172) (BuildId: f98650a65aa2ec2d87236752af90aa7e)
#01 pc 0000000000009a28 /system/lib64/liblog.so (__android_log_default_aborter+16) (BuildId: b2f8bb94e0835d351cddfa331f9e4e38)
#02 pc 00000000000a0628 /system/lib64/libbinder.so (android::base::LogMessage::~LogMessage()+520) (BuildId: 271122bc5a1ef38bd2ec300f06119643)
#03 pc 0000000000037074 /system/lib64/libcodec2_client.so (android::Codec2Client::_CreateFromIndex(unsigned long) (.cfi)+2268) (BuildId: 42eef795ce1b7fc2026ef58fbdd446fa)
#04 pc 00000000000358a8 /system/lib64/libcodec2_client.so (android::Codec2Client::Cache::getClient()+68) (BuildId: 42eef795ce1b7fc2026ef58fbdd446fa)
#05 pc 0000000000039104 /system/lib64/libcodec2_client.so (android::Codec2Client::ForAllServices(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned long, std::__1::function<c2_status_t (std::__1::shared_ptr<android::Codec2Client> const&)>) (.cfi)+644) (BuildId: 42eef795ce1b7fc2026ef58fbdd446fa)
#06 pc 000000000003a7c0 /system/lib64/libcodec2_client.so (android::Codec2Client::CreateInterfaceByName(char const*, std::__1::shared_ptr<android::Codec2Client>*, unsigned long) (.cfi)+152) (BuildId: 42eef795ce1b7fc2026ef58fbdd446fa)
#07 pc 00000000000c10cc /system/lib64/libsfplugin_ccodec.so (android::Codec2InfoBuilder::buildMediaCodecList(android::MediaCodecListWriter*)+6396) (BuildId: 29c33d2f8c1ad60fd9dbfb0c74f4d5cf)
#08 pc 0000000000163a0c /system/lib64/libstagefright.so (android::MediaCodecList::MediaCodecList(std::__1::vector<android::MediaCodecListBuilderBase*, std::__1::allocator<android::MediaCodecListBuilderBase*>>)+592) (BuildId: 3882af6a1ea1b5840a0958a9526a73fb)