http://bugs.winehq.org/show_bug.cgi?id=14662
Summary: Icewind Dale crashes when trying to zone out of an area. Product: Wine Version: 1.1.2 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: morokiane@excite.com
Created an attachment (id=15098) --> (http://bugs.winehq.org/attachment.cgi?id=15098) backtrace of icewind dale
Most recent patch to Wine killed Icewind Dale making it impossible to play due to not being able to zone out of an area without a crash. It acts much like the quick save bug and crashes at about 95% of the load.
http://bugs.winehq.org/show_bug.cgi?id=14662
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexd4@inbox.lv
--- Comment #1 from Alexander Dorofeyev alexd4@inbox.lv 2008-07-27 12:07:47 --- First of all, which version of game are you talking about? I assume the original Icewind Dale (I)?
Second, if you know a version that worked please do a regression test:
http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #2 from Lei Zhang thestig@google.com 2008-07-29 12:33:54 --- What video card / driver version are you using?
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #3 from Geoff morokiane@excite.com 2008-07-30 23:06:25 --- Its Icewind Dale with Heart of Winter and Trials of the Luremaster. I did regression back to a working version and still crashed out. I think it might be video card drivers related...as Diablo II started crashing with the video drivers. My video card is Nvidia 8800GTX I'm using Nvidia proprietary drivers 173.14.09
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #4 from Alexander Dorofeyev alexd4@inbox.lv 2008-11-17 10:01:59 --- Is this still a problem? Just played a bit in Icewind Dale with wine-1.1.8, seems to work fine.
Also, it appears you are using some registry overrides, like probably DirectDrawRenderer=opengl? Otherwise the top line of the backtrace doesn't make sense:
glVertex3sv+0xf66() in libgl.so.1 (0x7c388e70
You need to add any non-default settings like Wine\Direct3D registry keys etc.
http://bugs.winehq.org/show_bug.cgi?id=14662
Alexandro DC theknight696.linux@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |theknight696.linux@gmail.com
--- Comment #5 from Alexandro DC theknight696.linux@gmail.com 2009-04-02 15:26:17 --- I have the same problem and a similar looking backtrace. I can enter all houses and shops except for Hrothgar's house and exiting the map. I have Icewind Dale with Heart of Winter and Trials of the Luremaster installed. It doesn't matter if opengl rendering is used or not.
*UPDATE*
It seems to be a Trails of the Luremaster bug of some kind. I uninstalled everything, installed Icewind Dale again and tried it (i could enter Hrothgar's House) and then i installed Heart of Winter and everything still works!
http://bugs.winehq.org/show_bug.cgi?id=14662
Corey Hickey bugfood-c@fatooh.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugfood-c@fatooh.org
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #6 from Austin English austinenglish@gmail.com 2010-05-26 16:02:58 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.2-rc1 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #7 from Corey Hickey bugfood-c@fatooh.org 2010-06-04 00:39:45 --- (In reply to comment #6)
This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.2-rc1 or newer) wine?
I can confirm this still happens with 1.2-rc1. The game crashes on quickave and autosave, but normal saves work.
When 3D acceleration is disabled, the game works OK, but rather slowly.
Wine 1.2-rc1 compiled from source 64-bit Debian Sid Linux 2.6.32.3 NVidia drivers version 190.53
Thanks, Corey
http://bugs.winehq.org/show_bug.cgi?id=14662
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2011-07-18 10:03:28 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #9 from Corey Hickey bugfood-c@fatooh.org 2011-07-19 00:41:41 CDT --- (In reply to comment #8)
still a bug in current wine?
Yes. Thanks for the interest.
I just upgraded to 1.3.24-0.2 (Debian packages from http://dev.carbon-project.org/debian/wine-unstable/) and the bug is still present.
64-bit Debian Sid Linux 2.6.39-2-amd64 (stock Debian package) NVidia drivers version 275.09.07
Thanks, Corey
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2011-07-19 01:05:58 CDT --- Can youn add a backtrace with ddraw,+d3d7 channels enabled
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #11 from Corey Hickey bugfood-c@fatooh.org 2011-07-20 01:22:11 CDT --- (In reply to comment #10)
Can youn add a backtrace with ddraw,+d3d7 channels enabled
I'm getting some meaningless backtraces and having trouble getting wine to use the non-stripped wineserver binary from the debian libwine-dbg-unstable package (WINESERVER environment variable seems to be getting ignored or I'm doing something wrong).
Anyway, I'll probably give up and resurrect my 32-bit chroot to compile wine directly from source, but I'm busy for the next few days and won't be able to get you any info soon.
Thanks again, Corey
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #12 from Corey Hickey bugfood-c@fatooh.org 2011-07-23 14:36:10 CDT --- Ok, I might have what you want. I'm not familiar with debugging wine, so I had to track down the procedure myself and I might have missed some things. Here's what I did:
1. I compiled wine from git last night, which coincidentally was a release version.
commit 8c850a82d440786ca4f83e5e061d6b3d323f5161 Author: Alexandre Julliard julliard@winehq.org Date: Fri Jul 22 19:32:43 2011 +0200
Release 1.3.25.
2. I started wine with: WINEDEBUG=+ddraw,+d3d7 /mnt/64/usr/local/src/wine/wine-git/wine idmain.exe &> /tmp/icewind.log
3. Within wine, I loaded a saved game.
4. On another terminal, I ran the debugger and attached to idmain.exe as described here: http://wiki.winehq.org/Backtraces
5. Back in the game, I moved the party to another area, triggering the crash.
6. In the debugger, I got a backtrace.
I will attach the output of wine and the backtrace.
Thanks again, Corey
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #13 from Corey Hickey bugfood-c@fatooh.org 2011-07-23 14:37:29 CDT --- Created an attachment (id=35662) --> (http://bugs.winehq.org/attachment.cgi?id=35662) log of output from wine when crash manifests
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #14 from Corey Hickey bugfood-c@fatooh.org 2011-07-23 14:38:28 CDT --- Created an attachment (id=35663) --> (http://bugs.winehq.org/attachment.cgi?id=35663) debugger session with backtrace
http://bugs.winehq.org/show_bug.cgi?id=14662
Michael Curran curran.michaelp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |curran.michaelp@gmail.com
--- Comment #15 from Michael Curran curran.michaelp@gmail.com 2012-02-26 10:30:44 CST --- I'm not noticing this problem on the Icewind Dale Complete version from GOG.com. It comes with Trials of the Luremaster installed. Can anyone confirm this problem exists with the current version of Wine?
http://bugs.winehq.org/show_bug.cgi?id=14662
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |adys.wh@gmail.com Resolution| |FIXED
--- Comment #16 from Jerome Leclanche adys.wh@gmail.com 2012-02-26 12:15:30 CST --- Reported fixed. Reopen if it still happens in vanilla version in wine-1.4-rc5.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #17 from Corey Hickey bugfood-c@fatooh.org 2012-02-27 02:43:44 CST --- (In reply to comment #16)
Reported fixed. Reopen if it still happens in vanilla version in wine-1.4-rc5.
I just updated my git tree and recompiled; the same problem happens to me still.
Michael Curran, did you have have 3D Acceleration enabled (the "Graphics" tab of config.exe)?
Thanks, Corey
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #18 from Corey Hickey bugfood-c@fatooh.org 2012-02-27 02:47:41 CST --- I don't see a way to reopen the bug; either I'm missing something or my login doesn't have permissions to do that.
-Corey
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #19 from Michael Curran curran.michaelp@gmail.com 2012-02-27 17:58:52 CST --- (In reply to comment #18)
I don't see a way to reopen the bug; either I'm missing something or my login doesn't have permissions to do that.
-Corey
(In reply to comment #17)
(In reply to comment #16)
Reported fixed. Reopen if it still happens in vanilla version in wine-1.4-rc5.
I just updated my git tree and recompiled; the same problem happens to me still.
Michael Curran, did you have have 3D Acceleration enabled (the "Graphics" tab of config.exe)?
Thanks, Corey
I tried without acceleration off per Alexandre PC's comment that "It doesn't matter if opengl rendering is used or not", but now I see he was referring to Wine and not Icewind Dale.
Retrying with acceleration turned on results in the behavior described. Running a +relay trace shows that this is an opengl problem, the game is crashing immediately printing the trace in: void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) { TRACE("(%d, %d, %d, %d)\n", x, y, width, height ); ENTER_GL(); glScissor( x, y, width, height ); LEAVE_GL(); }
http://bugs.winehq.org/show_bug.cgi?id=14662
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Ever Confirmed|0 |1
--- Comment #20 from Jerome Leclanche adys.wh@gmail.com 2012-02-27 18:43:13 CST --- I see. Reopening then.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #21 from Michael Curran curran.michaelp@gmail.com 2012-02-29 08:36:41 CST --- I've looked into this deeper and what appears to be happening is that during the auto and quick save operation, the program spawns a new thread to handle creation of the save data. One of the last pieces of data is a screenshot. When the new thread attempts to select the screen with a glScissor() call, it crashes.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #22 from Michael Curran curran.michaelp@gmail.com 2012-03-01 15:25:41 CST --- I've created a +d3d,+wgl,+opengl,+tid that is just a bit too large to upload to bugzilla.
It is available here (1087 kb)
http://dl.dropbox.com/u/3429675/id9.log.tar.bz2
http://bugs.winehq.org/show_bug.cgi?id=14662
Goblinstomper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Goblinstomper@gmail.com
--- Comment #23 from Goblinstomper@gmail.com 2012-07-26 21:59:52 CDT --- Seeing as comment 15 and comment 19 implicated opengl and 3d acceleration and not a specific version of Icewind dale, I tested with "Icewind Dale Complete" from GoG.com and was not able to reproduce in wine 1.5.9. Both zoning and save/quick save has worked without problem.
OpenGL renderer string: AMD Radeon HD 6700 Series OpenGL version string: 4.2.11733 Compatibility Profile Context
http://bugs.winehq.org/show_bug.cgi?id=14662
Arjun aphull@ymail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aphull@ymail.com
--- Comment #24 from Arjun aphull@ymail.com 2012-08-06 17:03:04 CDT --- Bug still exists in wine 1.5.10 when using the OpenGL rendering mode in the Icewind Dale Config. Tested using the Icewind Dale Complete package from GOG.
Running Kubuntu 12.04. Same behaviour using both fglrx and radeon.
I attached a backtrace. Using radeon driver.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #25 from Arjun aphull@ymail.com 2012-08-06 17:04:12 CDT --- Created attachment 41302 --> http://bugs.winehq.org/attachment.cgi?id=41302 backtrace from crash after autosave in Icewind Dale Complete
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #26 from Goblinstomper@gmail.com 2012-08-08 10:42:25 CDT --- As it worked for me in 1.5.9 but not in 1.5.10 I thought I'd give that bi-secting thing a go. I don't know if I did everything correctly because at first I couldn't even get the game to start. With a clean prefix it kept crashing at the black isle logotype. However, after I tried to find the cause for that problem, which seems to have been
fbb7e20ffdfead8108c2ba444417e29aa7305183 is the first bad commit commit fbb7e20ffdfead8108c2ba444417e29aa7305183 Author: Matteo Bruni mbruni@codeweavers.com Date: Fri Jul 20 16:37:39 2012 +0200
d3dcompiler: "void" is not a plain scalar data type.
It can't be used in expressions and the like. This change indirectly takes care of most of the checks.
:040000 040000 6374caa4ba358fec42815e02d2b3e0ae0934d5ee 23dd8c5e6f7a20403d10982a975c2042350f6473 M dlls
which I reverted and afterward I did not encounter any problems with saving the game (the game did however crash randomly). Perhaps someone a bit more skilled could try a bisect or only reverting the patch with 1.5.10 and see if I was onto something.
http://bugs.winehq.org/show_bug.cgi?id=14662
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #27 from Matteo Bruni matteo.mystral@gmail.com 2012-08-08 11:25:39 CDT --- (In reply to comment #26)
That bisect result doesn't make much sense, both considering that the game doesn't use d3dcompiler AND that this bug is much older than the referenced commit.
FWIW, from the comments this bug sounds like some sort of memory corruption.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #28 from Goblinstomper@gmail.com 2012-08-08 11:45:27 CDT --- (In reply to comment #27)
(In reply to comment #26)
That bisect result doesn't make much sense, both considering that the game doesn't use d3dcompiler AND that this bug is much older than the referenced commit.
FWIW, from the comments this bug sounds like some sort of memory corruption.
yeah, I thought it looked odd - that's why I wanted some one else to take a look at it:) and as it was working (at least for me...) I thought it was "standard procedure" to at least try a bisection from last known good.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #29 from Arjun aphull@ymail.com 2012-08-08 12:02:09 CDT --- Just to clarify: the problem does not occur when saving the game. I did not have any issues if I saved the game by going through the menu. It only happens in quicksaves (i.e. pressing 'q') and autosaves (i.e. leaving areas and entering buildings of importance).
I encountered the same problem using 1.5.9.
http://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #30 from René Kjellerup rk.katana.steel@gmail.com 2012-10-25 19:43:03 CDT --- Created attachment 42256 --> http://bugs.winehq.org/attachment.cgi?id=42256 crash backtrace
It is still in 1.5.15
added my console backtrace.... but from the top of the call stack: Backtrace: =>0 0x7d9b2f03 wine_glScissor+0x93() in opengl32 (0x020baed4)
http://bugs.winehq.org/show_bug.cgi?id=14662
René Kjellerup rk.katana.steel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rk.katana.steel@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14662
Jay jaynobyl@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaynobyl@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=14662
sanjac@rocketmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sanjac@rocketmail.com
--- Comment #31 from sanjac@rocketmail.com 2012-12-23 20:59:27 CST --- Same problem (and same-looking backtrace) here, with Wine 1.5.20, on 64bit Linux with an ATI Redwood GPU. (Game installed in a clean 32bit Wine prefix.)
It happens with both the open-source 'radeon' driver, and the proprietary 'Catalyst' driver.
Disabling 3D acceleration using the Config.exe tool shipped with the game fixes it, hence the game is playable but of course not as beautiful (low-quality sprite-based fog of war and spell effects).
http://bugs.winehq.org/show_bug.cgi?id=14662
Isaac isaac@twopinesstudio.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isaac@twopinesstudio.com
http://bugs.winehq.org/show_bug.cgi?id=14662
Dawid Hanak nugrud@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nugrud@gmail.com
--- Comment #32 from Dawid Hanak nugrud@gmail.com --- With wine 1.7.15 on x86_64 linux mint, IwD from GOG (v1.42), nvidia 9600GT, drivers 331.49, I can't quick/auto save with 3d accel turned on. It definitely crashes while saving mini-screenshot. On sorcerer's Place site Icewind Dale Troubleshooting FAQ I found this:
"Q: SAVING / QUICKSAVE CRASH: Sometimes when I save or quicksave a game, the game will hardlock or crash with an "assertion" message. What can I do?
A: If you have OpenGL (3D) turned on, please turn it off through the Config program. Also download the latest Icewind Dale patch here."
So maybe it's not the fault of WINE?
https://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #33 from Austin English austinenglish@gmail.com --- (In reply to Dawid Hanak from comment #32)
With wine 1.7.15 on x86_64 linux mint, IwD from GOG (v1.42), nvidia 9600GT, drivers 331.49, I can't quick/auto save with 3d accel turned on. It definitely crashes while saving mini-screenshot. On sorcerer's Place site Icewind Dale Troubleshooting FAQ I found this:
"Q: SAVING / QUICKSAVE CRASH: Sometimes when I save or quicksave a game, the game will hardlock or crash with an "assertion" message. What can I do?
A: If you have OpenGL (3D) turned on, please turn it off through the Config program. Also download the latest Icewind Dale patch here."
So maybe it's not the fault of WINE?
Is that a game option? Does turning it off help? Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=14662
--- Comment #34 from sanjac@rocketmail.com ---
Is that a game option? Does turning it off help?
Yes, as I already stated in comment 31.
Is this still an issue in current (1.7.51 or newer) wine?
No idea, and I doubt you'll get much interest in this bug now, because an enhanced edition of the game with a native Linux version has been released in October 2014 - most people have probably switched to that.
Of course if you really want to follow up on this bug, I can re-download the original win32 version from my GOG.com account and install it again just to test it with the newest Wine.
But it might make more sense to just close this bug.
https://bugs.winehq.org/show_bug.cgi?id=14662
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |ABANDONED
--- Comment #35 from Austin English austinenglish@gmail.com --- (In reply to sanjac from comment #34)
Is that a game option? Does turning it off help?
Yes, as I already stated in comment 31.
Missed that, thanks.
Is this still an issue in current (1.7.51 or newer) wine?
No idea, and I doubt you'll get much interest in this bug now, because an enhanced edition of the game with a native Linux version has been released in October 2014 - most people have probably switched to that.
Of course if you really want to follow up on this bug, I can re-download the original win32 version from my GOG.com account and install it again just to test it with the newest Wine.
But it might make more sense to just close this bug.
Fine with me, thanks for following up.
https://bugs.winehq.org/show_bug.cgi?id=14662
Jay jaynobyl@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|jaynobyl@gmx.de |
https://bugs.winehq.org/show_bug.cgi?id=14662
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #36 from Austin English austinenglish@gmail.com --- Closing.