[Bug 51999] Dragon Age Inquisition crashes with vulkan renderer

WineHQ Bugzilla wine-bugs at winehq.org
Mon Nov 8 02:54:35 CST 2021


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

--- Comment #4 from Henri Verbeet <hverbeet at gmail.com> ---
(In reply to Zebediah Figura from comment #3)
> I don't think we need to protect the swapchain desc with a mutex, do we?
> I'll prepare a patch.

It doesn't necessarily need to be wined3d_mutex_lock()/wined3d_mutex_unlock(),
but the assignment to "*desc" in wined3d_swapchain_get_desc() is not atomic.

In this particular case, wined3d_swapchain_state_set_fullscreen() potentially
modifies the "output" and "windowed" fields.

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