http://bugs.winehq.org/show_bug.cgi?id=26918
Summary: Atlantis II doesn't play intro videos and crashes in the main menu Product: Wine Version: 1.3.18 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: julliard@winehq.org
Created an attachment (id=34321) --> (http://bugs.winehq.org/attachment.cgi?id=34321) terminal output
Atlantis II (also known as Beyond Atlantis) loads up directly to the main menu after launching (without playing the 3 short intro videos). In the main menu the game crashes if I hover the mouse pointer over any of the menu options. Normally, when you place the mouse pointer over an option a tooltip of the button should show up. The issues seem to be unrelated, however I found out that they were caused by the same commit.
Last working version: Wine-1.1.7
21453b4c2e163ec2fb5e630ef812b74e53c58083 is the first bad commit commit 21453b4c2e163ec2fb5e630ef812b74e53c58083 Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 29 17:32:45 2008 +0100
ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment.
:040000 040000 51c8db21bc03eedb7a6585a1155b26d105359117 4ccc1ed9690e3ab20aee39ad003bb47919c2c530 M dlls
The patch cannot be reverted but after git checkout 21453b4c2e163ec2fb5e630ef812b74e53c58083 >>no videos and the game crashes in the menu
git reset --hard HEAD^ >>the videos are playing fine and no crash in the menu
The commit has been already mentioned in bug #18975 and bug #21409. No demo available.
Fedora 14 32-bit
http://bugs.winehq.org/show_bug.cgi?id=26918
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #1 from GyB gyebro69@gmail.com 2011-05-18 14:08:52 CDT --- Someone has submitted a test result in AppDB recently, rated the game Gold. The test result mentions that videos are not playing, but no mention of the crash. That made me curious so I checked the game again in wine-1.3.20-128-gb59b68b.
I found out that the crash only happens after the screen resolution of the game has been changed from the default 640x480 to 800x600. After deleting the game's config file (which reverts the resolution to 640x480) there is no crash in the menu (but videos are still not playing).
In Wine-1.1.7 the videos are playing and no crash in the menu @800x600.
http://bugs.winehq.org/show_bug.cgi?id=26918
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |21453b4c2e163ec2fb5e630ef81 | |2b74e53c58083
http://bugs.winehq.org/show_bug.cgi?id=26918
marc.bessieres@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marc.bessieres@gmail.com
--- Comment #2 from marc.bessieres@gmail.com 2011-08-30 14:30:40 CDT --- Do you still have the issue? I rated the application Platinium last week
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #3 from GyB gyebro69@gmail.com 2011-08-30 14:38:17 CDT --- (In reply to comment #2)
Do you still have the issue? I rated the application Platinium last week
Yes, the same problem in wine-1.3.27-60-g49dc157. Do in-game videos work for you? Have you tried the game @800x600?
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #4 from marc.bessieres@gmail.com 2011-08-30 14:55:54 CDT --- I didn't read well the description.
I don't have the videos either, but no crash here whatever the resolution I choose, be it 640x480 or 800x600, I use the later to play the game.
http://bugs.winehq.org/show_bug.cgi?id=26918
jhgf bernhardloos@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardloos@googlemail.com
--- Comment #5 from jhgf bernhardloos@googlemail.com 2011-10-02 07:41:04 CDT --- Please attach a WINEDEBUG=+relay,+seh,+tid log.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #6 from GyB gyebro69@gmail.com 2011-10-02 08:00:59 CDT --- Created attachment 36651 --> http://bugs.winehq.org/attachment.cgi?id=36651 7zipped +relay,+seh,+tid log (uncompressed 3.8 MB)
I launched the game (no intro videos were playing), then I hovered the mouse pointer over the first icon in the main menu (titled 'Player 1'). The crash happened there.
wine-1.3.29-121-gfdda702
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #7 from jhgf bernhardloos@googlemail.com 2011-10-02 10:38:39 CDT --- It's a use-after-free bug in wined3d: 0024:Call wined3d.wined3d_surface_create(0016cef0,00000280,000001e0,00000070,00000001,00000000,00000000,00000000,00000002,00000000,00000000,00000000,01e00140,688a3be0,01e00188) ret=68878d95 0024:Call ntdll.RtlAllocateHeap(00110000,00000008,00000158) ret=68cdf747 0024:Ret ntdll.RtlAllocateHeap() retval=00214fa8 ret=68cdf747 0024:Call ntdll.RtlAllocateHeap(00110000,00000008,00096010) ret=68c74998 0024:Ret ntdll.RtlAllocateHeap() retval=02940020 ret=68c74998 ... 0024:Call wined3d.wined3d_surface_getdc(00214fa8,0066e9f8) ret=6886fbe2 ... 0024:Call ntdll.RtlFreeHeap(00110000,00000000,02940020) ret=68cc4b32 0024:Ret ntdll.RtlFreeHeap() retval=00000001 ret=68cc4b32 0024:Ret wined3d.wined3d_surface_getdc() retval=00000000 ret=6886fbe2 ... 0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0x10003ac0 ip=10003ac0 tid=0024 0024:trace:seh:raise_exception info[0]=00000000 0024:trace:seh:raise_exception info[1]=02964bb1
This is not an actual regression, but with Alexandres patch, the memory will now get completly unmapped, resulting in an segfault on access.
A log with WINEDEBUG=+tid,+seh,+d3d_surface might be helpful, but I don't now enough about wined3d to actually fix this.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #8 from GyB gyebro69@gmail.com 2011-10-02 10:56:07 CDT --- Created attachment 36656 --> http://bugs.winehq.org/attachment.cgi?id=36656 +seh,+tid,+d3d_surface log (uncompressed 1.2 MB)
Thanks for the analysis anyway.
http://bugs.winehq.org/show_bug.cgi?id=26918
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|ntdll |directx-d3d Ever Confirmed|0 |1
--- Comment #9 from Austin English austinenglish@gmail.com 2011-10-02 11:06:40 CDT --- Changing component, confirming.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2011-10-02 11:45:18 CDT --- (In reply to comment #7)
It's a use-after-free bug in wined3d:
You should try with +ddraw, but it's likely either in ddraw or the application.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #11 from GyB gyebro69@gmail.com 2011-10-10 12:14:27 CDT --- Created attachment 36806 --> http://bugs.winehq.org/attachment.cgi?id=36806 +seh,+tid,+ddraw log (wine-1.3.29-308-gf24b0a8)
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2012-02-16 05:04:21 CST --- Does this still happen with 1.4-rc3? Something like commit 67d4be0 might have made a difference.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #13 from GyB gyebro69@gmail.com 2012-02-16 09:15:29 CST --- (In reply to comment #12)
Does this still happen with 1.4-rc3? Something like commit 67d4be0 might have made a difference.
Still present as of wine-1.4-rc3-65-g98f0be8.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #14 from Henri Verbeet hverbeet@gmail.com 2012-02-16 09:19:23 CST --- Created attachment 38908 --> http://bugs.winehq.org/attachment.cgi?id=38908 patch
Does this patch make any difference?
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #15 from GyB gyebro69@gmail.com 2012-02-16 09:28:32 CST --- (In reply to comment #14)
Created attachment 38908 [details] patch
Does this patch make any difference?
Thanks, the patch indeed fixes one of the reported problems: the game no longer crashes when I change the screen resolution from 640x480 to 800x600. However, videos are still not playing.
http://bugs.winehq.org/show_bug.cgi?id=26918
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38908|0 |1 is obsolete| |
--- Comment #16 from Henri Verbeet hverbeet@gmail.com 2012-02-16 09:40:48 CST --- Created attachment 38909 --> http://bugs.winehq.org/attachment.cgi?id=38909 patch
How about this one? Looks like the crash is indeed caused by the application assuming the address returned by Lock() can't change. The videos not playing is probably a separate issue.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #17 from GyB gyebro69@gmail.com 2012-02-16 09:54:46 CST --- (In reply to comment #16)
Created attachment 38909 [details] patch
How about this one? Looks like the crash is indeed caused by the application assuming the address returned by Lock() can't change. The videos not playing is probably a separate issue.
The previous one was better...with this patch the game crashes again @800x600.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #18 from Henri Verbeet hverbeet@gmail.com 2012-02-22 14:34:04 CST --- Should be fixed by f20e07b77bec5863e71141cfe623f1ef8ef28c60.
http://bugs.winehq.org/show_bug.cgi?id=26918
--- Comment #19 from Henri Verbeet hverbeet@gmail.com 2012-02-22 14:36:09 CST --- The crash, that is. I'm not sure if it's better to keep this open for the videos not playing or to file a new bug.
http://bugs.winehq.org/show_bug.cgi?id=26918
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f20e07b77bec5863e71141cfe62 | |3f1ef8ef28c60 Status|NEW |RESOLVED Resolution| |FIXED Summary|Atlantis II doesn't play |Atlantis II crashes when |intro videos and crashes in |changing screen resolution |the main menu |
--- Comment #20 from GyB gyebro69@gmail.com 2012-02-22 21:43:05 CST --- This one is fixed. I will file a new bug for the missing videos when I have time.
http://bugs.winehq.org/show_bug.cgi?id=26918
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2012-02-24 12:48:21 CST --- Closing bugs fixed in 1.4-rc5.