https://bugs.winehq.org/show_bug.cgi?id=46639
Bug ID: 46639 Summary: LoadLibraryShim fails in wow64 Product: Wine Version: 4.1 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
The mscoree:mscoree 32-bit test fails on the tip when run in a 64-bit prefix: mscoree.c:372: Test failed: LoadLibraryShim failed, hr=80070006 mscoree.c:385: Test failed: LoadLibraryShim failed, hr=80070006
From a module log, it appears this is because it tries to load a 64-bit fakedll
for fusion.dll.
0009:trace:module:open_dll_file L"\??\C:\windows\Microsoft.NET\Framework\v1.1.4322\fusion.dll" is for arch 8664, continuing search 0009:warn:module:load_dll Failed to load module L"C:\windows\Microsoft.NET\Framework\v1.1.4322\fusion"; status=c000007b
On Windows, there is a separate Framework64 directory which contains the 64-bit fusion.dll.
I think fixing this will require updates to both mscoree and Wine Mono.
https://bugs.winehq.org/show_bug.cgi?id=46639
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46639
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source, | |testcase, win64
https://bugs.winehq.org/show_bug.cgi?id=46639
--- Comment #1 from Vincent Povirk madewokherd@gmail.com --- Actually, registry virtualization may take care of the Wine side, since that Framework path is in HKLM\Software\Microsoft.NETFramework.
https://bugs.winehq.org/show_bug.cgi?id=46639
--- Comment #2 from Vincent Povirk madewokherd@gmail.com --- I am going to need a way to execute a .inf file in a 32-bit process from an MSI custom action, in order to create the 32-bit fusion fakedlls.
https://bugs.winehq.org/show_bug.cgi?id=46639
--- Comment #3 from Vincent Povirk madewokherd@gmail.com --- Looks like calling syswow64\rundll32 works.
https://bugs.winehq.org/show_bug.cgi?id=46639
--- Comment #4 from Vincent Povirk madewokherd@gmail.com --- Fix pushed to Wine Mono, will release shortly: https://github.com/madewokherd/wine-mono/commit/30d5d66b51ce98c77dc08a67b7ec...
https://bugs.winehq.org/show_bug.cgi?id=46639
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |5e86cc0a8f37295072b03b1c13a | |a205ff3e6f3e4
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- Fixed by 5e86cc0a8f37295072b03b1c13aa205ff3e6f3e4.
https://bugs.winehq.org/show_bug.cgi?id=46639
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.3.