[Bug 47394] New: Valgrind reports Invalid read of size 4 one frame below call_dll_entry_point
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jun 20 00:48:43 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=47394
Bug ID: 47394
Summary: Valgrind reports Invalid read of size 4 one frame
below call_dll_entry_point
Product: Wine
Version: 4.10
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs at winehq.org
Reporter: jeffersoncarpenter2 at gmail.com
Distribution: ---
Created attachment 64741
--> https://bugs.winehq.org/attachment.cgi?id=64741
Output of valgrind --trace-children=yes wine main.exe
Steps to reproduce:
* Build wine-4.10 for 32 bits.
* Using i686-w64-mingw32-gcc, compile 'int main() { return 0; }'
* Disable the wine preloader (chmod -x wine-preloader)
* Run with valgrind
Valgrind reports an invalid read of size 4 one frame below call_dll_entry_point
while loading rpcrt4.dll. Prior to this it (at least, a wine process with the
same process id) successfully loads ntdll.dll, KERNEL32.dll, advapi32.dll,
msvcrt.dll calling call_dll_entry_point without any issues, as confirmed by
inserting the line
FIXME("Loading %s %i %p\n", debugstr_w(wm->ldr.BaseDllName.Buffer), getpid(),
(void*)entry);
above
retv = call_dll_entry_point( entry, module, reason, lpReserved );
inside of MODULE_InitDLL.
--
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