[Bug 42716] New: IsDebuggerPresent returning TRUE
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Mar 26 21:44:10 CDT 2017
https://bugs.winehq.org/show_bug.cgi?id=42716
Bug ID: 42716
Summary: IsDebuggerPresent returning TRUE
Product: Wine
Version: 2.4
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: kernel32
Assignee: wine-bugs at winehq.org
Reporter: dmpeletronic at gmail.com
Distribution: ---
The function above is always returning true, depending on the machine. It seems
that the struct is not initialized correctly.
BOOL WINAPI IsDebuggerPresent(void)
{
return NtCurrentTeb()->Peb->BeingDebugged;
}
Please check the Peb and BeingDebugged initialization.
As consequence, some applications sometimes cannot be run, such as MetaTrader5,
and we get a DialogBox:
“A debugger has been found running in your system. Please unload it from your
memory and restart your program”.
--
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.
More information about the wine-bugs
mailing list