https://bugs.winehq.org/show_bug.cgi?id=50858
Bug ID: 50858 Summary: Regression: Wine doesn't run executables reside in home directory Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: major Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: zzhang@codeweavers.com Distribution: ---
$ 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. wine: failed to start L"/b"
$ which wine wine: aliased to ~/src/wine/wow64-build/wine
$ git bisect good 28fe84da45bea7de56539b50eac8ebcec54342de is the first bad commit commit 28fe84da45bea7de56539b50eac8ebcec54342de Author: Alexandre Julliard julliard@winehq.org Date: Wed Mar 24 10:53:53 2021 +0100
ntdll: Load the main image from the Unix side.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/ntdll/env.c | 79 +----------------------- dlls/ntdll/loader.c | 112 +++++++++++++--------------------- dlls/ntdll/unix/env.c | 70 +++++++++++++++++++-- dlls/ntdll/unix/file.c | 135 +++++++++++++++++++++++++++++++++++++++++ dlls/ntdll/unix/loader.c | 112 +++++++++++++++++++++++++++++++--- dlls/ntdll/unix/unix_private.h | 3 + 6 files changed, 349 insertions(+), 162 deletions(-)
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'
https://bugs.winehq.org/show_bug.cgi?id=50858
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |28fe84da45bea7de56539b50eac | |8ebcec54342de
https://bugs.winehq.org/show_bug.cgi?id=50858
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=50858
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=50858
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- The error message is from dlls/ntdll/unix/env.c#build_initial_params()
https://bugs.winehq.org/show_bug.cgi?id=50858
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression: Wine doesn't |Regression: Wine doesn't |run executables reside in |run executables reside |home directory |under home directory
https://bugs.winehq.org/show_bug.cgi?id=50858
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
--- Comment #2 from lizhenbo litimetal@gmail.com --- I met this for Magic the gathering arena as well
$ cd ~/Downloads/MTGA $ WINEDEBUG=+relay wine MTGA.exe
00c8:err:module:import_dll Library UnityPlayer.dll (which is needed by L"Z:\home\lizhenbo\Downloads\MTGA\MTGA.exe") not found 00c8:err:module:LdrInitializeThunk Importing dlls for L"Z:\home\lizhenbo\Downloads\MTGA\MTGA.exe" failed, status c0000135
If I run $ git checkout 662730a1bfc0517c14d9099d2ed1433dad10be03 this UnityPlayer.dll not found issue will be resolved
(662730 is the last commit before 28fe84da4)
ls -l ~/Downloads/MTGA/UnityPlayer.dll -rw-r--r--. 1 lizhenbo lizhenbo 25874888 Jul 14 2020 /home/lizhenbo/Downloads/MTGA/UnityPlayer.dll
https://bugs.winehq.org/show_bug.cgi?id=50858
Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lvb.crd@protonmail.com
--- Comment #3 from Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com --- This gives me the error already when creating a fresh prefix wine: failed to open L"C:\windows\syswow64\rundll32.exe": c0000135
I faced such problem with Guild Wars 2 installer but even if you update the already existing prefix and put Gw2Setup-64.exe in disk_c wine: failed to start L"/b"
revert helps (the first two I did because they did not allow me to make revert properly) 47fed8f5bc89344af054b70c2d3a7bea02b2113c 34884bf5d071418e3c25e521236361e62e308025 28fe84da45bea7de56539b50eac8ebcec54342de
https://bugs.winehq.org/show_bug.cgi?id=50858
Michael Psyllides spanky_12inch@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spanky_12inch@hotmail.com
--- Comment #4 from Michael Psyllides spanky_12inch@hotmail.com --- I am affected by this same problem.
I have: wine: failed to start L"/b" when launching anything in current prefix and when creating a new, the prefix is created wrong. With no programfiles folders and windows folder only has systm32 and syswow64 folders but they are empty. Reverting commit fixes this.
https://bugs.winehq.org/show_bug.cgi?id=50858
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Severity|major |blocker
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- just updated to last git, and still present,
rm -rf ~/ramdisk/.wine
wine winecfg:
wine: failed to open L"C:\windows\syswow64\rundll32.exe": c0000135 wine: configuration in L"/home/louis/ramdisk/.wine" has been updated. Application could not be started, or no application associated with the specifie d file. ShellExecuteEx failed: File not found.
https://bugs.winehq.org/show_bug.cgi?id=50858
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- Just additional note just found
wine64 winecfg _does_ work OK
wine winecfg fails with the output from previous comment
https://bugs.winehq.org/show_bug.cgi?id=50858
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
--- Comment #7 from Roman Pišl rpisl@seznam.cz --- Another possibly related problem: wine "C:\windows\sysnative\rundll32.exe" wine: failed to open L"C:\windows\sysnative\rundll32.exe": c0000135
system32 and syswow64 work.
https://bugs.winehq.org/show_bug.cgi?id=50858
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- (In reply to Roman Pišl from comment #7)
Another possibly related problem: wine "C:\windows\sysnative\rundll32.exe" wine: failed to open L"C:\windows\sysnative\rundll32.exe": c0000135
system32 and syswow64 work.
sysnative is a different issue. It has never been properly supported.
https://bugs.winehq.org/show_bug.cgi?id=50858
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=50858
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=50858
--- Comment #9 from Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com --- (In reply to Dmitry Skvortsov (Iglu47) from comment #3)
This gives me the error already when creating a fresh prefix wine: failed to open L"C:\windows\syswow64\rundll32.exe": c0000135
I faced such problem with Guild Wars 2 installer but even if you update the already existing prefix and put Gw2Setup-64.exe in disk_c wine: failed to start L"/b"
revert helps (the first two I did because they did not allow me to make revert properly) 47fed8f5bc89344af054b70c2d3a7bea02b2113c 34884bf5d071418e3c25e521236361e62e308025 28fe84da45bea7de56539b50eac8ebcec54342de
I checked on wine-6.5. The two problems described have disappeared. `wine64 Gw2Setup-64.exe` allowed me to launch and install the game client. And then I successfully entered the game itself (but this is more related to Bug 50738 ).
https://bugs.winehq.org/show_bug.cgi?id=50858
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |967100258fb1da850668e620c1c | |5095630576840 Status|NEW |RESOLVED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Fixed by 967100258fb1da850668e620c1c5095630576840.
https://bugs.winehq.org/show_bug.cgi?id=50858
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.6.