https://bugs.winehq.org/show_bug.cgi?id=55889
Bug ID: 55889 Summary: Valgrind complains about wld_mmap being in Text segment Product: Wine Version: 8.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: loader Assignee: wine-bugs@winehq.org Reporter: winehq@davidebeatrici.dev Distribution: ---
Created attachment 75426 --> https://bugs.winehq.org/attachment.cgi?id=75426 Valgrind log
I selected "8.20" as the version because it's the latest to be affected, but I'm not sure when the problem was introduced exactly.
It could very well be a bug in Valgrind, but I can't reproduce the issue with the current Debian Testing package: https://packages.debian.org/trixie/wine
That Wine version appears to be 8.0.1:
$ wine --version wine-8.0.1 (Debian 8.0.1~repack-3)
The attached log was generated by Valgrind with the suppressions from https://github.com/austin987/wine-valgrind-scripts when attempting to run Wine through it.
https://bugs.winehq.org/show_bug.cgi?id=55889
Davide Beatrici winehq@davidebeatrici.dev changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |ac1761d1dae8bf114a05e28ed68 | |86deba6c2c860
https://bugs.winehq.org/show_bug.cgi?id=55889
--- Comment #1 from Davide Beatrici winehq@davidebeatrici.dev --- I bisected from 8.0.1 to 8.20 and found ac1761d1dae8bf114a05e28ed6886deba6c2c860.
Reverting that single commit fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=55889
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- It definitely looks like a Valgrind bug.
https://bugs.winehq.org/show_bug.cgi?id=55889
--- Comment #3 from Davide Beatrici winehq@davidebeatrici.dev --- Reported: https://bugs.kde.org/show_bug.cgi?id=477044