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(a)winehq.org Reporter: zzhang(a)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(a)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(a)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. -- 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.