Closed Bug 1221855 Opened 10 years ago Closed 10 years ago

Crash [@ mozilla::dom::ScriptProcessorNodeEngine::SizeOfExcludingThis const ]

Categories

(Core :: Web Audio, defect, P1)

43 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox42 --- unaffected
firefox43 + fixed
firefox44 + fixed
firefox45 + fixed
b2g-v2.5 --- fixed

People

(Reporter: jruderman, Assigned: karlt)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(6 files, 1 obsolete file)

1. Load the testcase. 2. Open about:memory in a new tab. 3. Click "Measure". Result: Crash [@ mozilla::dom::ScriptProcessorNodeEngine::SizeOfExcludingThis const ] bp-c45d4f8a-94df-44bc-816e-e062e2151105
This non-fatal assertion shows up before the crash, but might be unrelated?
Thanks. Yes, looks like a regression from https://hg.mozilla.org/mozilla-central/rev/c143ace1a0c7
Assignee: nobody → karlt
Keywords: regression
Priority: -- → P1
Version: Trunk → 43 Branch
(In reply to Jesse Ruderman from comment #2) > This non-fatal assertion shows up before the crash, but might be unrelated? Yes, I don't think that is related to ScriptProcessor.
Rank: 10
Okay, I split the "QI needed" assertion out into bug 1222202. If you fix this first, you can annotate the test with "asserts ... # Bug 1222202".
bug 1221855 null-check mInputBuffer in SizeOfExcludingThis() r?padenot
Attachment #8684024 - Flags: review?(padenot)
bug 1221855 test Web Audio memory reporting r?erahm https://ci.mozilla.org/job/mozilla-central-docs/Tree_Documentation/build/buildsystem/test_manifests.html doesn't offer any asserts-if syntax and fails-if expects failure from explicit tests, but doesn't expect assertion failures.
Attachment #8684025 - Flags: review?(erahm)
Comment on attachment 8684024 [details] MozReview Request: bug 1221855 null-check mInputBuffer in SizeOfExcludingThis() r?padenot https://reviewboard.mozilla.org/r/24477/#review22005
Attachment #8684024 - Flags: review?(padenot) → review+
Comment on attachment 8684025 [details] MozReview Request: bug 1221855 test Web Audio memory reporting r?erahm https://reviewboard.mozilla.org/r/24479/#review22085 Looks good, thanks for taking the time to do this! We might want to make note in bug 1086262 that work on adding a web audio memory reporter test has started here. ::: dom/media/webaudio/test/mochitest.ini:183 (Diff revision 1) > +skip-if = debug # assertion failures: bug 1222202 Can you add a note to bug 1222202 to reenable this once it's fixed?
Attachment #8684025 - Flags: review?(erahm) → review+
(In reply to Eric Rahm [:erahm] from comment #9) > We might want to make > note in bug 1086262 that work on adding a web audio memory reporter test has > started here. > Can you add a note to bug 1222202 to reenable this once it's fixed? Done, thanks.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment on attachment 8684024 [details] MozReview Request: bug 1221855 null-check mInputBuffer in SizeOfExcludingThis() r?padenot Approval Request Comment [Feature/regressing bug #]: bug 1199559 [User impact if declined]: potential null-deref crash when running about:memory while ScriptProcessorNode is in use. [Describe test coverage new/current, TreeHerder]: new test. [Risks and why]: very low. simple null check. [String/UUID change made/needed]: none.
Attachment #8684024 - Flags: approval-mozilla-beta?
Attachment #8684024 - Flags: approval-mozilla-aurora?
Tracking since this is a recent regression.
Comment on attachment 8684024 [details] MozReview Request: bug 1221855 null-check mInputBuffer in SizeOfExcludingThis() r?padenot Crash fix, adds a test, OK to uplift to aurora and beta.
Attachment #8684024 - Flags: approval-mozilla-beta?
Attachment #8684024 - Flags: approval-mozilla-beta+
Attachment #8684024 - Flags: approval-mozilla-aurora?
Attachment #8684024 - Flags: approval-mozilla-aurora+
The test in this commit does not apply to beta cleanly grafting 314088:f7c63d36e163 "Bug 1221855 - test Web Audio memory reporting. r=erahm, a=lizzard" merging dom/media/webaudio/test/mochitest.ini warning: conflicts during merge. merging dom/media/webaudio/test/mochitest.ini incomplete! (edit conflicts, then use 'hg resolve --mark') abort: unresolved conflicts, can't continue could you take a look, thanks!
Flags: needinfo?(karlt)
Rebased 4d2ceb469ea6 to 43.
Flags: needinfo?(karlt)
Keywords: checkin-needed
Whiteboard: [c-n beta]
The test fails on 43 because bug 1194555 was not fixed until 44. It is still worthwhile having the null-check patch on 43.
Flags: needinfo?(karlt)
Adjusted for bug 1224022 and bug 1194555.
Attachment #8686360 - Attachment is obsolete: true
Flags: in-testsuite+
Keywords: checkin-needed
Keywords: assertion
Whiteboard: [c-n beta]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: