scrcpy: Native crash in app_process : signal 11 (SIGSEGV) on Pixel Fold Android 14
Environment
- OS: macOS or Ubuntu (same issue on both)
- scrcpy version: 2.3.1
- installation method: manual build
- device model: Pixel Fold
- Android version: 14
Describe the bug I am able to connect to the phone using scrcpy and everything works ok while the connection is kept. The problem appears after I interrupt scrcpy and disconnect the phone. After a period of time, the phone freezes and reboots after a few minutes.
Cmdline: app_process / com.genymobile.scrcpy.CleanUp AAAAAAAAAAACAAAA
pid: 27362, tid: 27362, name: Shutdown thread >>> app_process <<<
uid: 2000
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x000000711ea22260
x0 000000740e1e4b78 x1 0000000000001000 x2 0000000000000001 x3 0000007fdfc65f68
x4 0000000000000058 x5 0000007287263bfc x6 0000000000000001 x7 0000018600000249
x8 000000711ea22264 x9 0000000000000001 x10 0000000000000002 x11 0000007415bdf000
x12 00000000000035dd x13 0000000000001b9c x14 0000000000000018 x15 0000000000000000
x16 0000007415782c00 x17 0000007415776310 x18 000000741d76e000 x19 0000000000000000
x20 0000007415bdf6e4 x21 000000740e1e4b78 x22 0000000000001000 x23 00000074013b0a90
x24 0000007415bdf000 x25 00000000000040b0 x26 0000000000000692 x27 00000000000002b2
x28 0000000000004000 x29 0000007fdfc65fd0
lr 00000074157788f4 sp 0000007fdfc65fa0 pc 00000074013b0a94 pst 0000000080001000
4 total frames
backtrace:
#00 pc 0000000000017a94 /system/lib64/libutils.so (android::String16::~String16()+4) (BuildId: 4ce5249405dff1a8480d738901c940d4)
#01 pc 00000000000cd8f0 /apex/com.android.runtime/lib64/bionic/libc.so (__cxa_finalize+144) (BuildId: 19c32900d9d702c303d2b4164fbba76c)
#02 pc 00000000000bfa98 /apex/com.android.runtime/lib64/bionic/libc.so (exit+24) (BuildId: 19c32900d9d702c303d2b4164fbba76c)
#03 pc 00000000000546ec /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 19c32900d9d702c303d2b4164fbba76c)
About this issue
- Original URL
- State: open
- Created 5 months ago
- Comments: 15 (9 by maintainers)
Commits related to this issue
- Configure clean up actions dynamically Some actions may be performed when scrcpy exits, currently: - disable "show touches" - restore "stay on while plugged in" - power off screen - restore "powe... — committed to Genymobile/scrcpy by rom1v 5 months ago
- Configure clean up actions dynamically Some actions may be performed when scrcpy exits, currently: - disable "show touches" - restore "stay on while plugged in" - power off screen - restore "powe... — committed to Genymobile/scrcpy by rom1v 5 months ago
- Configure clean up actions dynamically Some actions may be performed when scrcpy exits, currently: - disable "show touches" - restore "stay on while plugged in" - power off screen - restore "powe... — committed to Genymobile/scrcpy by rom1v 5 months ago
Probably when #4473 is complete (it might take some time).
Meanwhile, you can build the
dev
branch.