Closed
Bug 1027573
Opened 9 years ago
Closed 9 years ago
Crash when measuring memory in about:memory while using Web Audio
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: padenot, Assigned: erahm)
Details
Crash Data
Attachments
(1 file)
2.86 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
STR: - Open http://jsfiddle.net/dXjK5/ - Click the "Play" icon so that the demo runs - Open another tab, and type in "about:memory" - Click the "Measure" button I see a crash half the time (I tried a couple times), so this seem to be intermittent. The above demo creates a lot of nodes, which may show the issue. Soccoro report: https://crash-stats.mozilla.com/report/index/a6bb74e5-cc2f-488b-a060-0b2b82140619#details. This seem to be a simple nullptr deref in SizeOf* code.
Assignee | ||
Comment 1•9 years ago
|
||
This patch adds a check for a valid AudioNode before dereferencing it. It also adds support for reporting web audio memory usage even if we don't know the node type.
Attachment #8443161 -
Flags: review?(roc)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → erahm
Status: NEW → ASSIGNED
Attachment #8443161 -
Flags: review?(roc) → review+
Assignee | ||
Comment 2•9 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=754a9c0c6332
Assignee | ||
Comment 3•9 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/6020ff9edd30
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6020ff9edd30
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
![]() |
||
Comment 5•9 years ago
|
||
How hard would it be to modify toolkit/components/aboutmemory/tests/test_memoryReporters.xul to test for this change?
You need to log in
before you can comment on or make changes to this bug.
Description
•