Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone crashes immediately on starting scrcpy over usb #5768

Open
snowpie opened this issue Jan 18, 2025 · 0 comments
Open

Phone crashes immediately on starting scrcpy over usb #5768

snowpie opened this issue Jan 18, 2025 · 0 comments

Comments

@snowpie
Copy link

snowpie commented Jan 18, 2025

I've been using scrcpy for several years, on quite an old version (1.3) and it has been working very well. The phone it is connected to is quite old as well, running Android 10. This is mostly used by my disabled son who uses a joystick on his PC to control the phone remotely (over a usb cable).

Just recently, on connect, the phone will immediately reboot, every time. The phone is old enough that it hasn't had any recent updates and I've not updated scrcpy either. OTP mode also crashes after a couple of minutes; the normal screenshare mode comes up with a green rectangle on the PC while the phone restarts. OTP mode isn't really a solution as you can't 'uncapture' the mouse without a key sequence, plus the screenshare mode allows us to scale up the display to make it more readable.

I get the same issue connecting from a windows host and a linux host, and I have also tried the latest version of scrcpy (3.1), so this looks like a problem at the Android end

I was able to capture logs from adb during a connection setting - that's about where my technical skills on Android end so I was wondering if someone could point me in the right direction - I appreciate this isn't a problem with scrcpy as such but it certainly tickles a bug somewhere that is upsetting the phone.

