Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] scrcpy failing to run because of SIGILL SDL2
@ 2023-07-04 10:18 devlocalhost
  2023-07-04 10:18 ` devlocalhost
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: devlocalhost @ 2023-07-04 10:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

New issue by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829

Description:
### Is this a new report?

Yes

### System Info

Void 6.3.8_dev64-xanmod1 i686 GenuineIntel uptodate rrdDFF

### Package(s) Affected

scrcpy-2.1_1, SDL2-2.28.1_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Scrcpy will start mirroring the connected android device to the computer 

### Actual behaviour

Scrcpy does not start mirroring, instead it crashes with "SIGILL" error

### Steps to reproduce

1. Install scrcpy
2. Install SDL2
3. Connect an android device with USB debugging enabled
4. On the computer, run "scrcpy"
5. Scrcpy will crash

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
@ 2023-07-04 10:18 ` devlocalhost
  2023-07-04 10:19 ` devlocalhost
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-07-04 10:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1619969222

Comment:
Additional information (gdb): https://dpaste.com/CB2VVSPLR

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
  2023-07-04 10:18 ` devlocalhost
@ 2023-07-04 10:19 ` devlocalhost
  2023-07-04 10:21 ` devlocalhost
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-07-04 10:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1619969222

Comment:
Additional information (gdb):
```
(gdb) r
Starting program: /usr/bin/scrcpy 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib32/libthread_db.so.1".
scrcpy 2.1 <https://github.com/Genymobile/scrcpy>
[Detaching after fork from child process 4032]
[New Thread 0xb28a8b40 (LWP 4033)]
[Detaching after fork from child process 4034]

Thread 1 "scrcpy" received signal SIGILL, Illegal instruction.
0xb658091b in CalculateXRandRRefreshRate (info=<optimized out>) at ../src/video/x11/SDL_x11modes.c:198
198	../src/video/x11/SDL_x11modes.c: No such file or directory.
(gdb) bt
#0  0xb658091b in CalculateXRandRRefreshRate (info=<optimized out>) at ../src/video/x11/SDL_x11modes.c:198
#1  SetXRandRModeInfo (display=display@entry=0x4cdcd0, res=res@entry=0x4e4370, crtc=crtc@entry=63, modeID=modeID@entry=69, mode=mode@entry=0xbffff4c8)
    at ../src/video/x11/SDL_x11modes.c:224
#2  0xb6580e7d in X11_AddXRandRDisplay (dpy=dpy@entry=0x4cdcd0, screen=screen@entry=0, outputid=65, res=res@entry=0x4e4370, 
    send_event=send_event@entry=SDL_FALSE, _this=0x4cf430) at ../src/video/x11/SDL_x11modes.c:379
#3  0xb658159d in X11_InitModes_XRandR (_this=0x4cf430) at ../src/video/x11/SDL_x11modes.c:501
#4  X11_InitModes (_this=_this@entry=0x4cf430) at ../src/video/x11/SDL_x11modes.c:647
#5  0xb6586345 in X11_VideoInit (_this=0x4cf430) at ../src/video/x11/SDL_x11video.c:456
#6  0xb65504a0 in SDL_VideoInit_REAL (driver_name=<optimized out>, driver_name@entry=0x0) at ../src/video/SDL_video.c:520
#7  0xb647d2e2 in SDL_InitSubSystem_REAL (flags=16416) at ../src/SDL.c:247
#8  0x0041389d in ?? ()
#9  0x0040698d in main ()
```

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
  2023-07-04 10:18 ` devlocalhost
  2023-07-04 10:19 ` devlocalhost
@ 2023-07-04 10:21 ` devlocalhost
  2023-07-04 10:29 ` devlocalhost
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-07-04 10:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1858 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1619969222

Comment:
Additional information:
Processor: Intel Celeron 360M

