http://bugs.winehq.org/show_bug.cgi?id=17777
Summary: WinPolis hangs when sound is enabled Product: Wine Version: 1.1.17 Platform: PC URL: http://download.chip.eu/de/WinPolis-3.43_25640.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: kennybobs@o2.co.uk
Created an attachment (id=20003) --> (http://bugs.winehq.org/attachment.cgi?id=20003) Wine 1.1.17 +mci
WinPolis will hang part way through the game if sound is enabled, and has to be killed.
It can be played for a short while but both the music and sound effects need to be disabled from within the game to stop the game hanging.
Console fills with output with +mci debug channel enabled.
http://bugs.winehq.org/show_bug.cgi?id=17777
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=17777
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2009-05-23 15:30:53 --- Created an attachment (id=21270) --> (http://bugs.winehq.org/attachment.cgi?id=21270) Wine 1.1.22 backtrace
Winpolis caused an unhandled division by zero, trace attached. Unfortunately I can not recreate this error to obtain a better trace.
Backtrace: =>0 0x7e3e2fc6 ALSA_AddRingMessage+0x36() in winealsa (0x0032e754) 1 0x7e3f654c ALSA_wodMessage+0x87c() in winealsa (0x0032e804) 2 0x7ee01420 MMDRV_Message+0x250() in winmm (0x0032e874) 3 0x7ee10aba waveOutReset+0x6a() in winmm (0x0032e8a4) 4 0x7e2f633b WAVEMAP_wodMessage+0x7fb() in msacm32 (0x0032e984) 5 0x7ee01420 MMDRV_Message+0x250() in winmm (0x0032e9f4) 6 0x7ee10aba waveOutReset+0x6a() in winmm (0x0032ea24) 7 0x7ee0e069 in winmm (+0x2e069) (0x0032ea74) 8 0x7ee0e45f PlaySoundA+0x1f() in winmm (0x0032ea84)
http://bugs.winehq.org/show_bug.cgi?id=17777
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20003|0 |1 is obsolete| |
--- Comment #2 from Ken Sharp kennybobs@o2.co.uk 2009-05-23 15:32:36 --- Created an attachment (id=21271) --> (http://bugs.winehq.org/attachment.cgi?id=21271) Wine 1.1.22 +mci
The hang causes the console to fill with output with WINEDEBUG=+mci. Before the hang, there is a modest amount of output.
http://bugs.winehq.org/show_bug.cgi?id=17777
--- Comment #3 from Rein Klazes wijn@online.nl 2009-05-24 01:24:48 --- (In reply to comment #1)
Created an attachment (id=21270)
--> (http://bugs.winehq.org/attachment.cgi?id=21270) [details]
Wine 1.1.22 backtrace
Winpolis caused an unhandled division by zero, trace attached. Unfortunately I can not recreate this error to obtain a better trace.
Backtrace: =>0 0x7e3e2fc6 ALSA_AddRingMessage+0x36() in winealsa (0x0032e754) 1 0x7e3f654c ALSA_wodMessage+0x87c() in winealsa (0x0032e804)
Backtraces are much more useful if you have debug symbols installed.
http://bugs.winehq.org/show_bug.cgi?id=17777
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2009-05-24 07:05:14 --- I know that.
Unfortunately I can not recreate this error to obtain a better trace.
http://bugs.winehq.org/show_bug.cgi?id=17777
--- Comment #5 from Jörg Höhle hoehle@users.sourceforge.net 2009-10-13 03:17:52 --- Created an attachment (id=24069) --> (http://bugs.winehq.org/attachment.cgi?id=24069) winmm: MCI notification is controlled by keyword only.
Please try this patch with as many programs using MCI as possible. I always hope that one patch may fix all the issues with MCI, but alas, this is against experience. With the patch, WinPolis does not hang. OTOH, it only plays the music once. Should it loop and play continuously? What happens in MS-Windows?
http://bugs.winehq.org/show_bug.cgi?id=17777
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Ken Sharp kennybobs@o2.co.uk 2009-10-13 20:01:33 --- Hi Jörg, sorry I didn't get chance to reply to your email until now.
App still hangs in latest git. With your patch applied there is no hang. Music doesn't play for me under Wine or Windows so I'm not sure what to expect there, but with your patch this bug is fixed.
I'm afraid I'm not aware of any other MCI apps I can test the patch with.
http://bugs.winehq.org/show_bug.cgi?id=17777
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #7 from Jörg Höhle hoehle@users.sourceforge.net 2009-10-14 04:06:26 ---
Music doesn't play for me under Wine or Windows
On w95, I remember the need to go to some preferences menu to enable or toggle the sound synthesizer selection. On a default XP install, MIDI played OOTB. With Wine, if your soundcard does not support MIDI natively, you need a software synthesizer like Timidity or fluidsynth (I can't remember if I ever got fluidsynth to work with Wine) *and* soundfonts (e.g. freepats).
Sampling MIDI apps, I've come up with the following informal classification about MIDI trouble: a) app works perfectly with MIDI; b) MIDI works, but stutters heavily; c) app hangs, my patch helps, so it becomes a) or b); d) app uses MCI but is not helped; e) app does not use MCI, but winmm's midiOut functions directly. So it's not only MCI at fault.
http://bugs.winehq.org/show_bug.cgi?id=17777
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Ken Sharp kennybobs@o2.co.uk 2009-10-14 11:45:04 --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=d48d923df302274bf457a7ebe6...
http://bugs.winehq.org/show_bug.cgi?id=17777
--- Comment #9 from Jörg Höhle hoehle@users.sourceforge.net 2009-10-16 11:01:45 --- In my enumeration I forgot case d2) MIDI does not seem to work in Wine, but analysis reveals: - aplaymidi -p128:0 foo.mid produces no sound in Timidity (neither does Wine). OTOH, - timidity -Os foo.mid (direct invocation) works. No idea why some MIDI pieces do not make it through the sequencer.
http://bugs.winehq.org/show_bug.cgi?id=17777
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2009-10-23 13:18:57 --- Closing bugs fixed in 1.1.32.
http://bugs.winehq.org/show_bug.cgi?id=17777
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d48d923df302274bf457a7ebe61 | |aab3fd90dc4bb