https://bugs.winehq.org/show_bug.cgi?id=50979
Bug ID: 50979 Summary: Regression: Wine doesn't run executables in unix path Product: Wine Version: 6.6 Hardware: x86-64 OS: Linux Status: NEW Severity: critical Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: zzhang@codeweavers.com Distribution: ---
Similar to bug 50858
$ cp ~/.wine/drive_c/windows/notepad.exe ~/Downloads/notepad.exe $ wine ~/Downloads/notepad.exe 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. [1] 385440 segmentation fault (core dumped) ~/src/wine/wow64-build/wine ~/Downloads/notepad.exe
$ which wine wine: aliased to ~/src/wine/wow64-build/wine
Wine is built as WoW with 'cd wow64-build && ../configure -C CFLAGS="-g -Og" CROSSCFLAGS="-g -Og" --enable-win64 --enable-silent-rules && make && cd ../wow32-build && ../configure -C CFLAGS="-g -Og" CROSSCFLAGS="-g -Og" --with-wine64=../wow64-build --enable-silent-rules && make'
Bisect points to commit f1e614027b5bb4129976ad5fca8caceac573f549 Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 12 09:20:55 2021 +0200
ntdll: Take loadorder into account also for a main exe in .so format.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50956 Signed-off-by: Alexandre Julliard julliard@winehq.org
In load_main_exe(), nt_name is used before it's initialized for unix file name. Adding "init_unicode_string( &nt_name, *image );" before "loadorder = get_load_order( &nt_name );" fixes it.
https://bugs.winehq.org/show_bug.cgi?id=50979
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |f1e614027b5bb4129976ad5fca8 | |caceac573f549
https://bugs.winehq.org/show_bug.cgi?id=50979
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Created attachment 69809 --> https://bugs.winehq.org/attachment.cgi?id=69809 fix
https://bugs.winehq.org/show_bug.cgi?id=50979
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |14b44920862ea91234c0a246860 | |6dca9e3d16d9d Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by 14b44920862ea91234c0a2468606dca9e3d16d9d
https://bugs.winehq.org/show_bug.cgi?id=50979
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.7.