Closed Bug 880129 Opened 11 years ago Closed 11 years ago

WebAudio Assertion failure: mWriteIndex <= bufferSize [@mozilla::dom::AnalyserNode::AppendChunk]

Categories

(Core :: Web Audio, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: posidron, Assigned: ehsan.akhgari)

References

Details

(Keywords: assertion, crash, testcase)

Attachments

(3 files, 1 obsolete file)

Attached file testcase (obsolete) (deleted) —
No description provided.
Attached file callstack (deleted) —
Attached file testcase (deleted) —
reduced testcase
Attachment #758991 - Attachment is obsolete: true
Attached patch Patch (v1) (deleted) — Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #759595 - Flags: review?(roc)
Comment on attachment 759595 [details] [diff] [review] Patch (v1) Review of attachment 759595 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/webaudio/AnalyserNode.cpp @@ +281,5 @@ > + // Copy a maximum bufferSize samples. > + chunkCount = bufferSize; > + } > + > + PodCopy(mBuffer.Elements() + mWriteIndex, static_cast<const float*>(aChunk.mChannelData[0]), chunkCount); chunkCount is a terrible name here. It's not the count of chunks. Call it chunkDuration.
Attachment #759595 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: