[Webkit-unassigned] [Bug 155716] New: [WinCairo][MediaFoundation] Crash when media player is destroyed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 21 07:06:23 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=155716

            Bug ID: 155716
           Summary: [WinCairo][MediaFoundation] Crash when media player is
                    destroyed.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: peavo at outlook.com

Sometimes I get a crash in the MediaPlayerPrivateMediaFoundation destructor when trying to release the custom video presenter member, which already has been released. This is because we have forgotten to call AddRef in the ActivateObject method. According to the documentation in https://msdn.microsoft.com/en-us/library/windows/desktop/ms694292(v=vs.85).aspx, the caller is responsible for releasing the returned object, which means we have to call AddRef.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160321/a9e6ef3f/attachment.html>


More information about the webkit-unassigned mailing list