Bug 132973 - [MSE] Crash at WebCore::SourceBuffer::~SourceBuffer + 110
Summary: [MSE] Crash at WebCore::SourceBuffer::~SourceBuffer + 110
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-15 16:03 PDT by Jer Noble
Modified: 2014-05-16 12:45 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.44 KB, patch)
2014-05-15 16:15 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (3.44 KB, patch)
2014-05-15 16:15 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (15.04 KB, patch)
2014-05-15 22:03 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (16.01 KB, patch)
2014-05-16 09:47 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (16.63 KB, patch)
2014-05-16 10:29 PDT, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jer Noble 2014-05-15 16:03:41 PDT
[MSE] Crash at  WebCore::SourceBuffer::~SourceBuffer + 110
Comment 1 Jer Noble 2014-05-15 16:15:07 PDT
Created attachment 231539 [details]
Patch
Comment 2 Jer Noble 2014-05-15 16:15:45 PDT
Created attachment 231540 [details]
Patch
Comment 3 Jer Noble 2014-05-15 22:03:06 PDT
Created attachment 231557 [details]
Patch
Comment 4 Jer Noble 2014-05-16 09:47:52 PDT
Created attachment 231578 [details]
Patch
Comment 5 Jer Noble 2014-05-16 10:29:49 PDT
Created attachment 231579 [details]
Patch
Comment 6 Eric Carlson 2014-05-16 11:45:02 PDT
Comment on attachment 231579 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231579&action=review

> Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:529
> +        [parser appendStreamData:nsData.get()];

Nit: is there any reason to append the data if weakThis is already NULL?
Comment 7 Jer Noble 2014-05-16 12:15:25 PDT
Comment on attachment 231579 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231579&action=review

>> Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:529
>> +        [parser appendStreamData:nsData.get()];
> 
> Nit: is there any reason to append the data if weakThis is already NULL?

We can't call WeakPtr.get() off the main thread, due to the way WeakPtrs work.  So there's no way to check within this part of the call.
Comment 8 WebKit Commit Bot 2014-05-16 12:45:45 PDT
Comment on attachment 231579 [details]
Patch

Clearing flags on attachment: 231579

Committed r168974: <http://trac.webkit.org/changeset/168974>
Comment 9 WebKit Commit Bot 2014-05-16 12:45:50 PDT
All reviewed patches have been landed.  Closing bug.