http://bugs.winehq.org/show_bug.cgi?id=27540
Summary: Typing of the Dead demo: Crashes upon launch when directsound is set to emulation Product: Wine Version: 1.2.3 Platform: x86-64 URL: http://www.fileplanet.com/54947/50000/fileinfo/The-Typ ing-of-the-Dead-Demo OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: asb@asbradbury.org
Created an attachment (id=35205) --> (http://bugs.winehq.org/attachment.cgi?id=35205) output including backtrace from 1.3.22
This bug affects both the Typing of the Dead demo and the full game. It works correctly when direct sound hardware acceleration is set to "Hardware" in winecfg, but crashes when it is set to "Emulation". I am using ALSA on Ubuntu 11.04 x86_64 (no pulseaudio).
I have attached a log including the backtrace, generated with a self-built 1.3.22. I have reproduced the crash in the same location with 1.2.3, 1.3.7, 1.3.22 and 1.3.22-203-gac90c1b.
To reproduce, download the Typing of the Dead demo and install to a fresh WINEPREFIX. Due to bug #24832 the installation finished dialog won't be shown, but the game still installs correctly. Set directsound hardware acceleration to emulated, launch Tod_e_demo.exe and you should get a crash.
$ sha1sum tod-demo.zip 96fe3edb2431210932af840e29c59bce6b7fc80f tod-demo.zip
http://bugs.winehq.org/show_bug.cgi?id=27540
Alex Bradbury asb@asbradbury.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35205|0 |1 is obsolete| |
--- Comment #1 from Alex Bradbury asb@asbradbury.org 2011-06-19 14:34:49 CDT --- Created an attachment (id=35206) --> (http://bugs.winehq.org/attachment.cgi?id=35206) output including backtrace in 1.3.22 with WINEDEBUG=+dsound
Attached a trace with WINEDEBUG=+dsound. Obsoleting old attachment as dsound debug channel adds very little noise.
http://bugs.winehq.org/show_bug.cgi?id=27540
Alex Bradbury asb@asbradbury.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=27540
--- Comment #2 from Alex Bradbury asb@asbradbury.org 2011-07-27 13:49:38 CDT --- Still present in wine-1.3.25-143-ge0f1aa0.
http://bugs.winehq.org/show_bug.cgi?id=27540
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2011-09-09 08:15:50 CDT --- BitsPerSample=2 is going nowhere. Like bug #20056, the crash may be a consequence of the broken format.
trace:dsound:PrimaryBufferImpl_SetFormat (0x1ff1158,0x32fc68) trace:dsound:DSOUND_PrimarySetFormat (formattag=0x0001,chans=2,samplerate=44100,bytespersec=22050,blockalign=0,bitspersamp=2,cbSize=0) warn:dsound:DSOUND_CopyFormat Fixing bad nAvgBytesPerSec (22050)
Sadly, "Fixing bad blockalign" does not trigger the way it's written in CopyFormat. Even if it would, it's doubtful that it would help prevent a crash, because nBlockAlign would compute 0 from BitsPerSample 2.
Like with the other bug, the question remains: does the broken format originate from the app, or from within Wine?
http://bugs.winehq.org/show_bug.cgi?id=27540
Alex Bradbury asb@asbradbury.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Alex Bradbury asb@asbradbury.org 2011-09-27 15:31:41 CDT --- Just tried with wine-1.3.29-99-g3960ea8 and this issue is no longer present. Marking FIXED.
http://bugs.winehq.org/show_bug.cgi?id=27540
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2011-10-10 13:14:01 CDT --- Closing bugs fixed in 1.3.30.