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@winehq.org Reporter: piotr.caban@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.
https://bugs.winehq.org/show_bug.cgi?id=49817
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase CC| |fgouget@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=49817
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- I think this one should be fixed now, can you retest?