[Bug 50858] New: Regression: Wine doesn't run executables reside in home directory
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(a)winehq.org Reporter: zzhang(a)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(a)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(a)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' -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |28fe84da45bea7de56539b50eac | |8ebcec54342de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard(a)winehq.org -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 --- Comment #1 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- The error message is from dlls/ntdll/unix/env.c#build_initial_params() -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Zhiyi Zhang <zzhang(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 lizhenbo <litimetal(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal(a)gmail.com --- Comment #2 from lizhenbo <litimetal(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Dmitry Skvortsov (Iglu47) <lvb.crd(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lvb.crd(a)protonmail.com --- Comment #3 from Dmitry Skvortsov (Iglu47) <lvb.crd(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Michael Psyllides <spanky_12inch(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spanky_12inch(a)hotmail.com --- Comment #4 from Michael Psyllides <spanky_12inch(a)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. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x(a)gmail.com Severity|major |blocker --- Comment #5 from Louis Lenders <xerox.xerox2000x(a)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. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 --- Comment #6 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Just additional note just found wine64 winecfg _does_ work OK wine winecfg fails with the output from previous comment -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Roman Pišl <rpisl(a)seznam.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl(a)seznam.cz --- Comment #7 from Roman Pišl <rpisl(a)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. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 --- Comment #8 from Alexandre Julliard <julliard(a)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. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 --- Comment #9 from Dmitry Skvortsov (Iglu47) <lvb.crd(a)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 ). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |967100258fb1da850668e620c1c | |5095630576840 Status|NEW |RESOLVED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> --- Fixed by 967100258fb1da850668e620c1c5095630576840. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50858 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.6. -- 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.
participants (1)
-
WineHQ Bugzilla