https://bugs.winehq.org/show_bug.cgi?id=57950
Bug ID: 57950 Summary: Debugger Found Error in Wine 10.3 - Unable to Run MT5 on Linux Product: Wine Version: 10.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: zareisajad98@gmail.com Distribution: ---
I'm encountering a persistent "a debugger has been found on your system, unload it from memory and restart your program" error while trying to run MetaTrader 5 using Wine on Arch Linux.
https://bugs.winehq.org/show_bug.cgi?id=57950
Aleksandar Petrinic petrinic@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petrinic@gmail.com
--- Comment #1 from Aleksandar Petrinic petrinic@gmail.com --- What is your MT5 build version? I didn't hit it with the 4755 version, but I hit it with the MT4 version after upgrading to wine-10.3(tried new wineprefix, also the installer didn't work triggering the same error). Downgrading to 10.2 makes everything work again.
https://bugs.winehq.org/show_bug.cgi?id=57950
Daniel Bermond danielbermond@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |danielbermond@yahoo.com
--- Comment #2 from Daniel Bermond danielbermond@yahoo.com --- This issue seems to be the same as the Metatrader 4 one reported in bug 58011 (https://bugs.winehq.org/show_bug.cgi?id=58011).
A git bisect shows the offending commit for the Metatrader 4 issue as being:
https://gitlab.winehq.org/wine/wine/-/commit/dc718fd33b23a6104a0fa2e971a3586...
Since Metatrader 4 and Metatrader 5 are closely related, probably this commit also takes a role here.
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #3 from Aleksandar Petrinic petrinic@gmail.com --- I just want to clarify what came out from discussion with various users on metaquotes' forum. Simply said MT5 works well with all version after 10.2 if you use a distro that doesn't mess up with compilation flags. For example I am on kubuntu 24.04 and it worked well every time(MT4 never worked after the 10.2, neither on the installation file). On the metaquotes forum, only the Arch Linux users(and other rolling distro) hit the issue with "a debugger has been found on your system, unload it from memory and restart your program" on MT5.
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- That's all very vague. What compilation flags are they "messing" with?
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- Please attach the console output, which is a bare minimum for a bug report.
http://bugs.winehq.org/show_bug.cgi?id=57950
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO Keywords| |download Distribution|--- |ArchLinux Summary|Debugger Found Error in |Unable to run MT5 |Wine 10.3 - Unable to Run | |MT5 on Linux |
http://bugs.winehq.org/show_bug.cgi?id=57950
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tst1@mixbox.pl
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- *** Bug 58011 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=57950
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll URL| |https://download.mql5.com/c | |dn/web/metaquotes.software. | |corp/mt4/mt4setup.exe Keywords| |obfuscation, regression, | |win64 Blocks| |36729, 46424, 48352, 45083, | |54237, 48810, 43997, 48384, | |44425, 45746, 44730, 23278, | |35974, 37589, 23277, 46767, | |48764, 53885 CC| |imwellcushtymelike@gmail.co | |m, julliard@winehq.org Distribution|ArchLinux |--- Regression SHA1| |dc718fd33b23a6104a0fa2e971a | |358662bf766af Status|NEEDINFO |NEW Summary|Unable to run MT5 |Metatrader refuses to | |run/install
--- Comment #7 from Ken Sharp imwellcushtymelike@gmail.com --- Confirming with MT4. It simply refuses to install. Duplicate confirms MT5 is affected.
Just the one line printed: 012c:fixme:ntdll:NtRaiseHardError 0x50000018 4 0x3 0x7ffffe1fe978 0 0x7ffffe1ff408: stub
Also confirming that this starts with commit dc718fd33b23a6104a0fa2e971a358662bf766af, and it cannot be automatically reverted in current git: ntdll: Add some missing Zw exports.
Workaround for end users: MT4/5 is now available on MacOS and Linux.
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #8 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 78676 --> http://bugs.winehq.org/attachment.cgi?id=78676 Screenshot
Same in Staging 10.9
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #9 from Ken Sharp imwellcushtymelike@gmail.com ---
Workaround for end users: MT4/5 is now available on MacOS and Linux.
Scrub that, they use Wine. Should still work in Wine Stable (10.0).
http://bugs.winehq.org/show_bug.cgi?id=57950
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- It's using the same DRM.
http://bugs.winehq.org/show_bug.cgi?id=57950
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Duplicate resolution was lost by Anubis...
*** This bug has been marked as a duplicate of bug 58043 ***
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #12 from Aleksandar Petrinic petrinic@gmail.com --- Created attachment 78692 --> http://bugs.winehq.org/attachment.cgi?id=78692 terminal output of run mt4 installer
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #13 from Aleksandar Petrinic petrinic@gmail.com --- (In reply to Alexandre Julliard from comment #11)
Duplicate resolution was lost by Anubis...
*** This bug has been marked as a duplicate of bug 58043 ***
I see you have marked this bug as the duplicate of the other bug, I checked that as well and its solution to set by winecfg to Windows 11 didn't work for mt4 installer. Is this expected even if the bug is a duplicate?
I am attaching the terminal output, running the last mt4(downloaded from the URL from this bug report)
http://bugs.winehq.org/show_bug.cgi?id=57950
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- (In reply to Aleksandar Petrinic from comment #13)
(In reply to Alexandre Julliard from comment #11)
Duplicate resolution was lost by Anubis...
*** This bug has been marked as a duplicate of bug 58043 ***
I see you have marked this bug as the duplicate of the other bug, I checked that as well and its solution to set by winecfg to Windows 11 didn't work for mt4 installer. Is this expected even if the bug is a duplicate?
I am attaching the terminal output, running the last mt4(downloaded from the URL from this bug report)
You need to set version to Windows 11 *and* apply the staging patch mentioned in bug 58043.