Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-9168

Popcap games fail to start due to hang when invalid handles are passed to WaitForMultipleObjects in wdmaud.drv

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Sound
    • VirtualBox 4.3.20 with guest additions + ac97 driver

    Description

      When some popcap games e.g plants vs zombies or zuma's revenge are launched and audio is available, they hang and logs are spammed with

      (../../ntoskrnl/ob/obwait.c:168) Invalid handle passed to NtWaitForMultipleObjects

      The handles passed to WaitForMultipleObjects in wdmaud.drv/legacy.c MixerEventThreadRoutine are valid the first time they are checked but fail during subsequent calls.

      Breaking the loop if WaitForMultipleObjects returns an error status fixes the problem but probably breaks somthing else.

      Attachments

        1. legacy.c.patch
          0.4 kB
          kd-11
        2. putty-reactos.log
          168 kB
          kd-11

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              karokidii kd-11
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: