Closed Bug 803881 Opened 12 years ago Closed 12 years ago

WebRTC unit-test crash [@AudioSendAndReceive::GenerateAndReadSamples]

Categories

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

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla19
Tracking Status
firefox18 --- affected
firefox19 --- fixed

People

(Reporter: posidron, Assigned: jesup)

References

Details

(Keywords: crash, testcase, Whiteboard: [WebRTC] [blocking-webrtc+] [qa-])

Attachments

(2 files)

Attached file callstack
Run: <obj_dir>/media/webrtc/signaling/test/mediaconduit_unittests --gtest_filter=TransportConduitTest.TestDummyAudioWithTransport

This looks like a bug in the unit test itself, we need to fix this to run the tests accordingly.

media/webrtc/signaling/test/mediaconduit_unittests.cpp:304
...
   do
   {
    if(!memcpy(audioInput, inbuf, sampleLengthInBytes))
    {
      return;
    }
...
Looks like sampleLengthInBytes is by +1 too large here?
Attachment #673770 - Flags: review?(ekr)
Attachment #673770 - Flags: review?(ekr) → review+
Whiteboard: [WebRTC] [blocking-webrtc+]
Target Milestone: --- → mozilla19
Path did not fix the problem, tested with mc-inbound changeset: 111290:414e2834bbdc
https://hg.mozilla.org/mozilla-central/rev/414e2834bbdc
Assignee: nobody → rjesup
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [WebRTC] [blocking-webrtc+] → [WebRTC] [blocking-webrtc+] [qa-]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: