https://bugs.winehq.org/show_bug.cgi?id=41998
Bug ID: 41998 Summary: Regression in wined3d crashes visual novel "A drug that makes you dream" Product: Wine Version: 1.9.24 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de CC: hverbeet@gmail.com Regression SHA1: 4a9304305ae2940288e9382926a6931dd46982d5 Distribution: ArchLinux
Created attachment 56422 --> https://bugs.winehq.org/attachment.cgi?id=56422 Crashlog
Commit in question: 4a9304305ae2940288e9382926a6931dd46982d5 Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Mar 29 16:45:33 2016 +0200
wined3d: Simplify checking if the released resource is in use as a rendertarget in device_resource_released().
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Patch doesn't revert cleanly, so I couldn't test reversing the commit.
The last lines before the crash seem interesting. Wine seems to still use the device, later crashes in "device_resource_released" at "device->fb.render_targets[i]", because "render_targets" is NULL. Also, "device->ref" is 44003456, what can't be.