http://bugs.winehq.org/show_bug.cgi?id=24680
Summary: loader: segfault after loading krnl386.exe, while LoadLibraryEx for any buildin dll Product: Wine Version: 1.3.4 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: loader AssignedTo: wine-bugs@winehq.org ReportedBy: wine.dev@web.de
Created an attachment (id=31193) --> (http://bugs.winehq.org/attachment.cgi?id=31193) +loaddll,+process,+tid.txt
Detected while testing https://answers.launchpad.net/ubuntu/+source/wine/+question/127977
When using "wine inetcpl.cpl" (or any other builtin dll: "wine gdi32.dll" as example), the referenced builtin dlls are loaded and a Segmentation fault occur after loading "krnl386.exe16"
When loading a native dll, then no referenced dlls are loaded, and the error ".... gdi32.dll is a dll, not an executable") is printed to the console.
No referenced dll must be loaded, as we have in ___wine_kernel_init: LoadLibraryExW( main_exe_name, 0, DONT_RESOLVE_DLL_REFERENCES );
After renaming "krnl386.exe16.so", the segfault does no longer occur and the expected message is visible on the terminal:
009:err:module:LdrInitializeThunk L"C:\windows\system32\gdi32.dll" is a dll, not an executable
The segfault is present on x86 and x86-64 (wine32)
http://bugs.winehq.org/show_bug.cgi?id=24680
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2010-12-15 13:05:00 CST --- Fixed by 5ce81a9dc2f727dfb8d3fb5db5ea8d0c79459faf.
http://bugs.winehq.org/show_bug.cgi?id=24680
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2010-12-24 13:13:06 CST --- Closing bugs fixed in 1.3.10.
http://bugs.winehq.org/show_bug.cgi?id=24680
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=24680
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---