[Bug 59726] New: Syscall emulation on Linux using Syscall User Dispatch broken with glibc 2.34
http://bugs.winehq.org/show_bug.cgi?id=59726 Bug ID: 59726 Summary: Syscall emulation on Linux using Syscall User Dispatch broken with glibc 2.34 Product: Wine Version: 11.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: valy@etersoft.ru Regression SHA1: cbb9906d75346c9ca9be8ac0b3ddb06d9d48824d Distribution: --- Created attachment 80872 --> http://bugs.winehq.org/attachment.cgi?id=80872 VisualStudioSetup.exe After initializing the Visual Studio installer (https://visualstudio.microsoft.com) under Wine 11.8, execution stops. I managed to identify that the cause is this commit: cbb9906d75346c9ca9be8ac0b3ddb06d9d48824d is the first bad commit commit cbb9906d75346c9ca9be8ac0b3ddb06d9d48824d (HEAD) Author: Elizabeth Figura zfigura@codeweavers.com Date: Fri Mar 13 16:25:41 2026 -0500 ntdll: Implement syscall emulation on Linux using Syscall User Dispatch. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48291 dlls/ntdll/tests/exception.c | 1 - dlls/ntdll/unix/signal_x86_64.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 60 insertions(+), 12 deletions(-) As I understand it, the reason for this behavior is the merging of libpthread, libdl, libutil, libanl into libc in version 2.34 (https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html). I am running with libc version 2.32. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #1 from valy@etersoft.ru <valy@etersoft.ru> --- Created attachment 80873 --> http://bugs.winehq.org/attachment.cgi?id=80873 Disable syscall user dispatch on glibc older than 2.34 This patch helped me -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 valy@etersoft.ru <valy@etersoft.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #2 from Zeb Figura <z.figura12@gmail.com> --- I can't seem to run the installer; I get 'Unable to download installation files. Check your internet connection and try again.' -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #3 from valy@etersoft.ru <valy@etersoft.ru> --- Created attachment 80881 --> http://bugs.winehq.org/attachment.cgi?id=80881 Paint.NET Maybe this app will help you. It also doesn't work for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #4 from Zeb Figura <z.figura12@gmail.com> --- Please don't attach executables here you don't have permission to redistribute. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #5 from Zeb Figura <z.figura12@gmail.com> --- How exactly did you get visual studio to run? Did you use external patches or winetricks verbs? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #6 from Alexandre Julliard <julliard@winehq.org> --- The content of attachment 80872 has been deleted for the following reason: Copyright violation -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #7 from valy@etersoft.ru <valy@etersoft.ru> --- (In reply to Zeb Figura from comment #5)
How exactly did you get visual studio to run? Did you use external patches or winetricks verbs?
What helped me was adding an additional condition check in the libc_addr_cb function (dlls/ntdll/unix/signal_x86_64.c): if (strcmp(p, "libc.so.6") && strcmp(p, "libpthread.so.0")) return 0; I also found that setting static LONG syscall_dispatch_enabled = false; was helpful. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #8 from Zeb Figura <z.figura12@gmail.com> --- It won't run for me even after disabling syscall emulation. I get the error mentioned in comment 2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #9 from valy@etersoft.ru <valy@etersoft.ru> --- (In reply to Zeb Figura from comment #8)
It won't run for me even after disabling syscall emulation. I get the error mentioned in comment 2.
What if I try installing paint.net? This program also causes the same problem for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59726 --- Comment #10 from valy@etersoft.ru <valy@etersoft.ru> --- (In reply to valy@etersoft.ru from comment #9)
(In reply to Zeb Figura from comment #8)
It won't run for me even after disabling syscall emulation. I get the error mentioned in comment 2.
What if I try installing paint.net?
*Have you tried installing paint.net? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla