[Bug 23756] In-game MIDI music does not play in Melker - The Elk Hunt (a.k.a. Moose on the Loose)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 15 03:26:08 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=23756

Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hoehle at users.sourceforge.ne
                   |                            |t

--- Comment #7 from Jörg Höhle <hoehle at users.sourceforge.net> 2010-11-15 03:26:06 CST ---
It's unclear why this apps print the MCI error text corresponding to
MCIERR_UNSUPPORTED_FUNCTION.  It does not use the MCI at all!

It uses winmm:midiStreamOut() to play the music instead.  A hint to the
possible fault appears only when waiting for music to start in demo
mode, instead of going to the high scores:
fixme:winmm:MMSYSTEM_MidiStream_MessageHandler Dropping bad stream lpMidiHdr
(streamID=30315f79) [that's "01_y"]

There may also be some buffer overflow involved. A log with warn+heap gave:
warn:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic
00555555 for 0x135f700
This address is near one used for MIDI:
trace:winmm:midiOutPrepareHeader (0x8000, 0x135f708, 64)
fixme:winmm:MMSYSTEM_MidiStream_MessageHandler Dropping bad stream lpMidiHdr
(streamID=55555555)
55555555 looks like the bad "arena magic" above.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.


More information about the wine-bugs mailing list