[Bug 56483] New: ShellExecute changes in Wine 9.5 broke 64-bit Winelib loading in WoW64 builds
https://bugs.winehq.org/show_bug.cgi?id=56483 Bug ID: 56483 Summary: ShellExecute changes in Wine 9.5 broke 64-bit Winelib loading in WoW64 builds Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs(a)winehq.org Reporter: mail(a)robbertvanderhelm.nl Distribution: --- After commit 85d029e3b01f6dd35a86cc07796af982d66e4a03 (<https://github.com/wine-mirror/wine/commit/85d029e3b01f6dd35a86cc07796af982d66e4a03>), Wine builds configured with `--with-wine64` can no longer find and execute Winelib binaries built with `winegcc`. This now results in the following error instead:
``` Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found. ```
- Running the Winelib `.so` binary explicitly with `wine64` still works - Running it with `wine`, or using the shell script generated by winebuild does not. -- 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=56483 Robbert van der Helm <mail(a)robbertvanderhelm.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |85d029e3b01f6dd35a86cc07796 | |af982d66e4a03 -- 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=56483 yshuiv7(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yshuiv7(a)gmail.com --- Comment #1 from yshuiv7(a)gmail.com --- I think this is because FindExecutable does not consider `.so` as a valid extension for program. I added a commit to fix that in https://gitlab.winehq.org/wine/wine/-/merge_requests/5400 -- 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=56483 Ilya <ilya77105(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ilya77105(a)gmail.com --- Comment #2 from Ilya <ilya77105(a)gmail.com> --- Can also confirm this bug. I played with winelib and figured out this pattern: 1. Wine without wow64. If app built with -m32 key, then wrapper script correctly starts the app. 2. Wine without wow64. If app built with -m64 key or without any keys, then wrapper script fails. Deep inside Wine logs there is "wrong ELF class: ELFCLASS64" error. Can be reproduced with `WINEDEBUG=warn+all wine a.out.so 2>&1 >/dev/null | grep "dlopen"` However, resulting .so file can be run with wine64. 3. Wine with wow64. App can't be built with -m32 anymore (winegcc fails for some header). However, with -m64 keys or without any keys app correctly builds, and wrapper script works (maybe because wine executable is symlinked to wine64 in wow64 Wine build). -- 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=56483 Neko-san <nekoNexus(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch -- 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=56483 Ken Sharp <imwellcushtymelike(a)gmail.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=56483 Fell <fell(a)fellr.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fell(a)fellr.net -- 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=56483 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source --- Comment #3 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- This is still an issue after the merge https://gitlab.winehq.org/wine/wine/-/merge_requests/5400 ? -- 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=56483 --- Comment #4 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- I realise that wasn't a clear question: Is this still an issue after the merge? -- 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=56483 Robbert van der Helm <mail(a)robbertvanderhelm.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Robbert van der Helm <mail(a)robbertvanderhelm.nl> --- With #5400 being merged this now seems to work again as intended! -- 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=56483 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9bd7fab471eb60f07f59947af0f | |ef3254644a8ae -- 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=56483 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.9. -- 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