GDB:
```
(gdb) r
Starting program: /usr/bin/scrcpy 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib32/libthread_db.so.1".
scrcpy 2.1 <https://github.com/Genymobile/scrcpy>
[Detaching after fork from child process 4032]
[New Thread 0xb28a8b40 (LWP 4033)]
[Detaching after fork from child process 4034]

Thread 1 "scrcpy" received signal SIGILL, Illegal instruction.
0xb658091b in CalculateXRandRRefreshRate (info=<optimized out>) at ../src/video/x11/SDL_x11modes.c:198
198	../src/video/x11/SDL_x11modes.c: No such file or directory.
(gdb) bt
#0  0xb658091b in CalculateXRandRRefreshRate (info=<optimized out>) at ../src/video/x11/SDL_x11modes.c:198
#1  SetXRandRModeInfo (display=display@entry=0x4cdcd0, res=res@entry=0x4e4370, crtc=crtc@entry=63, modeID=modeID@entry=69, mode=mode@entry=0xbffff4c8)
    at ../src/video/x11/SDL_x11modes.c:224
#2  0xb6580e7d in X11_AddXRandRDisplay (dpy=dpy@entry=0x4cdcd0, screen=screen@entry=0, outputid=65, res=res@entry=0x4e4370, 
    send_event=send_event@entry=SDL_FALSE, _this=0x4cf430) at ../src/video/x11/SDL_x11modes.c:379
#3  0xb658159d in X11_InitModes_XRandR (_this=0x4cf430) at ../src/video/x11/SDL_x11modes.c:501
#4  X11_InitModes (_this=_this@entry=0x4cf430) at ../src/video/x11/SDL_x11modes.c:647
#5  0xb6586345 in X11_VideoInit (_this=0x4cf430) at ../src/video/x11/SDL_x11video.c:456
#6  0xb65504a0 in SDL_VideoInit_REAL (driver_name=<optimized out>, driver_name@entry=0x0) at ../src/video/SDL_video.c:520
#7  0xb647d2e2 in SDL_InitSubSystem_REAL (flags=16416) at ../src/SDL.c:247
#8  0x0041389d in ?? ()
#9  0x0040698d in main ()
```

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (2 preceding siblings ...)
  2023-07-04 10:21 ` devlocalhost
@ 2023-07-04 10:29 ` devlocalhost
  2023-07-04 16:28 ` sgn
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-07-04 10:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3221 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1619969222

Comment:
Additional information:
Processor: Intel Celeron 360M 32bit (i686)

GDB logs:

Xorg session (dwm):
```
(gdb) r
Starting program: /usr/bin/scrcpy 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib32/libthread_db.so.1".
scrcpy 2.1 <https://github.com/Genymobile/scrcpy>
[Detaching after fork from child process 4032]
[New Thread 0xb28a8b40 (LWP 4033)]
[Detaching after fork from child process 4034]

Thread 1 "scrcpy" received signal SIGILL, Illegal instruction.
0xb658091b in CalculateXRandRRefreshRate (info=<optimized out>) at ../src/video/x11/SDL_x11modes.c:198
198	../src/video/x11/SDL_x11modes.c: No such file or directory.
(gdb) bt
#0  0xb658091b in CalculateXRandRRefreshRate (info=<optimized out>) at ../src/video/x11/SDL_x11modes.c:198
#1  SetXRandRModeInfo (display=display@entry=0x4cdcd0, res=res@entry=0x4e4370, crtc=crtc@entry=63, modeID=modeID@entry=69, mode=mode@entry=0xbffff4c8)
    at ../src/video/x11/SDL_x11modes.c:224
#2  0xb6580e7d in X11_AddXRandRDisplay (dpy=dpy@entry=0x4cdcd0, screen=screen@entry=0, outputid=65, res=res@entry=0x4e4370, 
    send_event=send_event@entry=SDL_FALSE, _this=0x4cf430) at ../src/video/x11/SDL_x11modes.c:379
