https://bugs.winehq.org/show_bug.cgi?id=50613
Bug ID: 50613 Summary: several Wine Mono tests fail to load a referenced assembly on x86_64 Product: Wine Version: 6.1 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
When running the x86_64.bug-324535 testcase from Wine Mono, it fails with this exception:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'bug-324535-il, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. File name: 'bug-324535-il, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'bug-324535-il, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Test failed(1): x86_64.bug-324535 0 tests passed, 1 tests failed
This can easily be checked by downloading the wine-mono tests zip file and running: $ wine run-tests.exe x86_64.bug-324535
Other testcases fail in a similar way, but only when run in a 64-bit process. For example, x86.bug-324535 passes.
Bisect result:
7203ad0ecd06b451116fcfe3b08e4d620e853bd5 is the first bad commit commit 7203ad0ecd06b451116fcfe3b08e4d620e853bd5 Author: Alexandre Julliard julliard@winehq.org Date: Thu Jan 21 12:31:34 2021 +0100
ntdll: Load the COR header directly from the file handle.
https://bugs.winehq.org/show_bug.cgi?id=50613
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |7203ad0ecd06b451116fcfe3b08 | |e4d620e853bd5
https://bugs.winehq.org/show_bug.cgi?id=50613
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/madewokh | |erd/wine-mono/releases/down | |load/wine-mono-5.1.1/wine-m | |ono-5.1.1-tests.zip Keywords| |download, testcase
https://bugs.winehq.org/show_bug.cgi?id=50613
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Created attachment 69306 --> https://bugs.winehq.org/attachment.cgi?id=69306 Update file position
This should fix it.
https://bugs.winehq.org/show_bug.cgi?id=50613
--- Comment #2 from Esme Povirk madewokherd@gmail.com --- Thanks, this fixes all the failures I was seeing except for a winforms thing that I'll investigate separately.
https://bugs.winehq.org/show_bug.cgi?id=50613
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |80898bfee0139bbb5d1c2efda25 | |fc101f61d386b CC| |fgouget@codeweavers.com Resolution|--- |FIXED Keywords| |patch Status|NEW |RESOLVED
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Looks like this is fixed:
commit 80898bfee0139bbb5d1c2efda25fc101f61d386b Author: Alexandre Julliard julliard@winehq.org AuthorDate: Thu Feb 4 11:47:51 2021 +0100 Commit: Alexandre Julliard julliard@winehq.org CommitDate: Thu Feb 4 15:41:02 2021 +0100
ntdll: Fix loading of section table in get_cor_header().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50613 Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=50613
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.10.