Closed
Bug 1310162
Opened 9 years ago
Closed 9 years ago
Crash in mozilla::dom::CompareSimpleTextTrackEvents::TrackChildPosition
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox49 | --- | unaffected |
firefox50 | --- | wontfix |
firefox51 | --- | fixed |
firefox52 | --- | fixed |
firefox53 | --- | fixed |
People
(Reporter: philipp, Assigned: bechen)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
jwwang
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
|
Details |
This bug was filed from the Socorro interface and is
report bp-af5e0205-eb21-4f33-a2b5-bfd4b2161014.
=============================================================
Crashing Thread (0)
Frame Module Signature Source
0 xul.dll mozilla::dom::CompareSimpleTextTrackEvents::TrackChildPosition(mozilla::dom::SimpleTextTrackEvent*) dom/html/TextTrackManager.cpp:467
1 xul.dll mozilla::dom::CompareSimpleTextTrackEvents::LessThan(mozilla::dom::SimpleTextTrackEvent*, mozilla::dom::SimpleTextTrackEvent*) dom/html/TextTrackManager.cpp:494
2 xul.dll mozilla::BinarySearchIf<nsTArray_Impl<RefPtr<mozilla::dom::SimpleTextTrackEvent>, nsTArrayInfallibleAllocator>, detail::ItemComparatorFirstElementGT<mozilla::dom::SimpleTextTrackEvent*&, mozilla::dom::CompareSimpleTextTrackEvents> >(nsTArray_Impl<RefPtr<mozilla::dom::SimpleTextTrackEvent>, nsTArrayInfallibleAllocator> const&, unsigned int, unsigned int, detail::ItemComparatorFirstElementGT<mozilla::dom::SimpleTextTrackEvent*&, mozilla::dom::CompareSimpleTextTrackEvents> const&, unsigned int*) obj-firefox/dist/include/mozilla/BinarySearch.h:80
3 xul.dll nsTArray_Impl<RefPtr<mozilla::dom::SimpleTextTrackEvent>, nsTArrayInfallibleAllocator>::InsertElementSorted<mozilla::dom::SimpleTextTrackEvent*&, mozilla::dom::CompareSimpleTextTrackEvents, nsTArrayInfallibleAllocator>(mozilla::dom::SimpleTextTrackEvent*&, mozilla::dom::CompareSimpleTextTrackEvents const&) obj-firefox/dist/include/nsTArray.h:1444
4 xul.dll mozilla::dom::HTMLMediaElement::FireTimeUpdate(bool) dom/html/HTMLMediaElement.cpp:5178
this is a new crash signature that started to pop up in firefox 50 pre-release builds and subsequent versions and is happening in the codepath added with bug 882718.
so far it's happening on various versions of windows with a rather low volume (0.07% of browser crashes in 50.0b6).
Flags: needinfo?(bechen)
Comment 2•9 years ago
|
||
Thanks, Benjamin.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Reporter | ||
Comment 3•9 years ago
|
||
hi, crashes with the [@ mozilla::dom::CompareSimpleTextTrackEvents::TrackChildPosition] signature seem to continue in 50 and later even after the fix for bug 1304948 has landed.
do we need to reopen this bug or should a new one be filed for it?
Flags: needinfo?(bechen)
Assignee | ||
Comment 4•9 years ago
|
||
Please reopen it if the signature is the same, thanks.
Flags: needinfo?(bechen)
Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 5•9 years ago
|
||
Now we can make sure the crash happened when creating |SimpleTextTrackEvent|, the mTrack is null.
https://dxr.mozilla.org/mozilla-central/source/dom/html/TextTrackManager.cpp?q=texttrackmanager.cpp&redirect_type=direct#731
But I don’t figure out the scenario or code sequence yet.
Assignee: nobody → bechen
Updated•9 years ago
|
Priority: -- → P1
Assignee | ||
Comment 6•9 years ago
|
||
Here is a crash scenario I presume:
At the end of playback, if the script remove a Cue from a TextTrack, the Cue will be removed immediately from TextTrack and MediaElement, but still alive because the |mLastActiveCues| holds its reference for exit event. Then seek happened, TimeMarchesOn will fire exit event at the Cue which already removed from TextTrack.
Comment hidden (mozreview-request) |
Reporter | ||
Updated•9 years ago
|
Assignee | ||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
mozreview-review |
Comment on attachment 8822123 [details]
Bug 1310162 - mTrack in SimpleTextTrackEvent might be null.
https://reviewboard.mozilla.org/r/101128/#review101802
Attachment #8822123 -
Flags: review?(jwwang) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•9 years ago
|
||
Pushed by ihsiao@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9060d5b0d39a
mTrack in SimpleTextTrackEvent might be null. r=jwwang
Keywords: checkin-needed
Comment 11•9 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 12•9 years ago
|
||
Benjamin, could you consider an uplift to aurora & beta? This caused more than 10 000 crashes on release.
Flags: needinfo?(bechen)
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8822123 [details]
Bug 1310162 - mTrack in SimpleTextTrackEvent might be null.
This patch should be able to clean apply to aurora and beta.
Approval Request Comment
[Feature/Bug causing the regression]: 882718
[User impact if declined]: video with subtitle might crash at the end of playback.
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: no, do not have reproduce step.
[Needs manual test from QE? If yes, steps to reproduce]: no, do not have reproduce step.
[List of other uplifts needed for the feature/fix]: no
[Is the change risky?]: very safe
[Why is the change risky/not risky?]: Simple fix, null checking.
[String changes made/needed]: none
Approval Request Comment
[Feature/Bug causing the regression]: 882718
[User impact if declined]: video with subtitle might crash at the end of playback.
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: no, do not have reproduce step.
[Needs manual test from QE? If yes, steps to reproduce]: no, do not have reproduce step.
[List of other uplifts needed for the feature/fix]: no
[Is the change risky?]: very safe
[Why is the change risky/not risky?]: Simple fix, null checking.
[String changes made/needed]: none
Flags: needinfo?(bechen)
Attachment #8822123 -
Flags: approval-mozilla-beta?
Attachment #8822123 -
Flags: approval-mozilla-aurora?
Comment 14•9 years ago
|
||
Comment on attachment 8822123 [details]
Bug 1310162 - mTrack in SimpleTextTrackEvent might be null.
Fix for high volume crash, let's uplift to aurora and beta.
Attachment #8822123 -
Flags: approval-mozilla-beta?
Attachment #8822123 -
Flags: approval-mozilla-beta+
Attachment #8822123 -
Flags: approval-mozilla-aurora?
Attachment #8822123 -
Flags: approval-mozilla-aurora+
Comment 15•9 years ago
|
||
bugherder uplift |
Comment 16•9 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•