Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.83k stars 10.7k forks source link

scrcpy 1.18 can't work in xiaomi k40pro after 'adb root' #2604

Open liuli7700 opened 3 years ago

liuli7700 commented 3 years ago

It works well when the device is not root, but after I type 'adb root' and open scrcpy again, it stops immediately.

C:\Program3\Scrcpy>scrcpy -V verbose
INFO: scrcpy 1.18 <https://github.com/Genymobile/scrcpy>
DEBUG: Using server (portable): C:\Program3\Scrcpy\scrcpy-server
C:\Program3\Scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 62.0 MB/s (37330 bytes in 0.001s)
DEBUG: Screensaver enabled
[server] INFO: Device: Xiaomi M2012K11C (Android 11)
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
[server] DEBUG: Using encoder: 'c2.qti.avc.encoder'
INFO: Renderer: direct3d
DEBUG: Trilinear filtering disabled (not an OpenGL renderer)
INFO: Initial texture: 1080x2400
DEBUG: Starting stream thread
DEBUG: End of frames
DEBUG: Receiver stopped
DEBUG: Video stream stopped
WARN: Device disconnected
Segmentation fault
DEBUG: quit...
DEBUG: Server terminated

logcat:

--------- beginning of kernel
09-01 10:59:07.900     0     0 E BATTERY_CHG: xm_charger_debug_info_print_work: usb_present: 1
09-01 10:59:07.905     0     0 E BATTERY_CHG: xm_charger_debug_info_print_work: vbus_vol_uv: 5155000, ibus_ua: 297000
--------- beginning of main
09-01 10:59:09.875  8765  8765 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
09-01 10:59:09.876  8765  8765 I AndroidRuntime: Using default boot image
09-01 10:59:09.876  8765  8765 I AndroidRuntime: Leaving lock profiling enabled
09-01 10:59:09.890     0     0 I sd 0    : 0:0:0: [sda] Synchronizing SCSI cache
09-01 10:59:09.923  8765  8765 D app_process: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
09-01 10:59:09.923  8765  8765 D app_process: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat
09-01 10:59:09.939  8765  8765 W app_process: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
09-01 10:59:09.944  8765  8765 D AndroidRuntime: Calling main entry com.genymobile.scrcpy.Server
09-01 10:59:09.944  8765  8765 I scrcpy  : Device: Xiaomi M2012K11C (Android 11)
09-01 10:59:09.962  8765  8765 I app_process: Thread[1,tid=8765,Native,Thread*=0xb400007db908cc00,peer=0x12c02ba0,"main"] recursive attempt to load library "libmedia_jni.so"
09-01 10:59:09.962  8765  8765 I app_process: Thread[1,tid=8765,Native,Thread*=0xb400007db908cc00,peer=0x12c02ba0,"main"] recursive attempt to load library "libmedia_jni.so"
09-01 10:59:09.962  8765  8765 D MtpDeviceJNI: register_android_mtp_MtpDevice
09-01 10:59:09.962  8765  8765 I app_process: Thread[1,tid=8765,Native,Thread*=0xb400007db908cc00,peer=0x12c02ba0,"main"] recursive attempt to load library "libmedia_jni.so"
09-01 10:59:09.962  8765  8765 I app_process: Thread[1,tid=8765,Native,Thread*=0xb400007db908cc00,peer=0x12c02ba0,"main"] recursive attempt to load library "libmedia_jni.so"
09-01 10:59:09.966  8765  8784 D CCodec  : allocate(c2.qti.avc.encoder)
09-01 10:59:09.969  8765  8784 I Codec2Client: Available Codec2 services: "default" "ozoaudio" "software"
09-01 10:59:09.972  8765  8784 I CCodec  : setting up 'default' as default (vendor) store
09-01 10:59:09.979  1034  8659 I vendor.qti.media.c2@1.0-service: missing struct descriptor #Param::CoreIndex(-Vc01f) for field ubwcStats of struct #Param::CoreIndex(-Vc020)
09-01 10:59:09.980  1034  8659 I vendor.qti.media.c2@1.0-service: missing struct descriptor #Param::CoreIndex(--002) for field mastering of struct #Param::CoreIndex(--180a)
09-01 10:59:09.980  1034  8659 I vendor.qti.media.c2@1.0-service: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004)
09-01 10:59:09.981  1034  8659 I QC2Comp : Create: Allocated component[22] for name c2.qti.avc.encoder : [32 bit]
09-01 10:59:09.981  1034  8659 I QC2CompStore: Created component(c2.qti.avc.encoder) id(22)
09-01 10:59:09.982  8765  8784 I CCodec  : Created component [c2.qti.avc.encoder]
09-01 10:59:09.982  1034  8660 E QC2Interface: Failed to query parameters
09-01 10:59:09.982  8765  8784 D CCodecConfig: read media type: video/avc
09-01 10:59:09.984  8765  8784 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
09-01 10:59:09.990  8765  8784 D ReflectedParamUpdater: ignored struct field coding.gop.values
09-01 10:59:09.992  8765  8784 D ReflectedParamUpdater: extent() != 1 for single value type: vendor.qti-ext-enc-info-metadata-cvp.reserved
09-01 10:59:09.993  8765  8784 D CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported
09-01 10:59:09.994  1034  8660 E QC2Interface: Failed to query parameters
09-01 10:59:09.994  8765  8784 I CCodecConfig: query failed after returning 22 values (BAD_INDEX)
09-01 10:59:09.995  8765  8784 D CCodecConfig: c2 config diff is Dict {
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 algo.bitrate-mode.value = 3
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::i32 algo.priority.value = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::float algo.rate.value = 30
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 algo.secure-mode.value = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.bitrate.value = 20000000
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::float coded.frame-rate.value = 30
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.pl.level = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.pl.profile = 20484
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.vui.color.matrix = 255
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.vui.color.primaries = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.vui.color.range = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coded.vui.color.transfer = 255
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coding.intra-refresh.mode = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::float coding.intra-refresh.period = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 coding.request-sync-frame.value = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::i64 coding.sync-frame-interval.value = 1000000
09-01 10:59:09.995  8765  8784 D CCodecConfig:   Buffer coding.temporal-layering = {
09-01 10:59:09.995  8765  8784 D CCodecConfig:     00000000:  10 00 00 00 07 20 01 52  00 00 00 00 00 00 00 00  ..... .R........
09-01 10:59:09.995  8765  8784 D CCodecConfig:   }
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 default.color.matrix = 255
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 default.color.primaries = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 default.color.range = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 default.color.transfer = 255
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 input.delay.value = 0
09-01 10:59:09.995  8765  8784 D CCodecConfig:   string input.media-type.value = "video/raw"
09-01 10:59:09.995  8765  8784 D CCodecConfig:   c2::u32 output.buffe
09-01 10:59:09.995  8765  8784 W ColorUtils: expected specified color aspects (0:0:255:255)
09-01 10:59:09.998  8765  8765 D scrcpy  : Using encoder: 'c2.qti.avc.encoder'
09-01 10:59:10.001  8765  8765 I MediaCodec: video box disabled
--------- beginning of crash
09-01 10:59:10.001  8765  8765 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8765 (main), pid 8765 (main)
09-01 10:59:10.035  8779  8779 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
09-01 10:59:10.037  8779  8779 I AndroidRuntime: Using default boot image
09-01 10:59:10.037  8779  8779 I AndroidRuntime: Leaving lock profiling enabled
09-01 10:59:10.047  8792  8792 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
09-01 10:59:10.047   754   754 I tombstoned: received crash request for pid 8765
09-01 10:59:10.048  8792  8792 I crash_dump64: performing dump of process 8765 (target tid = 8765)
09-01 10:59:10.057  8792  8792 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-01 10:59:10.058  8792  8792 F DEBUG   : Build fingerprint: 'Redmi/haydn/haydn:11/RKQ1.201112.002/V12.5.5.0.RKKCNXM:user/release-keys'
09-01 10:59:10.058  8792  8792 F DEBUG   : Revision: '0'
09-01 10:59:10.058  8792  8792 F DEBUG   : ABI: 'arm64'
09-01 10:59:10.058  8792  8792 F DEBUG   : Timestamp: 2021-09-01 10:59:10+0800
09-01 10:59:10.058  8792  8792 F DEBUG   : pid: 8765, tid: 8765, name: main  >>> app_process <<<
09-01 10:59:10.058  8792  8792 F DEBUG   : uid: 0
09-01 10:59:10.058  8792  8792 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
09-01 10:59:10.058  8792  8792 F DEBUG   : Cause: null pointer dereference
09-01 10:59:10.058  8792  8792 F DEBUG   :     x0  000000000000000e  x1  0000007e3ab57408  x2  b400007da363ccf4  x3  000000000000000e
09-01 10:59:10.058  8792  8792 F DEBUG   :     x4  0000000000000030  x5  0080000000000000  x6  67ff6c6c2d736d64  x7  7f7f7f7f7f7f7f7f
09-01 10:59:10.058  8792  8792 F DEBUG   :     x8  000000000000000f  x9  0000007db9569000  x10 00000000e5000000  x11 0000007e3bdaa53c
09-01 10:59:10.059  8792  8792 F DEBUG   :     x12 00000000ffffd800  x13 0000000000000001  x14 000000000000006d  x15 0000007e3bdb698c
09-01 10:59:10.059  8792  8792 F DEBUG   :     x16 0000007e3c1b93f0  x17 0000007e3bdb392c  x18 0000007e40012000  x19 b400007db9062800
09-01 10:59:10.059  8792  8792 F DEBUG   :     x20 0000007ff743b660  x21 0000007ff743b668  x22 0000007ff743b678  x23 0000000000000000
09-01 10:59:10.059  8792  8792 F DEBUG   :     x24 b400007da363ccd8  x25 b400007da888c800  x26 0000000000000000  x27 b400007db9107800
09-01 10:59:10.059  8792  8792 F DEBUG   :     x28 b400007db9107800  x29 0000007ff743b560
09-01 10:59:10.059  8792  8792 F DEBUG   :     lr  0000007e3c12b59c  sp  0000007ff743b470  pc  0000007e3c12b59c  pst 0000000020001000
09-01 10:59:10.081  8779  8779 D app_process: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
09-01 10:59:10.081  8779  8779 D app_process: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat
09-01 10:59:10.096  8779  8779 W app_process: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
09-01 10:59:10.100  8779  8779 D AndroidRuntime: Calling main entry com.genymobile.scrcpy.CleanUp
09-01 10:59:10.149  8792  8792 F DEBUG   : backtrace:
09-01 10:59:10.149  8792  8792 F DEBUG   :       #00 pc 000000000012559c  /system/lib64/libstagefright.so (android::MediaCodec::configure(android::sp<android::AMessage> const&, android::sp<android::Surface> const&, android::sp<android::ICrypto> const&, android::sp<android::hardware::cas::native::V1_0::IDescrambler> const&, unsigned int)+2364) (BuildId: 8e0b4b67d56a7f551618aaad6b21151e)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #01 pc 000000000003ffe0  /system/lib64/libmedia_jni.so (android::JMediaCodec::configure(android::sp<android::AMessage> const&, android::sp<android::IGraphicBufferProducer> const&, android::sp<android::ICrypto> const&, android::sp<android::hardware::cas::native::V1_0::IDescrambler> const&, int)+372) (BuildId: 914abc3aef1ed23a3fa077dae0deade3)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #02 pc 0000000000043a6c  /system/lib64/libmedia_jni.so (android_media_MediaCodec_native_configure(_JNIEnv*, _jobject*, _jobjectArray*, _jobjectArray*, _jobject*, _jobject*, _jobject*, int)+588) (BuildId: 914abc3aef1ed23a3fa077dae0deade3)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #03 pc 000000000021f520  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+272) (BuildId: 81dcf10d2e396c1fb5d2ee8fb648a648520c8a95)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #04 pc 0000000000607160  /system/framework/arm64/boot-framework.oat (android.media.MediaCodec.configure+1472) (BuildId: 81dcf10d2e396c1fb5d2ee8fb648a648520c8a95)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #05 pc 0000000000607dc4  /system/framework/arm64/boot-framework.oat (android.media.MediaCodec.configure+68) (BuildId: 81dcf10d2e396c1fb5d2ee8fb648a648520c8a95)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #06 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #07 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #08 pc 0000000000319390  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #09 pc 000000000030f6bc  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #10 pc 000000000067d34c  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.149  8792  8792 F DEBUG   :       #11 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #12 pc 0000000000008df0  [anon:dalvik-classes.dex extracted in memory from /data/local/tmp/scrcpy-server.jar] (com.genymobile.scrcpy.ScreenEncoder.configure+4)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #13 pc 0000000000680548  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #14 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #15 pc 0000000000008ea6  [anon:dalvik-classes.dex extracted in memory from /data/local/tmp/scrcpy-server.jar] (com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen+134)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #16 pc 000000000067fc68  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #17 pc 000000000012d914  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #18 pc 00000000000090c6  [anon:dalvik-classes.dex extracted in memory from /data/local/tmp/scrcpy-server.jar] (com.genymobile.scrcpy.ScreenEncoder.streamScreen+6)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #19 pc 000000000067d5ec  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #20 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #21 pc 0000000000009b34  [anon:dalvik-classes.dex extracted in memory from /data/local/tmp/scrcpy-server.jar] (com.genymobile.scrcpy.Server.scrcpy+432)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #22 pc 0000000000306cb8  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11487796752256266877)+268) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #23 pc 000000000030eca8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #24 pc 000000000030f6a0  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #25 pc 00000000006802a4  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #26 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #27 pc 000000000000996a  [anon:dalvik-classes.dex extracted in memory from /data/local/tmp/scrcpy-server.jar] (com.genymobile.scrcpy.Server.main+38)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #28 pc 0000000000306cb8  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11487796752256266877)+268) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #29 pc 000000000066c054  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #30 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #31 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #32 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #33 pc 0000000000554f8c  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #34 pc 0000000000555440  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #35 pc 00000000003d15d4  /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+656) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #36 pc 000000000009d424  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: e1b2faf5db013a8605668cd0ebcd42e1)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #37 pc 00000000000a1ac0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::callMain(android::String8 const&, _jclass*, android::Vector<android::String8> const&)+336) (BuildId: e1b2faf5db013a8605668cd0ebcd42e1)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #38 pc 0000000000003a88  /system/bin/app_process64 (android::AppRuntime::onStarted()+68) (BuildId: 1ffa62ce1e071ff696118eca58ad6849)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #39 pc 00000000002094a0  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+144) (BuildId: 81dcf10d2e396c1fb5d2ee8fb648a648520c8a95)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #40 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #41 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #42 pc 0000000000319390  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #43 pc 000000000030f6bc  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #44 pc 00000000006802a4  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #45 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #46 pc 0000000000501300  /system/framework/framework.jar (offset 0x1247000) (com.android.internal.os.RuntimeInit.main+48)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #47 pc 0000000000306cb8  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11487796752256266877)+268) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #48 pc 000000000066c054  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #49 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #50 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #51 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #52 pc 0000000000554f8c  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #53 pc 0000000000555440  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #54 pc 00000000003d15d4  /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+656) (BuildId: 5b103c304a50c13c7fbeaacc0e0df496)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #55 pc 000000000009d424  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: e1b2faf5db013a8605668cd0ebcd42e1)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #56 pc 00000000000a5364  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+916) (BuildId: e1b2faf5db013a8605668cd0ebcd42e1)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #57 pc 0000000000003680  /system/bin/app_process64 (main+1592) (BuildId: 1ffa62ce1e071ff696118eca58ad6849)
09-01 10:59:10.150  8792  8792 F DEBUG   :       #58 pc 0000000000085054  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 5f57d25b37c043ed36c0e4147dcc8b3f)
09-01 10:59:10.190     0     0 D logd    : logdr: UID=0 GID=0 PID=8792 n tail=50 logMask=8 pid=8765 start=0ns timeout=0ns
09-01 10:59:10.195     0     0 D logd    : logdr: UID=0 GID=0 PID=8792 n tail=50 logMask=1 pid=8765 start=0ns timeout=0ns
09-01 10:59:10.226     0     0 D logd    : logdr: UID=0 GID=0 PID=8792 n tail=0 logMask=8 pid=8765 start=0ns timeout=0ns
09-01 10:59:10.230     0     0 D logd    : logdr: UID=0 GID=0 PID=8792 n tail=0 logMask=1 pid=8765 start=0ns timeout=0ns
--------- beginning of system
09-01 10:58:20.256  1276  1653 I chatty  : uid=1000(system) watchdog expire 1 line
09-01 10:58:50.260  1276  1653 D WatchdogInjector: checkOOMState heapAllocSize : 37MB; monitorSize : 500MB
09-01 10:59:10.233  1276  2883 W NativeCrashListener: Couldn't find ProcessRecord for pid 8765
09-01 10:59:10.234  8792  8792 E crash_dump64: AM data write failed: Broken pipe
09-01 10:59:10.234  8792  8792 E crash_dump64: cannot open libmiuindbg.so: No such file or directory
09-01 10:59:10.234   754   754 E tombstoned: Tombstone written to: /data/tombstones/tombstone_18
09-01 10:59:10.246     0     0 I init    : Untracked pid 8792 exited with status 0
09-01 10:59:10.246  1276  1774 I BootReceiver: Copying /data/tombstones/tombstone_18 to DropBox (SYSTEM_TOMBSTONE)
09-01 10:59:10.250  1276  1774 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
09-01 10:59:10.263     0     0 I init    : Untracked pid 8794 exited with status 0
09-01 10:59:10.267  1034  8660 I QC2CompStore: Deleting component(c2.qti.avc.encoder) id(22)
09-01 10:59:10.267  1478  7967 E mediaserver: unlinkToDeath: removed reference to death recipient but unlink failed.
09-01 10:59:10.267  1478  7967 E IPCThreadState: attemptIncStrongHandle(9): Not supported
09-01 10:59:10.268  8779  8779 I scrcpy  : Cleaning up
09-01 10:59:10.268  1034  8660 I QC2Comp : [avcE_22] Deallocated component c2.qti.avc.encoder [id=22]
09-01 10:59:10.263  1016  1016 W perf@2.2-servic: type=1400 audit(0.0:1656): avc: denied { search } for name="1129" dev="proc" ino=42477 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=dir permissive=0
09-01 10:59:10.263  1016  1016 W perf@2.2-servic: type=1400 audit(0.0:1657): avc: denied { search } for name="1129" dev="proc" ino=42477 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=dir permissive=0
09-01 10:59:10.270  1016  1068 I vendor.qti.hardware.perf@2.2-service: drmIOCTLLib connectorId: 54
09-01 10:59:10.271  1016  1068 D vendor.qti.hardware.perf@2.2-service: drmIOCTLLib Waiting for composer service init
09-01 10:59:10.271  1016  1068 D vendor.qti.hardware.perf@2.2-service: drmIOCTLLib done WaitForComposer
09-01 10:59:10.272  1016  1068 I vendor.qti.hardware.perf@2.2-service: drmIOCTLLib ret: 0
09-01 10:59:10.272  1016  1068 I vendor.qti.hardware.perf@2.2-service: drmIOCTLLib close return 0
09-01 10:59:10.272  8779  8779 I scrcpy  : Restoring normal power mode
09-01 10:59:10.267  1016  1016 W perf@2.2-servic: type=1400 audit(0.0:1658): avc: denied { sys_admin } for capability=21 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:vendor_hal_perf_default:s0 tclass=capability permissive=0
09-01 10:59:10.267  1016  1016 W perf@2.2-servic: type=1400 audit(0.0:1659): avc: denied { sys_admin } for capability=21 scontext=u:r:vendor_hal_perf_default:s0 tcontext=u:r:vendor_hal_perf_default:s0 tclass=capability permissive=0
09-01 10:59:10.278  1129  1129 D SurfaceFlinger: Setting power mode 2 on display 19260718211101826
09-01 10:59:10.278  8779  8779 D AndroidRuntime: Shutting down VM
09-01 10:59:10.702     0     0 I init    : Untracked pid 8779 exited with status 0
09-01 10:59:14.901     0     0 I sd 0    : 0:0:0: [sda] Synchronizing SCSI cache
09-01 10:59:18.230     0     0 D logd    : logdr: UID=0 GID=0 PID=8814 n tail=0 logMask=99 pid=0 start=0ns timeout=0ns
rom1v commented 3 years ago

Looks like a bug in the device system related to MediaCodec.