http://bugs.winehq.org/show_bug.cgi?id=18016
Summary: Sub Culture: Software rendered version crashes right away Product: Wine Version: 1.1.18 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: winehqbugs@bugmenot.com
My installed wine version is http://www.lamaresh.net/apt/dists/lenny/main/binary-i386/wine_1.1.18~winehq1... on Debian Testing ("Squeeze"). My sound system is OSS 4.1 (b 1052/200903241228) (0x00040100).
1. I moved my ~/.wine2 to a backup location and started winecfg. Set the sound system to OSS and did not touch anything else.
2. I installed the game Sub Culture: http://appdb.winehq.org/objectManager.php?sClass=application&iId=4349 from an ISO mounted to ~/tmpmnt/
3. I added ~/tmpmnt/ as drive D: to Wine since Sub Culture has a CD check and also CD music (which as I found out later, won't work anyways).
4. I launch "wine sc.exe" (the software rendered version of the game), it crashes right away. See attachments.
I played around with the virtual desktop settings in Wine as well as with different Windows versions but always got the same error.
It worked "more" when using 1.0.1 (wine-1.0.1-174-gc4039bd) earlier, the game started, I could use the menu (sound was working there) but once I started a game it crashed with a sound-related error ("../../../dlls/dsound/mixer.c:336: DSOUND_MixToTemporary: Assertion `writepos + len <= dsb->buflen' failed."). I could play when I disabled sound in winecfg though. I updated to 1.1.18 to get around this problem.
A full regression test is beyond my capatibilities but I could offer sharing a copy of the game. I do actually own two CDs of it so I guess "lending" an iso for testing it would be ok. If it is not just ignore this paragraph.
The other versions (D3D, 3dfx using a GlideWrapper) have their own problems (D3D needs the desktop to be at 640x480x16bit or it crashes on Windows already, 3dfx worked fine for me earlier with http://www.zeckensack.de/glide/ but now it does not anymore for an unknown reason), but that's another bug if I find the patience.
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #1 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-12 10:50:17 --- Created an attachment (id=20399) --> (http://bugs.winehq.org/attachment.cgi?id=20399) WINEDEBUG=+relay,+seh,+tid wine sc.exe &>/tmp/relay.txt
WINEDEBUG=+relay,+seh,+tid wine sc.exe &>/tmp/relay.txt as requested by arethusa in IRC
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #2 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-12 10:52:19 --- Created an attachment (id=20400) --> (http://bugs.winehq.org/attachment.cgi?id=20400) normal output to the shell when running "wine sc.exe"
http://bugs.winehq.org/show_bug.cgi?id=18016
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20400|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-12 12:36:24 ---
00000008 (D) Z:\home\hannes.wine2\drive_c\Program Files\Criterion Studios\Sub
Did you set WINEPREFIX to point to /home/hannes/.wine2 ?
http://bugs.winehq.org/show_bug.cgi?id=18016
quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20400|0 |1 is obsolete| |
--- Comment #4 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-12 14:41:40 --- Created an attachment (id=20403) --> (http://bugs.winehq.org/attachment.cgi?id=20403) normal output to the shell when running "wine sc.exe"
Oh, silly oversight on my end. Sorry. Here are new logs from a fresh installation.
http://bugs.winehq.org/show_bug.cgi?id=18016
quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20399|0 |1 is obsolete| |
--- Comment #5 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-12 14:42:26 --- Created an attachment (id=20404) --> (http://bugs.winehq.org/attachment.cgi?id=20404) WINEDEBUG=+relay,+seh,+tid wine sc.exe &>/tmp/relay.txt
http://bugs.winehq.org/show_bug.cgi?id=18016
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20403|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #6 from Austin English austinenglish@gmail.com 2009-04-13 02:37:11 --- (In reply to comment #0)
It worked "more" when using 1.0.1 (wine-1.0.1-174-gc4039bd) earlier, the game started, I could use the menu (sound was working there) but once I started a game it crashed with a sound-related error ("../../../dlls/dsound/mixer.c:336: DSOUND_MixToTemporary: Assertion `writepos + len <= dsb->buflen' failed."). I could play when I disabled sound in winecfg though. I updated to 1.1.18 to get around this problem.
We'll need the regression test then. It's not hard, just time consuming.
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #7 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-13 05:36:55 --- Ok, it seems like I managed to set this up. Might take a few days though. Thanks for the interest!
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #8 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-13 11:30:25 --- With help from kgbricola in IRC I managed to track down the culprit:
This version does have the bug: http://source.winehq.org/git/wine.git/?a=commitdiff;h=a47e7badb9484b123be413...
This version (its parent) does work: http://source.winehq.org/git/wine.git/?a=commitdiff;h=474e7ed98c23348ac227c0...
I will now check if the demo has the same bug.
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #9 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-13 11:43:33 --- Yes, you can use the demo for this: ftp://ftp.ubisoft.com/Demos/SubCulture/subenglish.exe Even though it renders very funky for me this bug appears reproducably.
Just in case, I applied the following patch by hand to get around a error when building: http://www.nabble.com/-PATCH--Adjust-FT_MulFix-function-to-Freetype-cvs-head...
Attached are new logs, this time from the demo.
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #10 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-13 11:44:33 --- Created an attachment (id=20424) --> (http://bugs.winehq.org/attachment.cgi?id=20424) normal output to the shell when running "wine scdemo.exe" with a47e7badb9484b123be413cdd353ced601b10d99
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #11 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-13 11:45:34 --- Created an attachment (id=20425) --> (http://bugs.winehq.org/attachment.cgi?id=20425) Demo with a47e7badb9484b123be413cdd353ced601b10d99: WINEDEBUG=+relay,+seh,+tid wine sc.exe &>/tmp/relay.txt
http://bugs.winehq.org/show_bug.cgi?id=18016
quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20424|0 |1 is obsolete| |
--- Comment #12 from quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com 2009-04-13 11:46:35 --- Created an attachment (id=20426) --> (http://bugs.winehq.org/attachment.cgi?id=20426) Demo with a47e7badb9484b123be413cdd353ced601b10d99: normal output to the shell when running "wine sc.exe"
renamed because of an minor error and to avoid confusion
http://bugs.winehq.org/show_bug.cgi?id=18016
--- Comment #13 from Rico kgbricola@web.de 2009-04-13 11:57:03 --- Confirming.
Result of the regression test: a47e7badb9484b123be413cdd353ced601b10d99 is first bad commit commit a47e7badb9484b123be413cdd353ced601b10d99 Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Jul 29 11:03:59 2008 -0500
ddraw: Set ddraw caps in wined3d.
Currently the ddraw capabilities were almost static, except of D3D support. When overlay support is added, the caps depend on certain settings in WineD3D or capabilities available from OpenGL and Xv. So set those caps in wined3d as well.
:040000 040000 ec6e179a447958505e6683385c644b6667dd0fd9 8d1f5599bfcf2db3c3277e172760ecec81a05017 M dlls :040000 040000 9ffd5c4286bdf342dd4714b0cbbf8a3445704426 a24a60b2404c3c80d5be93c3c71053d118e8750b M include
http://bugs.winehq.org/show_bug.cgi?id=18016
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=18016
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-ddraw
http://bugs.winehq.org/show_bug.cgi?id=18016
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |mstefani@redhat.com Ever Confirmed|0 |1
--- Comment #14 from Michael Stefaniuc mstefani@redhat.com 2010-06-11 02:42:25 --- Confirmed by Rico.
http://bugs.winehq.org/show_bug.cgi?id=18016
quasi-anonymous user from bugmenot.com winehqbugs@bugmenot.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.18 |1.2.1
http://bugs.winehq.org/show_bug.cgi?id=18016
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.2.1 |1.1.18
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com 2010-12-25 10:42:28 CST --- Don't change reported version, new test results go to comments.
http://bugs.winehq.org/show_bug.cgi?id=18016
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |a47e7badb9484b123be413cdd35 | |3ced601b10d99
http://bugs.winehq.org/show_bug.cgi?id=18016
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #16 from Stefan Dösinger stefan@codeweavers.com 2011-11-13 15:10:05 CST --- Can you try attachment 36961 from bug 22744?
http://bugs.winehq.org/show_bug.cgi?id=18016
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9e0baa55cec232656048c972e94 | |a9dc2a15ec30b Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Stefan Dösinger stefan@codeweavers.com 2011-11-17 11:56:43 CST --- Patch 9e0baa55cec232656048c972e94a9dc2a15ec30b fixes this problem for me in the demo.
http://bugs.winehq.org/show_bug.cgi?id=18016
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2011-11-18 13:04:00 CST --- Closing bugs fixed in 1.3.33.
http://bugs.winehq.org/show_bug.cgi?id=18016
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d