Crash when capturing audio
Opened this issue · 0 comments
When any app tries to capture audio android.hardware.audio@2.0-service crashes in libblisrc32.so, see log below.
07-10 20:33:34.220 3290 3290 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-10 20:33:34.220 3290 3290 F DEBUG : LineageOS Version: '17.1-20230520-UNOFFICIAL-douglas'
07-10 20:33:34.221 3290 3290 F DEBUG : Build fingerprint: 'google/lineage_douglas/douglas:10/QQ3A.200805.001/eng.r0rt1z.20230520.152213:userdebug/test-keys'
07-10 20:33:34.221 3290 3290 F DEBUG : Revision: '0'
07-10 20:33:34.221 3290 3290 F DEBUG : ABI: 'arm'
07-10 20:33:34.222 3290 3290 F DEBUG : Timestamp: 2024-07-10 20:33:34+0200
07-10 20:33:34.222 3290 3290 F DEBUG : pid: 1084, tid: 3287, name: readThread0 >>> /vendor/bin/hw/android.hardware.audio@2.0-service <<<
07-10 20:33:34.222 3290 3290 F DEBUG : uid: 1041
07-10 20:33:34.222 3290 3290 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x39f
07-10 20:33:34.222 3290 3290 F DEBUG : Cause: null pointer dereference
07-10 20:33:34.222 3290 3290 F DEBUG : r0 0000039f r1 f6e57001 r2 00000eff r3 00000001
07-10 20:33:34.222 3290 3290 F DEBUG : r4 000001e0 r5 00000000 r6 00000067 r7 00000000
07-10 20:33:34.222 3290 3290 F DEBUG : r8 00000067 r9 f6e50300 r10 00000000 r11 00000000
07-10 20:33:34.222 3290 3290 F DEBUG : ip 80000000 sp f31f1100 lr 00000000 pc f5dec358
07-10 20:33:34.229 3290 3290 F DEBUG :
07-10 20:33:34.229 3290 3290 F DEBUG : backtrace:
07-10 20:33:34.229 3290 3290 F DEBUG : #00 pc 0005d358 /apex/com.android.runtime/lib/bionic/libc.so (__memcpy_a53+40) (BuildId: 7152405db0412d62453c11285ce3ebbf)
07-10 20:33:34.229 3290 3290 F DEBUG : #1 pc 000030f8 /system/lib/libblisrc32.so (fastBliConvert_32bit+2040)
07-10 20:33:34.229 3290 3290 F DEBUG : #2 pc 000059e0 /system/lib/libblisrc32.so (Blisrc_Process+164)
07-10 20:33:34.229 3290 3290 F DEBUG : #3 pc 00002c17 /system/lib/libaudiocomponentengine.so (android::MtkAudioSrc::Process(void*, unsigned int*, void*, unsigned int*)+46)
07-10 20:33:34.230 3290 3290 F DEBUG : #4 pc 0005f86b /system/lib/hw/audio.primary.mt8163.so (android::AudioALSACaptureDataClient::copyCaptureDataToClient(android::RingBuf)+490)
07-10 20:33:34.230 3290 3290 F DEBUG : #05 pc 000603c9 /system/lib/hw/audio.primary.mt8163.so (android::AudioALSACaptureDataProviderBase::provideCaptureDataToAllClients(unsigned int)+96)
07-10 20:33:34.230 3290 3290 F DEBUG : #06 pc 00060bb9 /system/lib/hw/audio.primary.mt8163.so (android::AudioALSACaptureDataProviderNormal::readThread(void*)+600)
07-10 20:33:34.230 3290 3290 F DEBUG : #07 pc 000a4337 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 7152405db0412d62453c11285ce3ebbf)
07-10 20:33:34.230 3290 3290 F DEBUG : #08 pc 000606e5 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 7152405db0412d62453c11285ce3ebbf)