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

Regression: [Win32SS, OpenGL32] Unreal Tournament fails with Memory Access Violation at nt!IoBuildDeviceIoControlRequest+2d during its OpenGL render driver initialization, when VMware ICD Driver is installed and application tries to go Fullscreen Mode.

    XMLWordPrintable

Details

    Description

      Testing 0.4.14-dev-178-g90c5cac
      Test done with a MSVC Build, MSVC_19.0.24213.1.
      Test done in Win10 1803/VMware Workstation 12.
      Test done using Vmware's SVGA driver from VMware Tools v12.0.1

      This problem occurs after PR merge (contains 2 commits!)
      https://github.com/reactos/reactos/pull/87

      The problem is:

      Access violation - code c0000005 (!!! second chance !!!)

      nt!IoBuildDeviceIoControlRequest+2d [x:\src\master\reactos\ntoskrnl\io\iomgr\irp.c @ 896]
      8046ce6d 0fb64830 movzx ecx,byte ptr [eax+30h]

      The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

      • This problem occurs when UnrealTournament game application initializes its OpenGL rendering engine, and the engine tries to go Full Screen Mode
      • If we are in debug mode and use the 'g' command to continue, ReactOS doesn't crash/BSoD after this error, but desktop freezes with only mouse cursor being alive
      • With no way to invoke a reboot with the mouse or keyboard, a forced reboot is required to recover the system

      Reverting ONLY

      https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3e1a54151fdb2f513d5e1d4a374c2c973132493a

      from the culprit PR makes the game usable again with the VM 3D OpenGL acceleration enabled, while it ACTUALLY FIXES one of the asserts specified in CORE-7727, related to the PR.

      DON'T REVERT THE WHOLE PR!

      DebugLogs describing the situation before and after the reversion are included, along one picture of the game working after the reversion

      Attachments

        1. CORE-16465_revert.patch
          7 kB
          reactosfanboy
        2. CORE-16465.diff
          0.4 kB
          jgardou
        3. cursoricon.patch
          1 kB
          jimtabor
        4. Halo_CE_1.png
          64 kB
          simonelombardo
        5. Halo_CE_2.png
          62 kB
          simonelombardo
        6. print.c
          17 kB
          r3mendozal
        7. print.patch
          24 kB
          jimtabor
        8. print.patch
          24 kB
          jimtabor
        9. print.patch
          24 kB
          jimtabor
        10. print.patch
          24 kB
          jimtabor
        11. print.patch
          24 kB
          jimtabor
        12. print.patch
          24 kB
          jimtabor
        13. print.patch
          23 kB
          jimtabor
        14. print.patch
          23 kB
          jimtabor
        15. print.patch
          23 kB
          jimtabor
        16. print.patch
          23 kB
          jimtabor
        17. print.patch
          23 kB
          jimtabor
        18. print.patch
          23 kB
          jimtabor
        19. print.patch
          22 kB
          jimtabor
        20. ReactOS_with_print_patch_20201006.7z
          85 kB
          simonelombardo
        21. ReactOS.log
          100 kB
          simonelombardo
        22. ROSDebugVM20210917105931.log
          134 kB
          r3mendozal
        23. RosVMwareScreenGrab-20191029145625.png
          198 kB
          r3mendozal
        24. RosVMwareScreenGrab-20191029215812.png
          9 kB
          r3mendozal
        25. RosVMwareScreenGrab-20191031140550.png
          166 kB
          r3mendozal
        26. RosVMwareScreenGrab-20191101133144.png
          8 kB
          r3mendozal
        27. RosVMwareScreenGrab-20191102142225.png
          255 kB
          r3mendozal
        28. RosWindbg-20210625050818.log
          59 kB
          r3mendozal
        29. RosWindbg-20210625052739.log
          64 kB
          r3mendozal
        30. RosWindbg-PrintPatchTestin10.log
          85 kB
          r3mendozal
        31. RosWindbg-PrintPatchTestin11.log
          58 kB
          r3mendozal
        32. RosWindbg-PrintPatchTestin12.log
          56 kB
          r3mendozal
        33. RosWindbg-PrintPatchTestin13.log
          56 kB
          r3mendozal
        34. RosWindbg-PrintPatchTestin14.log
          56 kB
          r3mendozal
        35. RosWindbg-PrintPatchTesting.log
          10 kB
          r3mendozal
        36. RosWindbg-PrintPatchTesting2.log
          10 kB
          r3mendozal
        37. RosWindbg-PrintPatchTesting3.log
          10 kB
          r3mendozal
        38. RosWindbg-PrintPatchTesting4.log
          50 kB
          r3mendozal
        39. RosWindbg-PrintPatchTesting5.log
          54 kB
          r3mendozal
        40. RosWindbg-PrintPatchTesting6.log
          54 kB
          r3mendozal
        41. RosWindbg-PrintPatchTesting7.log
          56 kB
          r3mendozal
        42. RosWindbg-PrintPatchTesting7.log
          54 kB
          r3mendozal
        43. RosWindbg-PrintPatchTesting9.log
          52 kB
          r3mendozal
        44. RosWinDbg-RegressionTesting-AfterRevert.log
          14 kB
          r3mendozal
        45. RosWinDbg-RegressionTesting-AfterRevertDetailed.log
          220 kB
          r3mendozal
        46. RosWinDbg-RegressionTesting-BeforeRevert.log
          9 kB
          r3mendozal
        47. win32ss_ref_device_object.diff
          0.6 kB
          jgardou

        Issue Links

          Activity

            People

              zefklop jgardou
              r3mendozal r3mendozal
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: