Closed Bug 1068658 Opened 5 years ago Closed 5 years ago

MOZ_ASSERT(track->GetRate() == mSampleRate);

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: gwagner, Assigned: kinetik)

References

Details

During startup on B2G on flame with debug enabled gecko.

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 11053.11251]
    0xb5050bf0 in mozilla::MediaStreamGraphImpl::PlayAudio (
        this=this@entry=0xa9959100, aStream=aStream@entry=0xb1385480,
        aFrom=<optimized out>, aTo=aTo@entry=896)
        at ../../../content/media/MediaStreamGraph.cpp:979
    979         MOZ_ASSERT(track->GetRate() == mSampleRate);
    (gdb) bt
    #0  0xb5050bf0 in mozilla::MediaStreamGraphImpl::PlayAudio (
        this=this@entry=0xa9959100, aStream=aStream@entry=0xb1385480,
        aFrom=<optimized out>, aTo=aTo@entry=896)
        at ../../../content/media/MediaStreamGraph.cpp:979
    #1  0xb5050fce in mozilla::MediaStreamGraphImpl::Process (
        this=this@entry=0xa9959100, aFrom=0, aTo=aTo@entry=896)
        at ../../../content/media/MediaStreamGraph.cpp:1346
    #2  0xb5051200 in mozilla::MediaStreamGraphImpl::OneIteration (
        this=0xa9959100, aFrom=0, aTo=0, aStateFrom=0, aStateEnd=896)
        at ../../../content/media/MediaStreamGraph.cpp:1415
    #3  0xb502eb70 in mozilla::AudioCallbackDriver::DataCallback (this=0xaeabc800,
        aBuffer=<optimized out>, aFrames=882)
        at ../../../content/media/GraphDriver.cpp:837
    #4  0xb55dd25c in noop_resampler::fill (this=0xae9f3650,
        buffer=<optimized out>, frames_needed=882)
        at ../../../../media/libcubeb/src/cubeb_resampler.cpp:89
    #5  0xb441c0a4 in mozilla::net::Predictor::GetInterface (this=<optimized out>,
        iid=..., result=<optimized out>)
        at ../../../../netwerk/base/src/Predictor.cpp:403
    #6  0xb55dc9da in bufferqueue_callback (caller=caller@entry=0x0,
        user_ptr=user_ptr@entry=0xa996fb20)
        at ../../../../media/libcubeb/src/cubeb_opensl.c:116
    #7  0xb55dcae0 in opensl_stream_start (stm=0xa996fb20)
Blocks: 1067414
(gdb) p mSampleRate
    $4 = 44100
    (gdb) p *track
    $5 = {mStart = 0, mSegment = {mRawPtr = 0xa9ef4be0}, mRate = 48000, mGraphRate = 44100, mID = 1, mEnded = false}
    (gdb)
Bug 1067414 backed out.
https://hg.mozilla.org/mozilla-central/rev/d2c01d77b9d0
Assignee: nobody → ryanvm
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Assignee: ryanvm → kinetik
You need to log in before you can comment on or make changes to this bug.