https://bugs.winehq.org/show_bug.cgi?id=56286
Bug ID: 56286 Summary: Evil Under the Sun: game crashes when starting a new game (regression) Product: Wine Version: 9.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: memax@gmx.fr CC: pgofman@codeweavers.com Regression SHA1: 354a8bb1f4a65bdec052606f2799db9e2907b5b1 Distribution: Ubuntu
Created attachment 76008 --> https://bugs.winehq.org/attachment.cgi?id=76008 Terminal output after crash
Game: Agatha Christie: Evil Under the Sun
OS: Ubuntu 22.04.3 LTS 64bit
Wine: wine-9.1 WINEARCH=win32 Clean prefix
Description: The game crashes systematically when you start a new game. According to AppDB, the game was rated platinum with older versions of Wine. So I ran a regression test:
354a8bb1f4a65bdec052606f2799db9e2907b5b1 is the first bad commit commit 354a8bb1f4a65bdec052606f2799db9e2907b5b1 Author: Paul Gofman pgofman@codeweavers.com Date: Thu May 11 21:53:02 2023 -0600
ntdll: Better match Windows subheap sizes.
dlls/kernel32/tests/heap.c | 8 ++------ dlls/ntdll/heap.c | 13 +++++++++---- 2 files changed, 11 insertions(+), 10 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=56286
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=56286
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- Can you please specify the following:
- is it reproducible with Steam version of the game? Or which is the exact game where it is reproducible? - how exactly one can reproduce it? I started that from Steam and clicked 'Play', and it went for lengthy cutscene, was it supposed to crash already or what is needed to reproduce? - why WINEARCH=win32 is there? is it reproducible with default upstream Wine without options? - if it is easy to check, it is interesting if the problem is reproducible with Wine-Staging.
More likely the problem is out of bound read memory access which was luckier with bigger subheap sizes (and, just e. g., it can happen that different memory layout on Windows and some Wine Staging patches avoids the problem there). In any case, I'd look at the game to see if there is no other apparent bug but I need a way to reproduce the issue for that.
https://bugs.winehq.org/show_bug.cgi?id=56286
--- Comment #2 from imaxm memax@gmx.fr --- (In reply to Paul Gofman from comment #1)
Can you please specify the following:
- is it reproducible with Steam version of the game? Or which is the exact
game where it is reproducible?
- how exactly one can reproduce it? I started that from Steam and clicked
'Play', and it went for lengthy cutscene, was it supposed to crash already or what is needed to reproduce?
- why WINEARCH=win32 is there? is it reproducible with default upstream
Wine without options?
- if it is easy to check, it is interesting if the problem is reproducible
with Wine-Staging.
More likely the problem is out of bound read memory access which was luckier with bigger subheap sizes (and, just e. g., it can happen that different memory layout on Windows and some Wine Staging patches avoids the problem there). In any case, I'd look at the game to see if there is no other apparent bug but I need a way to reproduce the issue for that.
- I don't have the Steam version, so I can't check whether the problem also affects it. I have the French version of the game on DVD: "Agatha Christie : Meurtre au soleil" also known as "Les Vacances d'Hercule Poirot" (developed by AWE Games and published in 2007 by The Adventure Company). sha256 checksum of the game exe: 1ebac8566caa4a121ac190bf7d99aeb07f93956e76f3af8b711e43e335531bca euts.exe
Note that the crash does not affect the game's demo in English. So perhaps this only affects the French version?
- The crash occurs instantly as soon as you click on "Jouer" (Play) in the menu screen (so before the cutscene).
- WINEARCH=win32 isn't needed (I mentioned it because I only compiled 32-bit Wine for regression testing). The crash also occurs on the default version of Wine without any modification.
- The crash is reproducible with Staging wine-9.1.
Finally, I'd like to point out that the game runs perfectly with wine-8.8.
Thanks for all your help.
https://bugs.winehq.org/show_bug.cgi?id=56286
--- Comment #3 from imaxm memax@gmx.fr --- As you have the Steam version, perhaps you can change the language to French?
https://bugs.winehq.org/show_bug.cgi?id=56286
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Evil Under the Sun: game |Evil Under the Sun: French |crashes when starting a new |version of the game crashes |game (regression) |when starting a new game | |(regression)
https://bugs.winehq.org/show_bug.cgi?id=56286
--- Comment #4 from imaxm memax@gmx.fr --- Created attachment 76040 --> https://bugs.winehq.org/attachment.cgi?id=76040 Backtrace (wine-9.2)
https://bugs.winehq.org/show_bug.cgi?id=56286
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Evil Under the Sun: French |Evil Under the Sun (French |version of the game crashes |version) crashes when |when starting a new game |starting a new game |(regression) |
https://bugs.winehq.org/show_bug.cgi?id=56286
--- Comment #5 from imaxm memax@gmx.fr --- This bug is still present with wine-9.12.
OS: Ubuntu 24.04 LTS 64bit. NVIDIA Driver Version (proprietary): 535.183.01.
https://bugs.winehq.org/show_bug.cgi?id=56286
--- Comment #6 from imaxm memax@gmx.fr --- Hello This bug is still present in wine-10.0-rc2
Ubuntu 24.04 LTS NVIDIA Driver Version (proprietary): 550.120