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

Fix system call failures when running winetricks verbs #115

Merged
merged 2 commits into from
Jun 30, 2024

Conversation

R1kaB3rN
Copy link
Member

@R1kaB3rN R1kaB3rN commented Jun 14, 2024

Intended to be merged before 0.1 release, fixes system call failures when applying winetricks verbs to the WINE prefix, in favor of patching the 'proton' script and setting the required environment variables from there.

As a result, the launcher will only guard against invalid winetricks verbs and the reapplication of them.

Depends on Open-Wine-Components/umu-proton#1 being merged and the release of UMU-Proton9-2

@R1kaB3rN R1kaB3rN marked this pull request as ready for review June 14, 2024 22:49
@R1kaB3rN R1kaB3rN force-pushed the remove-wt-envar branch 2 times, most recently from 799ddd0 to 6323999 Compare June 30, 2024 17:35
- Currently, winetricks verbs are being applied to the wine prefix by executing the winetricks script as an executable for Proton. For some reason, this results in system calls failing for container binaries such as grep and sed, which are required by winetricks for parsing. Here's an example of grep's coredump:

Stack trace of thread 52329:
0  0x000070003275383b n/a (/lib/ld-linux-x86-64.so.2 + 0x2183b)
1  0x000070003274e0f8 n/a (/lib/ld-linux-x86-64.so.2 + 0x1c0f8)
2  0x000070003274f9be n/a (/lib/ld-linux-x86-64.so.2 + 0x1d9be)
3  0x000070003274e748 n/a (/lib/ld-linux-x86-64.so.2 + 0x1c748)
ELF object binary architecture: AMD x86-64

While this doesn't appear to impact the application of winetricks verbs to the prefix nor has there been reports of this problem yet, as a precaution, we should set these environment variables from the proton script and replicate protonfixes' execution. As a result, there should be no more coredumps except from wine64-preloader, which should be normal, and the launcher will only guard against valid winetricks verbs
@R1kaB3rN R1kaB3rN merged commit fb28c60 into Open-Wine-Components:main Jun 30, 2024
5 checks passed
@R1kaB3rN R1kaB3rN deleted the remove-wt-envar branch June 30, 2024 17:38
@R1kaB3rN R1kaB3rN mentioned this pull request Sep 5, 2024
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

Successfully merging this pull request may close these issues.

1 participant