[Bug 52311] New: Starting executables from removable devices no longer works with Wine 7.0-rc3-7-g3e73437ae8f
https://bugs.winehq.org/show_bug.cgi?id=52311 Bug ID: 52311 Summary: Starting executables from removable devices no longer works with Wine 7.0-rc3-7-g3e73437ae8f Product: Wine Version: 7.0-rc3 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs(a)winehq.org Reporter: focht(a)gmx.net Distribution: --- Hello folks, just found by chance while checking some old bug reports. Mount media/ISO image as usual and change to the directory where the executable resides (= becomes working directory). Starting executable with 'wine ./setup.exe' results in: --- snip --- wine: failed to open "./setup.exe": c0000135 --- snip --- --- snip --- $ WINEDEBUG=+module,+server wine ./setup.exe >> ~/Downloads/log.txt 2>&1 ... 0024:trace:module:get_load_order looking for L"C:\\setup.exe" 0024: get_key_value( hkey=0004, name=L"C:\\setup.exe" ) 0024: get_key_value() = OBJECT_NAME_NOT_FOUND { type=-1, total=0, data={} } 0024: get_key_value( hkey=0004, name=L"*setup.exe" ) 0024: get_key_value() = OBJECT_NAME_NOT_FOUND { type=-1, total=0, data={} } 0024: get_key_value( hkey=0004, name=L"setup.exe" ) 0024: get_key_value() = OBJECT_NAME_NOT_FOUND { type=-1, total=0, data={} } 0024:trace:module:get_load_order got main exe default n,b for L"C:\\setup.exe" wine: failed to open "./setup.exe": c0000135 0024: terminate_process( handle=ffffffff, exit_code=-1073741515 ) 0024: terminate_process() = 0 { self=1 } --- snip --- It worked with Wine 7.0-rc3 but with today's git it no longer does. I suspect https://source.winehq.org/git/wine.git/commitdiff/3e73437ae8f04a12200bf53775... ("ntdll: Preserve the startup Unix directory unless it's on a removable device.") being the culprit. --- snip --- $ findmnt /run/media/focht/acad TARGET SOURCE FSTYPE OPTIONS /run/media/focht/acad /dev/sr1 iso9660 ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000,dmode=500,fmode=400 $ pwd /run/media/focht/acad $ ll total 105 -r-xr-xr-x. 1 focht focht 306 Feb 12 2007 acadcd.mid -r-xr-xr-x. 1 focht focht 43 Feb 22 2002 autorun.inf dr-xr-xr-x. 80 focht focht 10240 Feb 12 2007 rr_moved -r-xr-xr-x. 1 focht focht 87656 Feb 12 2007 setup.exe dr-xr-xr-x. 11 focht focht 4096 Feb 12 2007 x64 dr-xr-xr-x. 11 focht focht 4096 Feb 12 2007 x86 --- snip --- --- snip --- $ ll ~/.wine/dosdevices/ lrwxrwxrwx. 1 focht focht 10 Dec 31 14:05 c: -> ../drive_c lrwxrwxrwx. 1 focht focht 10 Dec 31 14:07 com1 -> /dev/ttyS0 ... lrwxrwxrwx. 1 focht focht 10 Dec 31 14:07 com9 -> /dev/ttyS8 lrwxrwxrwx. 1 focht focht 8 Dec 31 14:05 d:: -> /dev/sr0 lrwxrwxrwx. 1 focht focht 21 Dec 31 14:05 e: -> /run/media/focht/acad lrwxrwxrwx. 1 focht focht 8 Dec 31 14:05 e:: -> /dev/sr1 lrwxrwxrwx. 1 focht focht 8 Dec 31 14:07 lpt1 -> /dev/lp0 lrwxrwxrwx. 1 focht focht 8 Dec 31 14:07 lpt2 -> /dev/lp1 lrwxrwxrwx. 1 focht focht 8 Dec 31 14:07 lpt3 -> /dev/lp2 lrwxrwxrwx. 1 focht focht 8 Dec 31 14:07 lpt4 -> /dev/lp3 lrwxrwxrwx. 1 focht focht 1 Dec 31 14:05 z: -> / --- snip --- This works: --- snip --- $ wine "e:\\setup.exe" ... --- snip --- $ wine --version wine-7.0-rc3-34-gb6dc8399087 Regards -- 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=52311 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |3e73437ae8f04a12200bf537758 | |d22e5f9723637 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=52311 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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=52311 Marcos GutiƩrrez Batz <sacrom(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sacrom(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=52311 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |15101bae7b9a10d73b8edc05e0e | |a58590378db29 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/15101bae7b9a10d73b8edc05e0... ("ntdll: Fix current directory initialization on removable devices."). Part of Wine 7.0-rc4 release. Thanks Alexandre $ wine --version wine-7.0-rc4 Regards -- 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=52311 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc5. -- 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