http://bugs.winehq.org/show_bug.cgi?id=49393 Andrew Nguyen <arethusa26@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Nguyen <arethusa26@gmail.com> --- Testing with a copy of the game from https://archive.org/details/GAG_The_Impotent_Mystery_Russia, I can confirm it crashes on startup with wine-11.3. The game calls waveOutOpen with a NULL lpFormat: 0120:trace:winmm:waveOutOpen (004A0D30, 4294967295, 00000000, 4035c0, 0, 00030000) This results in a crash in the internal Wine function WINMM_OpenDevice because it assumes that lpFormat is never NULL. Testing on Windows indicates that calling waveOutOpen with a NULL lpFormat should only result in the error return value MMSYSERR_INVALPARAM instead of provoking a crash. If I patch Wine to avoid the crash, then the game is able to start successfully. Looking at the winmm traces for waveOutOpen with the change: 0120:trace:winmm:waveOutOpen (004A0D30, 4294967295, 00000000, 4035c0, 0, 00030000) 0130:trace:winmm:waveOutOpen (004A0D30, 4294967295, 00C26680, 4035c0, 0, 00030000) Thread 0120 that calls waveOutOpen improperly does not appear to do anything else with winmm besides call timeGetTime, so I suspect there's an application bug that is ultimately harmless on Windows. Thread 0130 successfully calls waveOutOpen as expected. I also see the same crash when exiting the game CD launcher, and when it is run on Windows, no audio is played on exit, so possibly the application bug is in code that is shared between the launcher and game. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.