[Bug 49869] New: Battle for Wesnoth 1.14.14-win32 does not start
https://bugs.winehq.org/show_bug.cgi?id=49869 Bug ID: 49869 Summary: Battle for Wesnoth 1.14.14-win32 does not start Product: Wine Version: 5.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: cedric.dewijs(a)eclipso.eu Distribution: --- Created attachment 68211 --> https://bugs.winehq.org/attachment.cgi?id=68211 console messages Battle for Wesnoth does not start Steps to reproduce: 1) $ rm -rf ~/.wine/ 2) $ wineboot 3) $ wine ~/Downloads/wesnoth-1.14.14-win32.exe now accept the defaults. 4) $ wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Battle\ for\ Wesnoth\ 1.14.14/wesnoth.exe Now the game does not start. Download location: https://sourceforge.net/projects/wesnoth/files/wesnoth-1.14/wesnoth-1.14.14/... My versions: $ wine --version wine-5.17 (Staging) $ uname -a Linux cedric-p4 5.8.10-arch1-1 #1 SMP PREEMPT Thu, 17 Sep 2020 18:01:06 +0000 x86_64 GNU/Linux -- 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=49869 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #1 from joaopa <jeremielapuree(a)yahoo.fr> --- Try to cd into the game folder before launching 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.
https://bugs.winehq.org/show_bug.cgi?id=49869 --- Comment #2 from Cedric <cedric.dewijs(a)eclipso.eu> --- i've tried running the game from the game directory itself. It does not seem to make a difference, i.e. the game still does not start. -- 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=49869 --- Comment #3 from Cedric <cedric.dewijs(a)eclipso.eu> --- Created attachment 68214 --> https://bugs.winehq.org/attachment.cgi?id=68214 Console, when the game is started from the gamedir -- 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=49869 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x(a)gmail.com Summary|Battle for Wesnoth |Battle for Wesnoth |1.14.14-win32 does not |1.14.14-win32 does not |start |start (regression) Ever confirmed|0 |1 URL| |https://sourceforge.net/pro | |jects/wesnoth/files/wesnoth | |-1.14/wesnoth-1.14.14/wesno | |th-1.14.14-win32.exe/downlo | |ad Status|UNCONFIRMED |NEW Keywords| |download, regression --- Comment #4 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hi confirming Something looks wrong with permissions on folder C:\\users\\louis\\My Documents\\My Games\\Wesnoth1.14/ 0024:Call msvcrt._wrename(020f7cb8 L"C:\\users\\louis\\Temp\\/wesnoth-20200920-213240-32.log",020f7db8 L"C:\\users\\louis\\My Documents\\My Games\\Wesnoth1.14/logs/wesnoth- 20200920-213240-32.log") ret=00c8bad7 0024:Call KERNEL32.MoveFileExW(020f7cb8 L"C:\\users\\louis\\Temp\\/wesnoth-20200920-213240-32.log",020f7db8 L"C:\\users\\louis\\My Documents\\My Games\\Wesnoth1.14/logs/wes noth-20200920-213240-32.log",00000002) ret=7e6c4342 . 0024:Ret KERNEL32.MoveFileExW() retval=00000000 ret=7e6c4342 This starts fine for me in old wine-version wine-5.0 i have lying on my disk @OP: Any chance you could do a regression test? -- 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=49869 --- Comment #5 from Cedric <cedric.dewijs(a)eclipso.eu> --- I'm on arch linux. Here are the commands to install all optional dependencies: sudo pacman -S wine-staging sudo pacman -S --asdeps --needed $(pacman -Si wine-staging | sed -n '/^Opt/,/^Conf/p' | sed '$d' | sed 's/^Opt.*://g' | sed 's/^\s*//g' | tr '\n' ' ') Here's the command to install all the dependencies reported by https://aur.archlinux.org/packages/wine-staging-git/ sudo pacman -S fontforge mingw-w64-gcc lib32-libxmu opencl-headers vulkan-headers Here are the commands to get and configure wine: sudo pacman -S git ccache git clone git://source.winehq.org/git/wine.git wine-git/ cd wine-git/ CC="ccache gcc -m32" ./configure --verbose --disable-tests The last lines from configure: configure: libhal 32-bit development files not found, no legacy dynamic device support. configure: libsane 32-bit development files not found, scanners won't be supported. configure: libgphoto2 32-bit development files not found, digital cameras won't be supported. configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected. configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported. configure: libcapi20 32-bit development files not found, ISDN won't be supported. configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be 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=49869 --- Comment #6 from Cedric <cedric.dewijs(a)eclipso.eu> --- latest compiled version of wine does not start the game, but it does install the game in in Program Files, not in Program files x86 (unlike my first test) [cedric(a)cedric-p4 wine-git]$ ./wine ~/.wine/drive_c/Program\ Files/Battle\ for\ Wesnoth\ 1.14.14/wesnoth.exe 010c:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",0317FEC4): stub 010c:fixme:avrt:AvRevertMmThreadCharacteristics (12345678): stub 0024:fixme:msvcrt:__clean_type_info_names_internal (0x101f5334) stub $ git log commit f7d815089580cebe2682683345272858def6358c (HEAD -> master, tag: wine-5.19, origin/master, origin/HEAD) -- 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=49869 --- Comment #7 from Cedric <cedric.dewijs(a)eclipso.eu> --- This commit seems to be the cause: Wine build complete. [cedric(a)cedric-p4 wine-git]$ ./wine ~/.wine/drive_c/Program\ Files/Battle\ for\ Wesnoth\ 1.14.14/wesnoth.exe wine: could not find __wine_start_process in kernel32.dll, status c000007a 0024:err:environ:run_wineboot failed to start wineboot c00000e5 wine: could not find __wine_start_process in kernel32.dll, status c000007a [cedric(a)cedric-p4 wine-git]$ git bisect bad e561ce4b9259071f79d219dddf62f05cdd8dd07b is the first bad commit commit e561ce4b9259071f79d219dddf62f05cdd8dd07b Author: Alexandre Julliard <julliard(a)winehq.org> Date: Sat Jun 6 13:56:19 2020 +0200 ntdll: Move NtRaiseException() implementation to the Unix library. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> dlls/ntdll/exception.c | 9 +++ dlls/ntdll/ntdll.spec | 2 +- dlls/ntdll/signal_arm.c | 59 +++++++++++++++---- dlls/ntdll/signal_arm64.c | 128 +++++++++++++++-------------------------- dlls/ntdll/signal_i386.c | 123 ++++++++++++--------------------------- dlls/ntdll/signal_powerpc.c | 51 ++++++++++++---- dlls/ntdll/signal_x86_64.c | 126 +++++++++++++--------------------------- dlls/ntdll/unix/loader.c | 1 + dlls/ntdll/unix/thread.c | 83 ++++++++++++++++++++++++++ dlls/ntdll/unix/unix_private.h | 1 + dlls/ntdll/unixlib.h | 3 +- 11 files changed, 309 insertions(+), 277 deletions(-) -- 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=49869 --- Comment #8 from Cedric <cedric.dewijs(a)eclipso.eu> --- Release 5.10 indeed works: commit 3cc3b445752902e07231900befc296f74ad6576e (HEAD, tag: wine-5.10) Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jun 5 21:15:16 2020 +0200 wine build complete. [cedric(a)cedric-p4 wine-git-510]$ ./wine ~/.wine/drive_c/Program\ Files/Battle\ for\ Wesnoth\ 1.14.14/wesnoth.exe 0058:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\NDIS": 00000001 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 731 00c8:fixme:dwmapi:DwmIsCompositionEnabled 0E43DD14 00dc:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0xabbf537, context 0xe8e9060, init_notify 0, handle 0xf32fce8): stub 00c8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION wine: configuration in L"/home/cedric/.wine" has been updated. 0024:fixme:ntdll:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0) 0148:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",02C5FEE8): stub 0024:fixme:win:RegisterTouchWindow (0x20050 00000003): stub 0024:fixme:imm:ImmReleaseContext (00020050, 01EDAB78): stub 0024:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4 0024:fixme:imm:ImeSetCompositionString PROBLEM: This only sets the wine level string 0024:fixme:imm:ImeSetCompositionString Reading string unimplemented 0024:fixme:imm:NotifyIME NI_CLOSECANDIDATE 0024:fixme:sync:SetWaitableTimerEx (00000134, 017FED30, 0, 00000000, 00000000, 01358660, 32) semi-stub 0148:fixme:avrt:AvRevertMmThreadCharacteristics (12345678): stub 0024:fixme:imm:ImeSetCompositionString PROBLEM: This only sets the wine level string 0024:fixme:imm:ImeSetCompositionString Reading string unimplemented 0024:fixme:imm:NotifyIME NI_CLOSECANDIDATE 0024:fixme:msvcrt:__clean_type_info_names_internal (0x101f5334) stub -- 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=49869 --- Comment #9 from Cedric <cedric.dewijs(a)eclipso.eu> --- Cool, the problem is the very first commit after release 5.10: $ git log commit e561ce4b9259071f79d219dddf62f05cdd8dd07b (HEAD, refs/bisect/bad) Author: Alexandre Julliard <julliard(a)winehq.org> Date: Sat Jun 6 13:56:19 2020 +0200 ntdll: Move NtRaiseException() implementation to the Unix library. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> commit 3cc3b445752902e07231900befc296f74ad6576e (tag: wine-5.10, refs/bisect/good-3cc3b445752902e07231900befc296f74ad6576e) Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jun 5 21:15:16 2020 +0200 Release 5.10. Signed-off-by: Alexandre Julliard <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=49869 Cedric <cedric.dewijs(a)eclipso.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e561ce4b9259071f79d219dddf6 | |2f05cdd8dd07b -- 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=49869 --- Comment #10 from Cedric <cedric.dewijs(a)eclipso.eu> --- Reverting the offending patch is not trivial: $ git revert -n e561ce4b9259071f79d219dddf62f05cdd8dd07b Auto-merging dlls/ntdll/unixlib.h CONFLICT (content): Merge conflict in dlls/ntdll/unixlib.h Auto-merging dlls/ntdll/unix/unix_private.h CONFLICT (content): Merge conflict in dlls/ntdll/unix/unix_private.h Auto-merging dlls/ntdll/unix/thread.c CONFLICT (content): Merge conflict in dlls/ntdll/unix/thread.c Auto-merging dlls/ntdll/unix/loader.c CONFLICT (content): Merge conflict in dlls/ntdll/unix/loader.c Auto-merging dlls/ntdll/signal_x86_64.c CONFLICT (content): Merge conflict in dlls/ntdll/signal_x86_64.c CONFLICT (modify/delete): dlls/ntdll/signal_powerpc.c deleted in HEAD and modified in parent of e561ce4b92... ntdll: Move NtRaiseException() implementation to the Unix library.. Version parent of e561ce4b92... ntdll: Move NtRaiseException() implementation to the Unix library. of dlls/ntdll/signal_powerpc.c left in tree. Auto-merging dlls/ntdll/signal_i386.c CONFLICT (content): Merge conflict in dlls/ntdll/signal_i386.c Auto-merging dlls/ntdll/signal_arm64.c CONFLICT (content): Merge conflict in dlls/ntdll/signal_arm64.c Auto-merging dlls/ntdll/signal_arm.c CONFLICT (content): Merge conflict in dlls/ntdll/signal_arm.c Auto-merging dlls/ntdll/ntdll.spec Auto-merging dlls/ntdll/exception.c error: could not revert e561ce4b92... ntdll: Move NtRaiseException() implementation to the Unix library. hint: after resolving the conflicts, mark the corrected paths hint: with 'git add <paths>' or 'git rm <paths>' -- 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=49869 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com --- Comment #11 from Rémi Bernon <rbernon(a)codeweavers.com> --- I've tried with 6.0-rc1 and couldn't reproduce any crash, could you try again? -- 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=49869 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|e561ce4b9259071f79d219dddf6 | |2f05cdd8dd07b | --- Comment #12 from Alexandre Julliard <julliard(a)winehq.org> --- (In reply to Cedric from comment #7)
This commit seems to be the cause: Wine build complete. [cedric(a)cedric-p4 wine-git]$ ./wine ~/.wine/drive_c/Program\ Files/Battle\ for\ Wesnoth\ 1.14.14/wesnoth.exe wine: could not find __wine_start_process in kernel32.dll, status c000007a 0024:err:environ:run_wineboot failed to start wineboot c00000e5 wine: could not find __wine_start_process in kernel32.dll, status c000007a [cedric(a)cedric-p4 wine-git]$ git bisect bad
You need to remove kernel32.dll on every bisect step, otherwise it won't use the right version, making the bisect results invalid. -- 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=49869 --- Comment #13 from Rémi Bernon <rbernon(a)codeweavers.com> --- Ah it's probably where the crash comes from. But the game starts fine for me with 6.0-rc1, so I couldn't reproduce the original issue either. -- 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=49869 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |9d4eeaeb7773d00d51ff60de29e | |4be8f43209d68 Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- The real regression commit is 9d4eeaeb7773d00d51ff60de29e4be8f43209d68. *** This bug has been marked as a duplicate of bug 50228 *** -- 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=49869 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Duplicate. -- 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