http://bugs.winehq.org/show_bug.cgi?id=33032
Bug #: 33032 Summary: Add a test VM with no sound card Product: Wine-Testbot Version: unspecified Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fgouget@codeweavers.com Classification: Unclassified
There are tests that fail when there is no sound card. These should detect that condition and skip instead.
Here is a list for future reference:
dmloader:loader loader.c:76: Test failed: InitAudio failed: 88780078 loader.c:77: Test failed: Didn't get IDirectMusic pointer loader.c:78: Test failed: Didn't get IDirectSound pointer loader.c:82: Test failed: CreateStandardAudioPath failed: 88781226 loader.c:83: Test failed: Didn't get IDirectMusicAudioPath pointer loader.c:103: Test failed: Download failed: 80004003 loader.c:110: Test failed: PlaySegmentEx failed: 88781170 loader.c:111: Test failed: Didn't get IDirectMusicSegmentState pointer loader.c:114: this is the last test seen before the exception loader: unhandled exception c0000005 at 0040180F
winmm:capture capture.c:647: found 0 WaveIn devices capture.c:651: Test failed: waveInMessage(DRVM_MAPPER_PREFERRED_GET) failed: 2
winmm:wave wave.c:1408: found 0 WaveOut devices wave.c:1412: Test failed: waveOutMessage(DRVM_MAPPER_PREFERRED_GET) failed: 2
http://bugs.winehq.org/show_bug.cgi?id=33032
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com 2013-03-04 10:20:34 CST --- Created attachment 43800 --> http://bugs.winehq.org/attachment.cgi?id=43800 winmm/tests: Add another valid return code
Here's a patch to mark that return code as valid. What Windows version gives this return code?
http://bugs.winehq.org/show_bug.cgi?id=33032
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=33032
--- Comment #2 from François Gouget fgouget@codeweavers.com 2013-03-04 11:36:32 CST --- I originally noticed the problem with Windows XP SP2 on the new WineTestBot (QEmu).
However I get the same failures if I remove the sound card on VMware with Windows XP SP3 and even with Windows 7 SP1. I can also confirm that your patch gets rid of the winmm failures in both cases.
http://bugs.winehq.org/show_bug.cgi?id=33032
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2013-03-04 11:42:13 CST --- I wonder why I decided to implement it the way I did.
The DRVM_MAPPER_PREFERRED_GET docs say that (rc == MMSYSERR_NOERROR && preferred == -1) is for when "no device is available that qualifies as a preferred device." http://msdn.microsoft.com/en-us/library/aa909815.aspx
This is how Wine behaves when there are no devices at all. Windows seems to return these other error codes.
Anyway, Wine's current behavior seems fine for real applications, so I don't plan to change it. I'll send that patch off with a reference to this bug.
http://bugs.winehq.org/show_bug.cgi?id=33032
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |fgouget@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=33032
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from François Gouget fgouget@codeweavers.com 2013-04-12 11:45:50 CDT --- I could not get any sound card working in the new TestBot's Windows Server 2008 VM. See the sound card compatibility table in the Wiki:
http://wiki.winehq.org/WineTestBotVMs#head-79dfe4994a6c0cd4f27cbd0d524f5230f...
So it's now the official 'no sound card' test configuration (lemon -> lemonade).
There are still some test that fail as a result of this but that's of not a WineTestBot issue.
* Bug 33371 - dsound:dsound8 fails and crashes on systems with no sound card http://bugs.winehq.org/show_bug.cgi?id=33371
* Bug 33372 - winmm:midi fails on systems with no sound card http://bugs.winehq.org/show_bug.cgi?id=33372
http://bugs.winehq.org/show_bug.cgi?id=33032
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #5 from André H. nerv@dawncrow.de 2013-04-13 16:34:19 CDT --- closing