#3  0xb658159d in X11_InitModes_XRandR (_this=0x4cf430) at ../src/video/x11/SDL_x11modes.c:501
#4  X11_InitModes (_this=_this@entry=0x4cf430) at ../src/video/x11/SDL_x11modes.c:647
#5  0xb6586345 in X11_VideoInit (_this=0x4cf430) at ../src/video/x11/SDL_x11video.c:456
#6  0xb65504a0 in SDL_VideoInit_REAL (driver_name=<optimized out>, driver_name@entry=0x0) at ../src/video/SDL_video.c:520
#7  0xb647d2e2 in SDL_InitSubSystem_REAL (flags=16416) at ../src/SDL.c:247
#8  0x0041389d in ?? ()
#9  0x0040698d in main ()
```

Wayland session (gnome 44.2):
```
Thread 1 "scrcpy" received signal SIGILL, Illegal instruction.
0xb659ce9c in display_handle_done (data=0x4d3e30, output=0x4d3d50)
    at ../src/video/wayland/SDL_waylandvideo.c:575
575	../src/video/wayland/SDL_waylandvideo.c: No such file or directory.
(gdb) bt
#0  0xb659ce9c in display_handle_done (data=0x4d3e30, output=0x4d3d50)
    at ../src/video/wayland/SDL_waylandvideo.c:575
#1  0xb36c9768 in ?? () from /usr/lib32/libffi.so.7
#2  0xb36c8a6b in ?? () from /usr/lib32/libffi.so.7
#3  0xb4806432 in ?? () from /usr/lib32/libwayland-client.so.0
#4  0xb48067f2 in wl_display_dispatch_queue_pending ()
   from /usr/lib32/libwayland-client.so.0
#5  0xb4808172 in wl_display_dispatch_queue () from /usr/lib32/libwayland-client.so.0
#6  0xb4809230 in wl_display_roundtrip_queue () from /usr/lib32/libwayland-client.so.0
#7  0xb4809298 in wl_display_roundtrip () from /usr/lib32/libwayland-client.so.0
#8  0xb659e75f in Wayland_VideoInit (_this=0x4d1a40)
    at ../src/video/wayland/SDL_waylandvideo.c:945
#9  0xb65504a0 in SDL_VideoInit_REAL (driver_name=<optimized out>, driver_name@entry=0x0)
    at ../src/video/SDL_video.c:520
#10 0xb647d2e2 in SDL_InitSubSystem_REAL (flags=16416) at ../src/SDL.c:247
#11 0x0041389d in ?? ()
#12 0x0040698d in main ()
```

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (3 preceding siblings ...)
  2023-07-04 10:29 ` devlocalhost
@ 2023-07-04 16:28 ` sgn
  2023-07-04 16:32 ` devlocalhost
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sgn @ 2023-07-04 16:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1620513823

Comment:
Your CPU, GPU?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (4 preceding siblings ...)
  2023-07-04 16:28 ` sgn
@ 2023-07-04 16:32 ` devlocalhost
  2023-08-05 11:14 ` devlocalhost
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-07-04 16:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1620517543

Comment:
> Your CPU, GPU?

CPU: Intel Celeron M 360
GPU: Intel Mobile 915GM/GMS/910GML Express Graphics

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (5 preceding siblings ...)
  2023-07-04 16:32 ` devlocalhost
@ 2023-08-05 11:14 ` devlocalhost
  2023-08-05 17:18 ` biopsin
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-08-05 11:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1666475562

Comment:
No one knows...?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (6 preceding siblings ...)
  2023-08-05 11:14 ` devlocalhost
@ 2023-08-05 17:18 ` biopsin
  2023-08-24  9:33 ` devlocalhost
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: biopsin @ 2023-08-05 17:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1666558247

Comment:
Its hard to replicate since its workin fine for here
 ~/Downloads $ !544
```
scrcpy -d --stay-awake --turn-screen-off && adb kill-server
scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
INFO: ADB device found:
INFO:     -->   (usb)  QV710PVB3F                      device  Xperia_1_II
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 94.6 MB/s (56995 bytes in 0.001s)
[server] INFO: Device: [Sony] Sony Xperia 1 II (Android 11)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 23.1.3
INFO: Trilinear filtering enabled
[server] INFO: Device screen turned off
INFO: Texture: 1096x2560
```

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (7 preceding siblings ...)
  2023-08-05 17:18 ` biopsin
