Closed Bug 1403178 Opened 7 years ago Closed 7 years ago

Assertion failure: mParent || !NS_IsMainThread(), at /builds/worker/workspace/build/src/dom/performance/PerformanceEntry.cpp:32

Categories

(Core :: Networking, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- unaffected
firefox58 --- fixed

People

(Reporter: jkratzer, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file trigger.html
Testcase found while fuzzing mozilla-central rev e6b3498a39b9. This testcase was found to only reproduce on a headless linux64 system.
Flags: in-testsuite?
Attached file Minidump stack trace
Blocks: 1263722
Component: DOM → Networking
Flags: needinfo?(valentin.gosu)
I assume this happens because in headless mode GetParentObject will return null. Would changing the assertion be enough, or are there any other issues we should worry about?
Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu) → needinfo?(amarchesini)
Priority: -- → P1
We should remove the same assertion in PerformanceMark, PerformanceMeasure and, in general, make mParent private and not protected. mParent is not used for anything else than GetParentObject().
Flags: needinfo?(amarchesini)
Comment on attachment 8913062 [details] Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode https://reviewboard.mozilla.org/r/184466/#review189618
Attachment #8913062 - Flags: review?(amarchesini) → review+
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/77229cfe153a Remove mParent assertion from Performance* as it's triggered in headless mode r=baku
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: