Closed Bug 900708 Opened 11 years ago Closed 11 years ago

Media Recording - Assertion: still has data in Encoded Buffers when shutting down Firefox in the test case on bug 894341

Categories

(Core :: Audio/Video: Recording, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: jsmith, Assigned: rlin)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

STR

1. On a debug build, load https://bugzilla.mozilla.org/attachment.cgi?id=776321
2. Accept permissions
3. Close Firefox

Expected

We shutdown cleanly.

Actual

We get an assertion on shutdown:

[Parent 200984] ###!!! ASSERTION: still has data in EncodedBuffers!: 'mDataSize == 0', file c:\users\jsmith\documents\mozilla-central\content\media\EncodedBufferCache.h, line 35
Assignee: nobody → rlin
Attached patch patch v1Splinter Review
This cause by client isn't request data and destroy the mediaRecorder, so the EncodedBufferCache would queue some encoded data and the memory can be recycled while destroy this object.
Attachment #785665 - Flags: review?(roc)
Whiteboard: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/9d9025fe6c52
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Whiteboard: [qa-]
Component: Video/Audio → Video/Audio: Recording
No longer blocks: MediaRecording
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: