[Bug 49817] New: d3d9: Crashes on invalid opengl context with disabled csmt in IDirect3DDevice9Ex_CreateOffscreenPlainSurface

WineHQ Bugzilla wine-bugs at winehq.org
Fri Sep 11 15:49:31 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49817

            Bug ID: 49817
           Summary: d3d9: Crashes on invalid opengl context with disabled
                    csmt in IDirect3DDevice9Ex_CreateOffscreenPlainSurface
           Product: Wine
           Version: 5.17
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: piotr.caban at gmail.com
      Distribution: ---

Created attachment 68148
  --> https://bugs.winehq.org/attachment.cgi?id=68148
test that shows invalid error handling on invalid opengl context

The simplest way to reproduce the crash is (I was only testing it running
32-bit process):
 - disable csmt
 - run the test with WINEDEBUG=warn+heap (to guarantee the crash)

The test destroys window/hdc used by current gl context. After that it's not
possible to restore previous context in Direct3DCreate9Ex. It also leads to a
crash when deleting "destroyed" context in
IDirect3DDevice9Ex_CreateOffscreenPlainSurface.

-- 
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