01-17 21:27:52.292 7266 8918 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8918 (Dispatcher_2), pid 7266 (composer@2.1-se)
01-17 21:27:52.326 8924 8924 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 21:27:52.326 8924 8924 F DEBUG : Build fingerprint: 'Ulefone/Armor_X7_Pro_EEA/Armor_X7_Pro:10/QP1A.190711.020/1640684046:user/release-keys'
01-17 21:27:52.326 8924 8924 F DEBUG : Revision: '0'
01-17 21:27:52.326 8924 8924 F DEBUG : ABI: 'arm64'
01-17 21:27:52.327 8924 8924 F DEBUG : Timestamp: 2025-01-17 21:27:52+0000
01-17 21:27:52.327 8924 8924 F DEBUG : pid: 7266, tid: 8918, name: Dispatcher_2 >>> /vendor/bin/hw/android.hardware.graphics.composer@2.1-service <<<
01-17 21:27:52.327 8924 8924 F DEBUG : uid: 1000
01-17 21:27:52.327 8924 8924 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-17 21:27:52.327 8924 8924 F DEBUG : x0 0000000000000000 x1 00000000000022d6 x2 0000000000000006 x3 00000072d0308aa0
01-17 21:27:52.327 8924 8924 F DEBUG : x4 0000000000000020 x5 0000000000000020 x6 0000000000000020 x7 0000000000000020
01-17 21:27:52.327 8924 8924 F DEBUG : x8 00000000000000f0 x9 00000072e1841520 x10 0000000000000000 x11 0000000000000001
01-17 21:27:52.327 8924 8924 F DEBUG : x12 00000072d0308780 x13 3366656264323778 x14 0000000000000004 x15 0000000000000000
01-17 21:27:52.327 8924 8924 F DEBUG : x16 00000072e190f8c0 x17 00000072e18ec4f0 x18 00000072cf1c8000 x19 00000000000000ac
01-17 21:27:52.327 8924 8924 F DEBUG : x20 0000000000001c62 x21 00000000000000b2 x22 00000000000022d6 x23 00000000ffffffff
01-17 21:27:52.327 8924 8924 F DEBUG : x24 00000072dbeb2e08 x25 00000072dbe788c0 x26 00000072e017a490 x27 00000072e017a410
01-17 21:27:52.327 8924 8924 F DEBUG : x28 00000072e145a068 x29 00000072d0308b50
01-17 21:27:52.328 8924 8924 F DEBUG : sp 00000072d0308a80 lr 00000072e18a04c8 pc 00000072e18a04f8
01-17 21:27:52.331 8924 8924 F DEBUG :
01-17 21:27:52.331 8924 8924 F DEBUG : backtrace:
01-17 21:27:52.331 8924 8924 F DEBUG : #00 pc 00000000000834f8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: 4a8e31896b542a160fa1f1dae43732e7)
01-17 21:27:52.331 8924 8924 F DEBUG : #1 pc 0000000000073af8 /vendor/lib64/hw/hwcomposer.mt6761.so (BliterNode::invalidate(unsigned int, android::Rect*, unsigned int const&)+6600) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.331 8924 8924 F DEBUG : #2 pc 0000000000070398 /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::processFillBlack(PrivateHandle*, int*, MdpJob&)+2296) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.331 8924 8924 F DEBUG : #3 pc 0000000000070ea4 /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::fillBlack(native_handle const*, PrivateHandle*, int*, MdpJob*)+204) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.331 8924 8924 F DEBUG : #4 pc 000000000006f9f4 /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::clearBackground(native_handle const*, android::Rect const*, int*, MdpJob*)+756) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.332 8924 8924 F DEBUG : #5 pc 000000000006dcdc /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::processVirMirror(DispatcherJob*)+684) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.332 8924 8924 F DEBUG : #6 pc 000000000006cbcc /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::process(DispatcherJob*)+84) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.332 8924 8924 F DEBUG : #7 pc 0000000000057e4c /vendor/lib64/hw/hwcomposer.mt6761.so (LayerComposer::trigger(DispatcherJob*)+84) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.332 8924 8924 F DEBUG : #8 pc 0000000000052930 /vendor/lib64/hw/hwcomposer.mt6761.so (DispatchThread::threadLoop()+912) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:27:52.332 8924 8924 F DEBUG : #9 pc 000000000001380c /system/lib64/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+284) (BuildId: a84dd7661e21a6174ac2c5bb05d18f07)
01-17 21:27:52.332 8924 8924 F DEBUG : #10 pc 00000000000e37f4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 4a8e31896b542a160fa1f1dae43732e7)
01-17 21:27:52.332 8924 8924 F DEBUG : #11 pc 00000000000850f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 4a8e31896b542a160fa1f1dae43732e7)
01-17 21:39:45.035 8957 16077 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 16077 (Dispatcher_2), pid 8957 (composer@2.1-se)
01-17 21:39:45.086 16084 16084 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 21:39:45.086 16084 16084 F DEBUG : Build fingerprint: 'Ulefone/Armor_X7_Pro_EEA/Armor_X7_Pro:10/QP1A.190711.020/1640684046:user/release-keys'
01-17 21:39:45.086 16084 16084 F DEBUG : Revision: '0'
01-17 21:39:45.086 16084 16084 F DEBUG : ABI: 'arm64'
01-17 21:39:45.100 16084 16084 F DEBUG : Timestamp: 2025-01-17 21:39:45+0000
01-17 21:39:45.100 16084 16084 F DEBUG : pid: 8957, tid: 16077, name: Dispatcher_2 >>> /vendor/bin/hw/android.hardware.graphics.composer@2.1-service <<<
01-17 21:39:45.100 16084 16084 F DEBUG : uid: 1000
01-17 21:39:45.100 16084 16084 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-17 21:39:45.100 16084 16084 F DEBUG : x0 0000000000000000 x1 0000000000003ecd x2 0000000000000006 x3 000000780aca2aa0
01-17 21:39:45.100 16084 16084 F DEBUG : x4 0000000000000020 x5 0000000000000020 x6 0000000000000020 x7 0000000000000020
01-17 21:39:45.100 16084 16084 F DEBUG : x8 00000000000000f0 x9 000000781c468520 x10 0000000000000000 x11 0000000000000001
01-17 21:39:45.100 16084 16084 F DEBUG : x12 000000780aca2780 x13 3761396231383778 x14 0000000000000004 x15 0000000000000000
01-17 21:39:45.100 16084 16084 F DEBUG : x16 000000781c5368c0 x17 000000781c5134f0 x18 000000780a1a0000 x19 00000000000000ac
01-17 21:39:45.100 16084 16084 F DEBUG : x20 00000000000022fd x21 00000000000000b2 x22 0000000000003ecd x23 00000000ffffffff
01-17 21:39:45.100 16084 16084 F DEBUG : x24 000000781b8b0a08 x25 000000781b915480 x26 0000007819730490 x27 0000007819730410
01-17 21:39:45.100 16084 16084 F DEBUG : x28 000000781be52068 x29 000000780aca2b50
01-17 21:39:45.100 16084 16084 F DEBUG : sp 000000780aca2a80 lr 000000781c4c74c8 pc 000000781c4c74f8
01-17 21:39:45.108 16084 16084 F DEBUG :
01-17 21:39:45.108 16084 16084 F DEBUG : backtrace:
01-17 21:39:45.108 16084 16084 F DEBUG : #00 pc 00000000000834f8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: 4a8e31896b542a160fa1f1dae43732e7)
01-17 21:39:45.109 16084 16084 F DEBUG : #1 pc 0000000000073af8 /vendor/lib64/hw/hwcomposer.mt6761.so (BliterNode::invalidate(unsigned int, android::Rect*, unsigned int const&)+6600) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #2 pc 0000000000070398 /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::processFillBlack(PrivateHandle*, int*, MdpJob&)+2296) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #3 pc 0000000000070ea4 /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::fillBlack(native_handle const*, PrivateHandle*, int*, MdpJob*)+204) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #4 pc 000000000006f9f4 /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::clearBackground(native_handle const*, android::Rect const*, int*, MdpJob*)+756) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #5 pc 000000000006dcdc /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::processVirMirror(DispatcherJob*)+684) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #6 pc 000000000006cbcc /vendor/lib64/hw/hwcomposer.mt6761.so (AsyncBliterHandler::process(DispatcherJob*)+84) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #7 pc 0000000000057e4c /vendor/lib64/hw/hwcomposer.mt6761.so (LayerComposer::trigger(DispatcherJob*)+84) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #8 pc 0000000000052930 /vendor/lib64/hw/hwcomposer.mt6761.so (DispatchThread::threadLoop()+912) (BuildId: 23d59a2785c27559a6101ee025992cea)
01-17 21:39:45.109 16084 16084 F DEBUG : #9 pc 000000000001380c /system/lib64/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+284) (BuildId: a84dd7661e21a6174ac2c5bb05d18f07)
01-17 21:39:45.109 16084 16084 F DEBUG : #10 pc 00000000000e37f4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 4a8e31896b542a160fa1f1dae43732e7)
01-17 21:39:45.109 16084 16084 F DEBUG : #11 pc 00000000000850f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 4a8e31896b542a160fa1f1dae43732e7)
01-17 21:39:54.549 8954 9151 F HidlStatus: Status.cpp:163] Failed HIDL return status not checked: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: '
01-17 21:39:54.550 8954 9151 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 9151 (Binder:8954_4), pid 8954 (surfaceflinger)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant