Bug 142578 - [WinCairo] Crash when leaving page while video is playing.
Summary: [WinCairo] Crash when leaving page while video is playing.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 06:16 PDT by peavo
Modified: 2015-03-26 03:07 PDT (History)
5 users (show)

See Also:


Attachments
Patch (6.45 KB, patch)
2015-03-11 06:26 PDT, peavo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2015-03-11 06:16:40 PDT
I'm sometimes getting a crash when leaving a page, while a video is playing. This can happen when there is an asynchronous event invoked from a worker thread, accessing the media player object after it has been deleted.
Comment 1 peavo 2015-03-11 06:26:12 PDT
Created attachment 248417 [details]
Patch
Comment 2 peavo 2015-03-20 10:15:13 PDT
Thanks for reviewing :)
Comment 3 WebKit Commit Bot 2015-03-20 10:54:10 PDT
Comment on attachment 248417 [details]
Patch

Clearing flags on attachment: 248417

Committed r181805: <http://trac.webkit.org/changeset/181805>
Comment 4 WebKit Commit Bot 2015-03-20 10:54:14 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Mathieu Lafon 2015-03-26 03:07:59 PDT
I don't know if it is related but I have created bug 143088 for a crash when page is left/closed while video is loading (not yet playing).