Github messages for voidlinux
 help / color / mirror / Atom feed
From: devlocalhost <devlocalhost@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: scrcpy failing to run because of SIGILL SDL2
Date: Thu, 24 Aug 2023 11:33:42 +0200	[thread overview]
Message-ID: <20230824093342.BV8T9TUG6UBnkxFJuS0GaU91gn1F00xId4cpnmO6TH0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44829@inbox.vuxu.org>

[-- 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)
```

  parent reply	other threads:[~2023-08-24  9:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-04 10:18 [ISSUE] " 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 [this message]
2023-09-16 15:00 ` [ISSUE] [CLOSED] " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230824093342.BV8T9TUG6UBnkxFJuS0GaU91gn1F00xId4cpnmO6TH0@z \
    --to=devlocalhost@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).