[Bug 39145] New: module:load_native_dll - create_mapping() = INVALID_IMAGE_FORMAT

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 24 06:30:25 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39145

            Bug ID: 39145
           Summary: module:load_native_dll - create_mapping() =
                    INVALID_IMAGE_FORMAT
           Product: Wine
           Version: 1.7.47
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: mattmill30 at googlemail.com
      Distribution: ---

When attempting to launch a 32bit windows application within a 64bit wine
environment, without a 32bit version of WINE also installed, the application
fails to start with the ambiguous sequence of errors:
createmapping() = INVALID_IMAGE_FORMAT { handle=0000 }
warn:module:load_dll Failed to load module L"C:\\Program Files
(x86)\\Developer\\Application.exe"; status=c000007b.

This appears to advise that the EXE or DLL is corrupt when infact WINE simply
cannot handle the image due to the method by which it was compiled.

As this is a realworld scenerio
(https://forum.winehq.org/viewtopic.php?f=8&t=23434) and the usage of x86_64 in
distributions is ambiguous as to whether x86 compatibility is compiled into
packages, a soon-to-follow error message needs to explain the cause of this
error. (Especially in the graphical debugger).

E.g.
WINEDEBUG stderr:
...INVALID_IMAGE_FORMAT...
...IMAGE_FORMAT is $IMAGE_FORMAT_TYPE. Compile WINE with $IMAGE_FORMAT_TYPE
support.

Graphical debugger:
%IMAGE_FORMAT_TYPE support is missing from this installation of WINE.

-- 
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