[Bug 51103] New: d3d11:d3d11 crashes on Windows + NVidia

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 7 16:01:25 CDT 2021


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

            Bug ID: 51103
           Summary: d3d11:d3d11 crashes on Windows + NVidia
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

Created attachment 69968
  --> https://bugs.winehq.org/attachment.cgi?id=69968
Traces for the crash on cw-gtx560

d3d11:d3d11 crashes on the cw-gtx560 machine which has an NVidia graphics card.
The crash happens from Windows 8.1 to Windows 10 2009 so it seems to be related
to the graphics driver rather than to the Windows version.

https://test.winehq.org/data/patterns.html#d3d11:d3d11

The crash shows no backtrace but I added traces and found that the crash
happens on the final release in test_device_context_state():

    refcount = ID3D11Device1_Release(device);

Adding a trace on the previous line shows that the refcount before that call is
1. So it's not a case of a one-too-many release calls.

Without test_device_context_state() d3d11:d3d11 does not crash. According to a
bisect the commit causing this crash is:

commit ccffc06c6df30aa8b4ea487b868c419b9c7f5a9a
Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Feb 2 16:41:00 2021 +0100

    d3d11/tests: Add more tests for
ID3D11DeviceContext1_SwapDeviceContextState.

    Better checking multiple context swap side effects.

    Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
    Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

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