http://bugs.winehq.org/show_bug.cgi?id=28333
Summary: F-22 Lightning 3 crashes in the options menu (audio related) Product: Wine Version: 1.3.25 Platform: x86 URL: http://www.fileplanet.com/82771/80000/fileinfo/F-22-Li ghtning-3-Demo OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: aeikum@codeweavers.com Regression SHA1: ccd2a241399c011b2afb183c4ffffec20a68cab4
Created an attachment (id=36308) --> (http://bugs.winehq.org/attachment.cgi?id=36308) terminal output
Steps to reproduce the problem in the demo: Install...launch. Go to Options in the menu. Click on Accept (or press <Esc> in the options menu). The same crash occurs when I'm trying to change the audio volume level inside Options>Audio.
When Alsa is set to full hw. acceleration the game usually crashes. When 'emulation' is used, it hangs. Still present in Wine-1.3.28.
The problem is due to the following commit:
ccd2a241399c011b2afb183c4ffffec20a68cab4 is the first bad commit commit ccd2a241399c011b2afb183c4ffffec20a68cab4 Author: Andrew Eikum aeikum@codeweavers.com Date: Wed Jul 13 14:20:37 2011 -0500
winmm: Remove driver implementation of mixer*.
:040000 040000 a31b52263e09d8c1f941de02daaa8c32d5372d2c 3d0e5786be14ebaa13b08f4cd4234ddcbf112eb1 M dlls
Disabling audio works around the problem.
Fedora 15 x86 Kernel 2.6.40.4-5.fc15.i686.PAE Alsa 1.0.24 Pulseaudio is not running Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
http://bugs.winehq.org/show_bug.cgi?id=28333
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=28333
--- Comment #1 from GyB gyebro69@gmail.com 2011-09-10 03:47:24 CDT --- Created an attachment (id=36309) --> (http://bugs.winehq.org/attachment.cgi?id=36309) 7zipped +tid,+mmdevapi,+alsa,+winmm,+dsound log (uncompressed 1.1 MB)
http://bugs.winehq.org/show_bug.cgi?id=28333
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com 2011-09-29 11:54:45 CDT --- This is another application bug (see also Bug 28042 and Bug 27982). The application is calling mixerOpen() for an output device and then requesting details for MIXERLINE_COMPONENTTYPE_DST_WAVEIN. That returns an error code, which the application ignores and passes an invalid struct to mixerGetLineInfoW, which also returns an error and then the application crashes, probably expecting a valid struct to be returned.
It also crashes in exactly the same way on my Windows 7 VM. However, when I set it to Windows 98 compatibility mode, it seems to work fine. Maybe we need to have this kind of compatibility stuff in Wine's audio, too... joy :)
http://bugs.winehq.org/show_bug.cgi?id=28333
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #3 from Raymond superquad.vortex2@gmail.com 2011-10-03 02:48:24 CDT --- (In reply to comment #2)
This is another application bug (see also Bug 28042 and Bug 27982). The application is calling mixerOpen() for an output device and then requesting details for MIXERLINE_COMPONENTTYPE_DST_WAVEIN. That returns an error code, which the application ignores and passes an invalid struct to mixerGetLineInfoW, which also returns an error and then the application crashes, probably expecting a valid struct to be returned.
It also crashes in exactly the same way on my Windows 7 VM. However, when I set it to Windows 98 compatibility mode, it seems to work fine. Maybe we need to have this kind of compatibility stuff in Wine's audio, too... joy :)
This is because you only implement SimpleVolume API, you need to implement EndVolume API for those application using mixerXxx functions
Applications that manage the master volume levels of audio endpoint devices, similar to the Windows volume-control program, Sndvol.exe.
Professional audio ("pro audio") applications that require exclusive-mode access to audio endpoint devices.
http://bugs.winehq.org/show_bug.cgi?id=28333
--- Comment #4 from GyB gyebro69@gmail.com 2012-02-25 01:11:13 CST --- Still present in Wine-1.4-rc5.
http://bugs.winehq.org/show_bug.cgi?id=28333
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2012-05-11 13:25:45 CDT --- still there in current git?
http://bugs.winehq.org/show_bug.cgi?id=28333
--- Comment #6 from GyB gyebro69@gmail.com 2012-05-11 14:00:59 CDT --- (In reply to comment #5)
still there in current git?
Still there in Wine 1.5.4.
http://bugs.winehq.org/show_bug.cgi?id=28333
--- Comment #7 from joaopa jeremielapuree@yahoo.fr 2012-10-13 08:23:13 CDT --- Still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=28333
--- Comment #8 from GyB gyebro69@gmail.com 2012-10-13 09:02:34 CDT --- (In reply to comment #7)
Still a bug in current wine?
Still there in Wine 1.5.15
Alsa 1.0.26 on Fedora 17
https://bugs.winehq.org/show_bug.cgi?id=28333
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.7.35
Andrew was probably right in comment #2, the game is not fully compatible with modern OSes. Here's a recent Steam discussion thread where Windows users have the same problem with the game (crash/freeze in the options menu): http://steamcommunity.com/app/32730/discussions/0/620700960468348243/#c62070...
Therefore I'm marking this bug as INVALID.
https://bugs.winehq.org/show_bug.cgi?id=28333
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- closing