Closed
Bug 1182098
Opened 9 years ago
Closed 3 years ago
crash in MediaStreamGraphImpl::ApplyStreamUpdate()
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
backlog | webrtc/webaudio+ |
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(1 file)
15.37 KB,
text/html
|
Details |
I'm still crashing with the testcase from bug 1155965: https://bugzilla.mozilla.org/attachment.cgi?id=8594319 You need to have the specialpowers extension installed to see the crash: http://people.mozilla.org/~mwargers/extensions/specialpowers/specialpowers.htm I think it happens after having it let run for a while and then close or reload the page. This bug was filed from the Socorro interface and is report bp-1b3fa14a-474d-4e14-b436-278632150709. ============================================================= 0 XUL mozilla::MediaPipelineTransmit::MediaPipelineTransmit(std::string const&, nsCOMPtr<nsIEventTarget>, nsCOMPtr<nsIEventTarget>, mozilla::DOMMediaStream*, std::string const&, int, bool, mozilla::RefPtr<mozilla::MediaSessionConduit>, mozilla::RefPtr<mozilla::TransportFlow>, mozilla::RefPtr<mozilla::TransportFlow>, nsAutoPtr<mozilla::MediaPipelineFilter>) dom/media/DOMMediaStream.h 1 XUL mozilla::MediaPipelineFactory::CreateMediaPipelineSending(mozilla::JsepTrackPair const&, mozilla::JsepTrack const&, unsigned long, mozilla::RefPtr<mozilla::TransportFlow>, mozilla::RefPtr<mozilla::TransportFlow>, nsAutoPtr<mozilla::MediaPipelineFilter>, mozilla::RefPtr<mozilla::MediaSessionConduit> const&) media/webrtc/signaling/src/mediapipeline/MediaPipeline.h 2 XUL mozilla::MediaPipelineFactory::CreateOrUpdateMediaPipeline(mozilla::JsepTrackPair const&, mozilla::JsepTrack const&) media/webrtc/signaling/src/peerconnection/MediaPipelineFactory.cpp 3 XUL mozilla::PeerConnectionMedia::UpdateMediaPipelines(mozilla::JsepSession const&) media/webrtc/signaling/src/peerconnection/PeerConnectionMedia.cpp 4 XUL mozilla::PeerConnectionImpl::SetSignalingState_m(mozilla::dom::PCImplSignalingState, bool) media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp 5 XUL mozilla::PeerConnectionImpl::SetRemoteDescription(int, char const*) media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp 6 XUL mozilla::dom::PeerConnectionImplBinding::setRemoteDescription media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h 7 XUL mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*) dom/bindings/BindingUtils.cpp etc..
Comment 1•9 years ago
|
||
Martijn, can you try it in beta? thanks
backlog: --- → webRTC+
Rank: 15
Flags: needinfo?(martijn.martijn)
Priority: -- → P1
Comment 2•9 years ago
|
||
Not seeing anything obvious that would cause this. I'll have to make some time to repro and debug.
Updated•9 years ago
|
Assignee: nobody → docfaraday
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Ok, attached testcase can be used without specialpowers provided you are a fast clicker and can manage to hit the "Always Allow" on the GUM dialog.
Comment 5•9 years ago
|
||
I've hit the following assertion a couple of times now. I'll try a non-debug build in a bit. Assertion failure: state_ == NR_CONNECTED || state_ == NR_CLOSING, at ../../../../media/mtransport/nr_socket_prsock.cpp:1118
Comment 6•9 years ago
|
||
Hmm. Can't get non-debug ASAN to build. Let me try removing that assertion.
Comment 7•9 years ago
|
||
I'm having no luck reproducing that particular crash, either using ASAN on linux, or a release build of nightly on OS X. I'll keep trying.
Comment 8•9 years ago
|
||
Ok, I got the same stack on a nightly build by opening the test in a non-e10s window. I also tried on release, and got a stack that seems similar but happens slightly earlier, down in some MSG code. https://crash-stats.mozilla.com/report/index/7d412a19-d41c-4a09-b1d3-3c18f2150709
Reporter | ||
Comment 9•9 years ago
|
||
(In reply to Randell Jesup [:jesup] from comment #1) > Martijn, can you try it in beta? thanks Yes, also crashes: https://crash-stats.mozilla.com/report/index/862d9fc3-8361-44a1-a270-ae4f02150709 But that's basically bug 1155965.
Flags: needinfo?(martijn.martijn)
Comment 10•9 years ago
|
||
Ok, I believe this bug is fixed on m-c now. Give it another whirl and let me know how it goes.
Flags: needinfo?(martijn.martijn)
Reporter | ||
Comment 11•9 years ago
|
||
I'm still seeing it in current m-c: https://crash-stats.mozilla.com/report/index/b560f6ef-8806-4208-94d0-7b6a42150727 Although it took me a while to get this crash.
Flags: needinfo?(martijn.martijn)
Reporter | ||
Comment 12•9 years ago
|
||
Or do you mean this would be fixed by bug 1182289? In that case, I would need to test in tomorrow's Nightly build, right?
Flags: needinfo?(docfaraday)
Comment 13•9 years ago
|
||
> Or do you mean this would be fixed by bug 1182289? In that case, I would > need to test in tomorrow's Nightly build, right? Yes, in order to test today you'd need build locally, or go grab a build artifact from here: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=27ae736ef960
Flags: needinfo?(docfaraday)
Reporter | ||
Comment 14•9 years ago
|
||
Still crashin on 42.0a1 (2015-07-28), but with a different stacktrace: https://crash-stats.mozilla.com/report/index/b904e2d7-1a1e-4431-a73b-f32d52150728 0 XUL mozilla::MediaStreamGraphImpl::ApplyStreamUpdate(mozilla::StreamUpdate*) dom/media/MediaStreamGraph.cpp 1 XUL mozilla::MediaStreamGraphImpl::RunInStableState(bool) dom/media/MediaStreamGraph.cpp 2 XUL mozilla::(anonymous namespace)::MediaStreamGraphStableStateRunnable::Run() dom/media/MediaStreamGraph.cpp 3 XUL nsBaseAppShell::RunSyncSectionsInternal(bool, unsigned int) widget/nsBaseAppShell.cpp 4 XUL nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool, unsigned int) widget/nsBaseAppShell.h 5 XUL nsAppShell::OnProcessNextEvent(nsIThreadInternal*, bool, unsigned int) widget/cocoa/nsAppShell.mm 6 XUL nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp 7 XUL NS_ProcessNextEvent(nsIThread*, bool) xpcom/glue/nsThreadUtils.cpp 8 XUL nsThread::Shutdown() xpcom/threads/nsThread.cpp 9 XUL mozilla::CryptoTask::Run() security/manager/ssl/CryptoTask.cpp 10 XUL nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp
Updated•9 years ago
|
Crash Signature: [@ mozilla::MediaPipelineTransmit::MediaPipelineTransmit(std::string const&, nsCOMPtr<T>, nsCOMPtr<T>, mozilla::DOMMediaStream*, std::string const&, int, bool, mozilla::RefPtr<T>, mozilla::RefPtr<T>, mozilla::RefPtr<T>, nsAutoPtr<T>)] → [@ mozilla::MediaPipelineTransmit::MediaPipelineTransmit(std::string const&, nsCOMPtr<T>, nsCOMPtr<T>, mozilla::DOMMediaStream*, std::string const&, int, bool, mozilla::RefPtr<T>, mozilla::RefPtr<T>, mozilla::RefPtr<T>, nsAutoPtr<T>)]
[@ mozilla::MediaPi…
Comment 15•9 years ago
|
||
The very different signature makes me think the original bug is resolved here. If there's still a problem, it's a different one.
Assignee: docfaraday → nobody
Rank: 15 → 22
Component: WebRTC → Audio/Video: MSG/cubeb/GMP
Priority: P1 → P2
Summary: crash in mozilla::MediaPipelineTransmit::MediaPipelineTransmit(std::string const&, nsCOMPtr<T>, nsCOMPtr<T>, mozilla::DOMMediaStream*, std::string const&, int, bool, mozilla::RefPtr<T>, mozilla::RefPtr<T>, mozilla::RefPtr<T>, nsAutoPtr<T>) → crash in MediaStreamGraphImpl::ApplyStreamUpdate()
Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 16•7 years ago
|
||
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3
Comment 17•6 years ago
|
||
Closing because no crash reported since 12 weeks.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → WONTFIX
Comment 18•6 years ago
|
||
Closing because no crash reported since 12 weeks.
Reopening because crash bugs **with testcases** should not be resolved **as WONTFIX** based on queries of crash-stats. Other resolutions may be appropriate for other reasons. (Crash signatures are not the same as bug identity; they're merely a search aid to find and group similar crashes. The bug may still be present, but the signature may have changed slightly, or the bug may even still be present with the same signature but there are simply no recent reports of crashes in that function.)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 20•3 years ago
|
||
Marking this as Resolved > Worksforme since the test case doesn't crash any of the latest versions of Firefox Nightly 91.0a1 (2021-06-18), Beta 90.0b9 or Release 89.0.1 on MacOS 11.4.
Updated•3 years ago
|
Status: REOPENED → RESOLVED
Closed: 6 years ago → 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•