@ 2023-08-24  9:33 ` devlocalhost
  2023-08-24  9:33 ` devlocalhost
  2023-09-16 15:00 ` [ISSUE] [CLOSED] " classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-08-24  9:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3462 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1691344432

Comment:
After the SDL2 update (2.28.2_1), now I get a different error:

```
dev64 # 12:25:45 PM
 > scrcpy
scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.2.91:5555               device  Mi_A3
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 2.6 MB/s (56995 bytes in 0.021s)
[server] INFO: Device: [Xiaomi] Xiaomi Mi A3 (Android 13)
fish: Job 1, 'scrcpy' terminated by signal SIGILL (Illegal instruction)
dev64 # 12:25:50 PM
 > gdb scrcpy
GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from scrcpy...
Reading symbols from /usr/lib/debug//usr/bin/scrcpy...
(gdb) r
Starting program: /usr/bin/scrcpy
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib32/libthread_db.so.1".
scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
[New Thread 0xb2821b40 (LWP 1260)]
[Detaching after fork from child process 1261]
[Detaching after fork from child process 1262]
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.2.91:5555               device  Mi_A3
[Detaching after fork from child process 1263]
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 33.0 MB/s (56995 bytes in 0.002s)
[Detaching after fork from child process 1264]
[Detaching after fork from child process 1265]
[New Thread 0xb1dffb40 (LWP 1266)]
[New Thread 0xb15feb40 (LWP 1268)]
[server] INFO: Device: [Xiaomi] Xiaomi Mi A3 (Android 13)
[Detaching after fork from child process 1269]
[New Thread 0xb0dfdb40 (LWP 1270)]
[New Thread 0xb05fcb40 (LWP 1271)]

Thread 1 "scrcpy" received signal SIGILL, Illegal instruction.
0xb64c1525 in QueueCmdSetViewport (renderer=renderer@entry=0x516310) at ../src/render/SDL_render.c:359
359     ../src/render/SDL_render.c: No such file or directory.
(gdb) bt
#0  0xb64c1525 in QueueCmdSetViewport (renderer=renderer@entry=0x516310) at ../src/render/SDL_render.c:359
#1  0xb64c6223 in SDL_RenderSetViewport_REAL (renderer=0x516310, rect=0x0) at ../src/render/SDL_render.c:2455
#2  0xb64c6530 in SDL_CreateRenderer_REAL (window=0x500280, index=<optimized out>, flags=2) at ../src/render/SDL_render.c:1084
#3  0x0041c6d8 in sc_display_init (display=<optimized out>, mipmaps=true, window=<optimized out>) at ../app/src/display.c:10
#4  sc_screen_init.constprop.0 (params=params@entry=0xbffff888, screen=<optimized out>) at ../app/src/screen.c:405
#5  0x004136ad in scrcpy (options=0xbffffa5c) at ../app/src/scrcpy.c:698
#6  0x0040698d in main_scrcpy (argv=0xbffffc34, argc=1) at ../app/src/main.c:82
#7  main (argc=1, argv=0xbffffc34) at ../app/src/main.c:93
(gdb)
```

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (8 preceding siblings ...)
  2023-08-24  9:33 ` devlocalhost
@ 2023-08-24  9:33 ` devlocalhost
  2023-09-16 15:00 ` [ISSUE] [CLOSED] " classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: devlocalhost @ 2023-08-24  9:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3474 bytes --]

New comment by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829#issuecomment-1691344432

Comment:
After the SDL2 update (2.28.1_1 to 2.28.2_1), now I get a different error:

