Closed
Bug 1221855
Opened 10 years ago
Closed 10 years ago
Crash [@ mozilla::dom::ScriptProcessorNodeEngine::SizeOfExcludingThis const ]
Categories
(Core :: Web Audio, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: jruderman, Assigned: karlt)
References
Details
(Keywords: crash, regression, testcase)
Crash Data
Attachments
(6 files, 1 obsolete file)
141 bytes,
text/html
|
Details | |
4.77 KB,
text/plain
|
Details | |
12.03 KB,
text/plain
|
Details | |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
|
Details |
40 bytes,
text/x-review-board-request
|
erahm
:
review+
|
Details |
2.43 KB,
patch
|
Details | Diff | Splinter Review |
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
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
This non-fatal assertion shows up before the crash, but might be unrelated?
Assignee | ||
Comment 3•10 years ago
|
||
Thanks. Yes, looks like a regression from
https://hg.mozilla.org/mozilla-central/rev/c143ace1a0c7
Assignee: nobody → karlt
status-firefox43:
--- → affected
status-firefox44:
--- → affected
Keywords: regression
Priority: -- → P1
Version: Trunk → 43 Branch
Assignee | ||
Comment 4•10 years ago
|
||
(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.
Updated•10 years ago
|
Rank: 10
Reporter | ||
Comment 5•10 years ago
|
||
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".
Assignee | ||
Comment 6•10 years ago
|
||
bug 1221855 null-check mInputBuffer in SizeOfExcludingThis() r?padenot
Attachment #8684024 -
Flags: review?(padenot)
Assignee | ||
Comment 7•10 years ago
|
||
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 8•10 years ago
|
||
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 9•10 years ago
|
||
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+
Comment 10•10 years ago
|
||
Assignee | ||
Comment 11•10 years ago
|
||
(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.
Comment 12•10 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b346a16f9d06
https://hg.mozilla.org/mozilla-central/rev/4d2ceb469ea6
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Assignee | ||
Comment 13•10 years ago
|
||
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?
Comment 14•10 years ago
|
||
Tracking since this is a recent regression.
status-firefox42:
--- → unaffected
tracking-firefox43:
--- → +
tracking-firefox44:
--- → +
tracking-firefox45:
--- → +
Comment 15•10 years ago
|
||
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+
Comment 16•10 years ago
|
||
bugherder uplift |
Comment 17•10 years ago
|
||
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)
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n beta]
Comment 19•10 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/00e7eb06006a
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/f7c63d36e163
status-b2g-v2.5:
--- → fixed
Keywords: checkin-needed
Comment 20•10 years ago
|
||
Backed out on beta in https://hg.mozilla.org/releases/mozilla-beta/rev/e4629e309487 because the test was failing:
https://treeherder.mozilla.org/logviewer.html#?job_id=637866&repo=mozilla-beta
Flags: needinfo?(karlt)
And the first patch backed out too: https://hg.mozilla.org/releases/mozilla-beta/rev/51f0f13e7985
Assignee | ||
Comment 23•10 years ago
|
||
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)
Assignee | ||
Comment 24•10 years ago
|
||
Adjusted for bug 1224022 and bug 1194555.
Attachment #8686360 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Flags: in-testsuite+
Keywords: checkin-needed
Comment 25•10 years ago
|
||
Comment 26•10 years ago
|
||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Whiteboard: [c-n beta]
You need to log in
before you can comment on or make changes to this bug.
Description
•