Closed Bug 1189168 Opened 9 years ago Closed 9 years ago

"Assertion failure: NS_IsMainThread()" with WebAudio memory reporter

Categories

(Core :: Web Audio, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: jruderman, Assigned: karlt)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase
1. Load the testcase
2. Open about:memory in a new tab
3. Click "Measure"

Assertion failure: NS_IsMainThread(), at AudioNodeEngine.h:348
Karl, that's from you recent cleanup there, right ?
Flags: needinfo?(karlt)
(In reply to Paul Adenot (:padenot) from comment #2)
> Karl, that's from you recent cleanup there, right ?

Yes, thanks.  The assertion was added in
https://hg.mozilla.org/mozilla-central/rev/c7ddd289198c#l3.32

Thanks Jesse, for the stacks.
Assignee: nobody → karlt
Flags: needinfo?(karlt)
Blocks: 914392
because the main thread is blocked during the call.

These nodes are not owned by the engine, and should really be counted on the
main thread, but this is the quick solution without redesigning memory
measurement.
Attachment #8641442 - Flags: review?(padenot)
Attachment #8641442 - Flags: review?(padenot) → review+
https://hg.mozilla.org/mozilla-central/rev/2c18076d3576
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: