[Bug 48732] How to Survive crashes on start (fullscreen mode)

WineHQ Bugzilla wine-bugs at winehq.org
Wed Mar 11 08:23:26 CDT 2020


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

--- Comment #4 from Gabriel Ivăncescu <gabrielopcode at gmail.com> ---
Created attachment 66627
  --> https://bugs.winehq.org/attachment.cgi?id=66627
Test workaround

Does this patch help? It should avoid the call if the window has no owner to
begin with.

The issue is that this shouldn't be needed, as there's nothing in the call, so
I don't know if it's suitable for upstream, but that's up to Zeb. Personally
I'm fine with it, if it helps.

I don't know if it's a game bug that can't handle a redundant call to SetParent
for example, or if there's a deeper issue with Wine.

The refcount issue I mentioned earlier seems harmless. For some reason, it is
caused by:

    if (filter->presenter)
        IVMRImagePresenter9_Release(filter->presenter);

in quartz/vmr9.c vmr_destroy function, which decreases the refcount after it
was already zero. However, this doesn't really seem to do anything, since on
the filter side, it checks if (!refcount) and otherwise does nothing, so it
seems harmless and likely not the culprit.

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