Closed Bug 1081965 Opened 5 years ago Closed 4 years ago

GMP: crash [mozilla::WebrtcGmpVideoDecoder::Decode_g]

Categories

(Core :: Audio/Video: GMP, defect, critical)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: posidron, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: crash, testcase)

Attachments

(1 file)

Tested with http://hg.mozilla.org/integration/mozilla-inbound/rev/06823a8d8be6

Apply patch faulty_10.diff from bug 777067 and run the test case https://gist.github.com/posidron/5ef64f1547ca61ae5782

Used Faulty Parameters:

export NSPR_LOG_MODULES=gmp:5
export MOZ_IPC_MESSAGE_LOG=1
export FAULTY_ENABLE_LOGGING=1
export FAULTY_PROBABILITY=3000
export FAULTY_PICKLE=1
export FAULTY_PARENT=0
export FAULTY_CHILDREN=1
Hit MOZ_CRASH(Unsupported Surface type) at /Users/cdiehl/dev/repos/mozilla/mozilla-ipc-inbound/gfx/layers/composite/TextureHost.cpp:232

I don't think this is actually a GMP crash (or at least can't clearly be targeted to it).

If I misread the log, please let me know
Flags: needinfo?(cdiehl)
A crash in Decode_g is probably the same as this one - 
https://bugzilla.mozilla.org/show_bug.cgi?id=1075640
There are two crash stacks inside:

==24115==AddressSanitizer: while reporting a bug found another one.Ignoring.
[...]
    #0 0x1058cabfb in mozilla::WebrtcGmpVideoDecoder::Decode_g(webrtc::EncodedImage const&, bool, webrtc::RTPFragmentationHeader const*, webrtc::CodecSpecificInfo const*, long long) (/Users/cdiehl/dev/repos/mozilla/mozilla-ipc-inbound/obj-ff64-asan-opt/dist/NightlyDebug.app/Contents/MacOS/XUL+0x14d5bfb)

Where by I was overlooking the MOZ_CRASH stack. =)
Flags: needinfo?(cdiehl)
Component: Audio/Video → Audio/Video: MSG/cubeb/GMP
Component: Audio/Video: MediaStreamGraph → Audio/Video: GMP
May have been fixed by bug 1075640
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.