http://bugs.winehq.org/show_bug.cgi?id=22155
Summary: Civilization IV Colonization crashes when making diplomatic contact Product: Wine Version: 1.1.40 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: krause@informatik.uni-halle.de
"Civilization IV: Colonization" which crashes with pagefault when making diplomatic contact.
in wine 1.1.40 it crashes in "=>0 0xb7e46776 memcpy+0x46() in libc.so.6 (0x7c0ce990)", in wine 1.1.34 it crashes in "=>0 0xb7aea18e in d3d9 (+0x1a18e) (0x0033fb88)", in wine 1.1.28 it works correctly
i have done a bisection, and commit ff92e6eb6a6b0f5b6ee0d062f8434cad8f31c33d Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Dec 4 11:50:47 2009 +0100
d3d9: Simplify GetDevice().
seems to be the cause
I am on openSUSE 11.0 with fglrx drivers 9.3 on a Radeon 9700 Pro (old card not supported by newer drivers)
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-03-24 19:51:05 --- Attach logs please.
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #2 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-24 20:07:00 --- Created an attachment (id=27029) --> (http://bugs.winehq.org/attachment.cgi?id=27029) crash report from wine-1.1.34
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #3 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-24 20:12:47 --- Created an attachment (id=27030) --> (http://bugs.winehq.org/attachment.cgi?id=27030) crash report from wine-1.1.40
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2010-03-25 03:58:07 --- What does 1.1.35 do? The crash in 1.1.34 was a known regression, but should be fixed by 89c96ca31ea51554b70a4c59d56f3b1e8b2d3f7b.
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #5 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-25 15:48:23 --- i couldn't reproduce it in winw-1.1.35, so i'll start a bew bisection there
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #6 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-26 10:52:01 --- new bisection results in: commit 6b6db0dcb20b20f46fcd7ea29d108b123c3dbbde Author: Christian Costa titan.costa@wanadoo.fr Date: Mon Feb 15 09:48:03 2010 +0100
d3dx9_36: Improve some stubs.
:040000 040000 868dcb128208195009b4ad907939fac80878ca38 683832b4fc60a071246ea4867b05870fa242acce M dlls
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #7 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-26 10:57:29 --- During bisecting i also noticed that the bug seems to go along with graphics glitches (flickering) in some animations
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2010-03-26 11:36:33 --- (In reply to comment #6)
new bisection results in: commit 6b6db0dcb20b20f46fcd7ea29d108b123c3dbbde Author: Christian Costa titan.costa@wanadoo.fr Date: Mon Feb 15 09:48:03 2010 +0100
d3dx9_36: Improve some stubs.
:040000 040000 868dcb128208195009b4ad907939fac80878ca38 683832b4fc60a071246ea4867b05870fa242acce M dlls
Looking at that commit, it looks unlikely to be the cause. Does reverting it fix the bug?
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #9 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-26 22:58:16 --- something must have gone wrong in the bisection, i did it again, and this time it ends in: 31d51fb1754d02514e28f2b8db6fbe8206834f6d is first bad commit commit 31d51fb1754d02514e28f2b8db6fbe8206834f6d Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Feb 3 11:02:21 2010 +0100
wined3d: Preload textures before applying states.
:040000 040000 b01ddbd1d9d8ea88e14b8c3a3c5d0f174f981303 32f05c5de032305671a0b5e36a31409f71cf3edd M dlls
reverting that actually seems to fix the crashes.
the graphics glitches i mentioned seem to be introduced earlier, though.
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #10 from Johannes E. Krause krause@informatik.uni-halle.de 2010-03-27 13:07:54 --- the graphics glitches seem to start here 224043d6cf8b56e9ff2537358646700211d54d1f is first bad commit commit 224043d6cf8b56e9ff2537358646700211d54d1f Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jan 28 20:51:06 2010 +0100
wined3d: Implement dynamic buffers with GL_ARB_map_buffer_range.
:040000 040000 1f55d5e837f1d9a7d2b4611f2de3e02dbcd8fafe c189de355870e1812adce96432f42a16967e2b2c M dlls
http://bugs.winehq.org/show_bug.cgi?id=22155
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #11 from Austin English austinenglish@gmail.com 2010-03-27 19:36:31 --- (In reply to comment #10)
the graphics glitches seem to start here 224043d6cf8b56e9ff2537358646700211d54d1f is first bad commit commit 224043d6cf8b56e9ff2537358646700211d54d1f Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jan 28 20:51:06 2010 +0100
wined3d: Implement dynamic buffers with GL_ARB_map_buffer_range.
:040000 040000 1f55d5e837f1d9a7d2b4611f2de3e02dbcd8fafe c189de355870e1812adce96432f42a16967e2b2c M dlls
See bug 22114.
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2010-03-30 04:35:02 --- Could you create a "+tid,+seh,+d3d,+d3d_surface,+d3d9" log with the crash and attach it / send it to me (may be large, even compressed).
http://bugs.winehq.org/show_bug.cgi?id=22155
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com, | |xvachon@gmail.com
--- Comment #13 from Xavier Vachon xvachon@gmail.com 2010-07-09 21:18:27 --- In current git (1.2-rc7), I was able to initiate diplomatic contact within the game and make a trade with the AI. Msxml3 and msxml4 were installed with winetricks to avoid this bug : http://bugs.winehq.org/show_bug.cgi?id=8107
The original poster should retest.
http://bugs.winehq.org/show_bug.cgi?id=22155
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #14 from Johannes E. Krause krause@informatik.uni-halle.de 2010-07-10 05:56:29 --- The original conversation ended with:
Am Mittwoch, 31. März 2010 14:54:22 schrieb Henri Verbeet:
At first sight this looks like a bug in the driver related to handling compressed textures. I'll try to investigate a bit more, but there may not be much we can do about this. Since the card is unsupported by current fglrx version
I'm not entirely sure anything was actually done, for me the workaround was reverting the commit. Using the OSS driver wasn't a viable option back then either. I'll test again soon.
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #15 from Henri Verbeet hverbeet@gmail.com 2010-07-10 07:07:28 --- (In reply to comment #14)
I'm not entirely sure anything was actually done, for me the workaround was reverting the commit. Using the OSS driver wasn't a viable option back then either. I'll test again soon.
I didn't find anything to suggest this isn't a driver bug after that conversation. Either way, I won't be able to do much about this one without being able to reproduce it myself, sorry.
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #16 from Xavier Vachon xvachon@gmail.com 2010-07-15 23:55:24 --- (In reply to comment #13)
In current git (1.2-rc7), I was able to initiate diplomatic contact within the game and make a trade with the AI. Msxml3 and msxml4 were installed with winetricks to avoid this bug : http://bugs.winehq.org/show_bug.cgi?id=8107
The original poster should retest.
Adding some relevant information, since according to the last comments this bug could be related to ATI drivers.
Gentoo Linux X64 Nvidia-drivers 256.35
http://bugs.winehq.org/show_bug.cgi?id=22155
--- Comment #17 from Johannes E. Krause krause@informatik.uni-halle.de 2010-09-17 13:53:51 CDT --- (just for information) seems like after updating to wine-1.3.1 i also had to revert this commit:
commit 6a9476b6090d80fb25fbf2039422c4c7858e40fd Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Aug 15 23:21:46 2010 +0200
wined3d: Correctly calculate the resource size for ATI2N surfaces.
http://bugs.winehq.org/show_bug.cgi?id=22155
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scott@open-vote.org
--- Comment #18 from Scott Ritchie scott@open-vote.org 2010-11-28 20:29:21 CST --- Works for me on Nvidia hardware in 1.3.8, please retest.
http://bugs.winehq.org/show_bug.cgi?id=22155
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |31d51fb1754d02514e28f2b8db6 | |fbe8206834f6d
http://bugs.winehq.org/show_bug.cgi?id=22155
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #19 from Stefan Dösinger stefandoesinger@gmx.at 2011-08-13 16:33:38 CDT --- Does anyone still have this issue? Otherwise the bug will probably be closed as abandoned in the Wine 1.4 release process.
http://bugs.winehq.org/show_bug.cgi?id=22155
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #20 from Henri Verbeet hverbeet@gmail.com 2011-09-15 15:37:25 CDT --- I'm marking this invalid. As far as I can tell this is a bug in fglrx with hardware that's no longer supported by that driver. I'd encourage users with such hardware (that haven't done so already) to upgrade to the r300g driver.
http://bugs.winehq.org/show_bug.cgi?id=22155
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Henri Verbeet hverbeet@gmail.com 2011-09-15 15:37:40 CDT --- Closing.