```
dev64 # 12:25:45 PM
 > scrcpy
scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.2.91:5555               device  Mi_A3
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 2.6 MB/s (56995 bytes in 0.021s)
[server] INFO: Device: [Xiaomi] Xiaomi Mi A3 (Android 13)
fish: Job 1, 'scrcpy' terminated by signal SIGILL (Illegal instruction)
dev64 # 12:25:50 PM
 > gdb scrcpy
GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from scrcpy...
Reading symbols from /usr/lib/debug//usr/bin/scrcpy...
(gdb) r
Starting program: /usr/bin/scrcpy
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib32/libthread_db.so.1".
scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
[New Thread 0xb2821b40 (LWP 1260)]
[Detaching after fork from child process 1261]
[Detaching after fork from child process 1262]
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.2.91:5555               device  Mi_A3
[Detaching after fork from child process 1263]
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 33.0 MB/s (56995 bytes in 0.002s)
[Detaching after fork from child process 1264]
[Detaching after fork from child process 1265]
[New Thread 0xb1dffb40 (LWP 1266)]
[New Thread 0xb15feb40 (LWP 1268)]
[server] INFO: Device: [Xiaomi] Xiaomi Mi A3 (Android 13)
[Detaching after fork from child process 1269]
[New Thread 0xb0dfdb40 (LWP 1270)]
[New Thread 0xb05fcb40 (LWP 1271)]

Thread 1 "scrcpy" received signal SIGILL, Illegal instruction.
0xb64c1525 in QueueCmdSetViewport (renderer=renderer@entry=0x516310) at ../src/render/SDL_render.c:359
359     ../src/render/SDL_render.c: No such file or directory.
(gdb) bt
#0  0xb64c1525 in QueueCmdSetViewport (renderer=renderer@entry=0x516310) at ../src/render/SDL_render.c:359
#1  0xb64c6223 in SDL_RenderSetViewport_REAL (renderer=0x516310, rect=0x0) at ../src/render/SDL_render.c:2455
#2  0xb64c6530 in SDL_CreateRenderer_REAL (window=0x500280, index=<optimized out>, flags=2) at ../src/render/SDL_render.c:1084
#3  0x0041c6d8 in sc_display_init (display=<optimized out>, mipmaps=true, window=<optimized out>) at ../app/src/display.c:10
#4  sc_screen_init.constprop.0 (params=params@entry=0xbffff888, screen=<optimized out>) at ../app/src/screen.c:405
#5  0x004136ad in scrcpy (options=0xbffffa5c) at ../app/src/scrcpy.c:698
#6  0x0040698d in main_scrcpy (argv=0xbffffc34, argc=1) at ../app/src/main.c:82
#7  main (argc=1, argv=0xbffffc34) at ../app/src/main.c:93
(gdb)
```

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [ISSUE] [CLOSED] scrcpy failing to run because of SIGILL SDL2
  2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
                   ` (9 preceding siblings ...)
  2023-08-24  9:33 ` devlocalhost
@ 2023-09-16 15:00 ` classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2023-09-16 15:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

Closed issue by devlocalhost on void-packages repository

https://github.com/void-linux/void-packages/issues/44829

Description:
### Is this a new report?

Yes

### System Info

Void 6.3.8_dev64-xanmod1 i686 GenuineIntel uptodate rrdDFF

### Package(s) Affected

scrcpy-2.1_1, SDL2-2.28.1_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Scrcpy will start mirroring the connected android device to the computer 

### Actual behaviour

Scrcpy does not start mirroring, instead it crashes with "SIGILL" error

### Steps to reproduce

1. Install scrcpy
2. Install SDL2
3. Connect an android device with USB debugging enabled
4. On the computer, run "scrcpy"
5. Scrcpy will crash

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-09-16 15:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 10:18 [ISSUE] scrcpy failing to run because of SIGILL SDL2 devlocalhost
2023-07-04 10:18 ` devlocalhost
2023-07-04 10:19 ` devlocalhost
2023-07-04 10:21 ` devlocalhost
2023-07-04 10:29 ` devlocalhost
2023-07-04 16:28 ` sgn
2023-07-04 16:32 ` devlocalhost
2023-08-05 11:14 ` devlocalhost
2023-08-05 17:18 ` biopsin
2023-08-24  9:33 ` devlocalhost
2023-08-24  9:33 ` devlocalhost
2023-09-16 15:00 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).