https://bugs.winehq.org/show_bug.cgi?id=42653
Bug ID: 42653 Summary: Wine x64 have wrong DRX registers usage. Product: Wine Version: 2.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: deniwork@yandex.ru Distribution: ---
Created attachment 57589 --> https://bugs.winehq.org/attachment.cgi?id=57589 Source file to reproduce fatal error
I attached source file to reproduce the problem. I run compiled executable on Ubuntu 16.10 with Wine 2.3 Staging and get following output: DR0 - 0 ; DR1 - 2 ; DR2 - 4e8e0; DR3 - 23f680 ; DR6 - 2 ; DR7 - 90
Why Wine x64 using DRX registers?
This behavior can cause many fatal errors in programs and must be fixed! I will provide any additional info if needed.
https://bugs.winehq.org/show_bug.cgi?id=42653
--- Comment #1 from Denis deniwork@yandex.ru --- Wine x86 2.3 does not have such a problem.
https://bugs.winehq.org/show_bug.cgi?id=42653
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de Summary|Wine x64 have wrong DRX |Wine x64 does not set debug |registers usage. |registers in exception | |record
--- Comment #2 from Michael Müller michael@fds-team.de --- The problem is not that Wine is using the debug registers on x64 for its own purposes, but that the debug registers are not set in the exception record. Your test application basically reads uninitialized memory.
Andrew Wesie sent a patch a month ago to fix the issue, but it was not merged: https://www.winehq.org/pipermail/wine-patches/2017-February/158003.html
https://bugs.winehq.org/show_bug.cgi?id=42653
--- Comment #3 from Denis deniwork@yandex.ru --- Hello! Any good news? This generic bug must be fixed.
https://bugs.winehq.org/show_bug.cgi?id=42653
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |a1b563f41c2246f94467b17d67a | |369cfbe144a2d Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Hopefully fixed by a1b563f41c2246f94467b17d67a369cfbe144a2d, please retest.
https://bugs.winehq.org/show_bug.cgi?id=42653
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.13.