Assertion failure: mSsrcToRtxSsrc.size() == mSsrcs.size(), at /dom/media/webrtc/jsep/JsepTrack.h:173
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
People
(Reporter: jkratzer, Assigned: ng)
References
Details
(5 keywords, Whiteboard: [bugmon:bisected,confirmed][adv-main149+][adv-ESR140.9+])
Attachments
(2 files)
Reproduced on mozilla-central rev 57fbf639ea5b (built with: --enable-debug --enable-fuzzing).
Testcase can be reproduced using the following commands:
$ pip install fuzzfetch grizzly-framework pipx --upgrade
$ python -m pipx ensurepath
$ fuzzfetch --build 57fbf639ea5b --debug --fuzzing -n firefox
$ grizzly-replay-bugzilla ./firefox/firefox <bugid>
Assertion failure: mSsrcToRtxSsrc.size() == mSsrcs.size(), at /dom/media/webrtc/jsep/JsepTrack.h:173
==2874318==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x70d69c48dfdc bp 0x7ffd34bb6160 sp 0x7ffd34bb6110 T2874318)
==2874318==The signal is caused by a WRITE memory access.
==2874318==Hint: address points to the zero page.
#0 0x70d69c48dfdc in MOZ_CrashSequence /builds/worker/workspace/obj-build/dist/include/mozilla/Assertions.h:237:3
#1 0x70d69c48dfdc in mozilla::JsepTrack::GetRtxSsrcs() const /dom/media/webrtc/jsep/JsepTrack.h:173:7
#2 0x70d69c48d723 in mozilla::dom::RTCRtpReceiver::UpdateTransport() /dom/media/webrtc/jsapi/RTCRtpReceiver.cpp:750:58
#3 0x70d69c4f0652 in mozilla::dom::RTCRtpTransceiver::UpdateTransport() /dom/media/webrtc/jsapi/RTCRtpTransceiver.cpp:418:14
#4 0x70d69c47db2c in mozilla::PeerConnectionImpl::UpdateTransports(mozilla::JsepSession const&, bool) /dom/media/webrtc/jsapi/PeerConnectionImpl.cpp:4281:22
#5 0x70d69c4c2932 in operator() /dom/media/webrtc/jsapi/PeerConnectionImpl.cpp:2984:11
#6 0x70d69c4c2932 in mozilla::detail::RunnableFunction<mozilla::PeerConnectionImpl::DoSetDescriptionSuccessPostProcessing(mozilla::dom::RTCSdpType, bool, RefPtr<mozilla::dom::Promise> const&)::$_0>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:549:5
#7 0x70d697944097 in mozilla::RunnableTask::Run() /xpcom/threads/TaskController.cpp:705:16
#8 0x70d69793e764 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /xpcom/threads/TaskController.cpp:1325:20
#9 0x70d69793d3e7 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /xpcom/threads/TaskController.cpp:1148:15
#10 0x70d69793d865 in mozilla::TaskController::ProcessPendingMTTask(bool) /xpcom/threads/TaskController.cpp:641:36
#11 0x70d69794d376 in operator() /xpcom/threads/TaskController.cpp:333:37
#12 0x70d69794d376 in mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() /xpcom/threads/nsThreadUtils.h:549:5
#13 0x70d69795f8f3 in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1168:16
#14 0x70d69796554f in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:461:10
#15 0x70d698554e87 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:85:21
#16 0x70d6984ae291 in RunHandler /ipc/chromium/src/base/message_loop.cc:366:3
#17 0x70d6984ae291 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:348:3
#18 0x70d69d664df8 in nsBaseAppShell::Run() /widget/nsBaseAppShell.cpp:152:27
#19 0x70d69d730814 in nsAppShell::Run() /widget/gtk/nsAppShell.cpp:555:33
#20 0x70d69e77884b in XRE_RunAppShell() /toolkit/xre/nsEmbedFunctions.cpp:652:20
#21 0x70d698555d34 in mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:235:9
#22 0x70d6984ae291 in RunHandler /ipc/chromium/src/base/message_loop.cc:366:3
#23 0x70d6984ae291 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:348:3
#24 0x70d69e777faf in XRE_InitChildProcess(int, char**, XREChildData const*) /toolkit/xre/nsEmbedFunctions.cpp:590:34
#25 0x5df784319f8c in main /browser/app/nsBrowserApp.cpp:465:22
#26 0x70d6a902a1c9 in __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#27 0x70d6a902a28a in __libc_start_main ./csu/../csu/libc-start.c:360:3
#28 0x5df7842edde8 in _start ??:0:0
==2874318==Register values:
rax = 0x0000000000000000 rbx = 0x00005df7becdc950 rcx = 0x00000000000000ad rdx = 0x000070d6a9204563
rdi = 0x000070d6a9205700 rsi = 0x0000000000000000 rbp = 0x00007ffd34bb6160 rsp = 0x00007ffd34bb6110
r8 = 0x0000000000000000 r9 = 0x0000000000000003 r10 = 0x0000000000000002 r11 = 0x0000000000000293
r12 = 0x00005df7becdc954 r13 = 0x00005df7bef44e80 r14 = 0x00005df7bf02ec00 r15 = 0x00005df7bee83230
UndefinedBehaviorSanitizer can not provide additional info.
SUMMARY: UndefinedBehaviorSanitizer: SEGV (/home/jkratzer/builds/m-c-20260205090734-fuzzing-debug/libxul.so+0x948dfdc) (BuildId: c143802c55c45c489dd220fc3aaf3f64e16a58ac)
==2874318==ABORTING
| Reporter | ||
Comment 1•10 months ago
|
||
| Reporter | ||
Comment 2•10 months ago
|
||
Updated•10 months ago
|
Comment 3•10 months ago
|
||
Verified bug as reproducible on mozilla-central 20260205213633-279b57ef4bf0.
Unable to bisect testcase (Testcase reproduces on start build!):
Start: ce0f77cae5a91e2cb4b1ec859117e08aa1182c52 (20250207164009)
End: 57fbf639ea5bd2e56dd9e1bef16497372385229d (20260205090734)
BuildFlags: BuildFlags(asan=False, tsan=False, debug=True, fuzzing=True, coverage=False, valgrind=False, no_opt=False, fuzzilli=False, nyx=False, searchfox=False, afl=False)
Updated•10 months ago
|
| Assignee | ||
Updated•10 months ago
|
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 5•9 months ago
|
||
I have filed cover bug 2015211, which is shared with 2014873.
Comment 6•9 months ago
|
||
Testcase crashes using the initial build (mozilla-central 20260205090734-57fbf639ea5b) but not with tip (mozilla-central 20260213212122-0d74a4189e30.)
The bug appears to have been fixed in the following build range:
Start: 5b22478f4f4f3feaad5e4ade78a335afe07e673e (20260212064912)
End: 8cf0013141048f4a1ab8dfe12e60de915164be1b (20260212081829)
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=5b22478f4f4f3feaad5e4ade78a335afe07e673e&tochange=8cf0013141048f4a1ab8dfe12e60de915164be1b
ng, can you confirm that the above bisection range is responsible for fixing this issue?
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•2 months ago
|
Description
•