[Bug 3641] wine fails on loading a DLL

Wine Bugs wine-bugs at winehq.org
Wed Oct 26 03:12:38 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3641





------- Additional Comments From saulius.krasuckas at elst.vtu.lt  2005-26-10 03:12 -------
Well, now I gues Vitaliy is right, as I mistakenly assumed this happens in
latest Wine.  No, and that's a proof.  Every time Wine returns with
STATUS_INVALID_IMAGE_FORMAT from load_builtin_dll(), it should print FIXME or ERR:

* Quoting dlls/ntdll/loader.c:
| 
|    if (!info.wm)
|    {
|        /* The constructor wasn't called, this means the .so is already
|         * loaded under a different name. We can't support multiple names
|         * for the same module, so return an error. */
|        FIXME("wine_dll_error: %s.\n", error);
|        return STATUS_INVALID_IMAGE_FORMAT;
|    }
|
|    TRACE_(loaddll)( "Loaded module %s : builtin\n",
debugstr_w(info.wm->ldr.FullDllName.Buffer) );
|
|    info.wm->ldr.SectionHandle = handle;
|    if (strcmpiW( info.wm->ldr.BaseDllName.Buffer, name ))
|    {
|        ERR( "loaded .so for %s but got %s instead - probably 16-bit dll\n",
|             debugstr_w(name), debugstr_w(info.wm->ldr.BaseDllName.Buffer) );
|        /* wine_dll_unload( handle );*/
|        return STATUS_INVALID_IMAGE_FORMAT;
|    }

It isn't a case with your logs, Rich, so my only suggestion is to correct Wine
version in the bugreport (it cannot be 20050930, I see) and upgrade your box to
Wine 0.9. :-P

Vitaliy, so excuse me for presumably being inaccurate. :)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list