Closed Bug 1959533 Opened 13 days ago Closed 12 days ago

Intermittent SUMMARY: AddressSanitizer: access-violation (C:\Windows\SYSTEM32\ntdll.dll+0x18000f10c) in RtlInitializeResource+0x60c

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1776143

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=503166758&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KJEZZZxzQb-AqFeOvvTfyw/runs/0/artifacts/public/logs/live_backing.log


 TEST-START | dom/media/webrtc/tests/mochitests/test_dataChannel_stats.html
[task 2025-04-09T19:37:45.392Z] 19:37:45     INFO - GECKO(8952) | TEST DEVICES: No test device found in media.audio_loopback_dev, using fake audio streams.
[task 2025-04-09T19:37:45.394Z] 19:37:45     INFO - GECKO(8952) | TEST DEVICES: No test device found in media.video_loopback_dev, using fake video streams.
[task 2025-04-09T19:37:45.507Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: I/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:416: mozilla::PeerConnectionImpl::PeerConnectionImpl: PeerConnectionImpl constructor for {3b61cd4f-d17e-4ed1-8546-13bd56bb2192}
[task 2025-04-09T19:37:45.509Z] 19:37:45     INFO - GECKO(8952) | [Parent 7472: Socket Thread]: D/mtransport NrIceCtx static call to find local stun addresses
[task 2025-04-09T19:37:45.515Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: I/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:416: mozilla::PeerConnectionImpl::PeerConnectionImpl: PeerConnectionImpl constructor for {a80f673e-bf45-42f2-8fdb-f71e5f219ae6}
[task 2025-04-09T19:37:45.517Z] 19:37:45     INFO - GECKO(8952) | [Parent 7472: Socket Thread]: D/mtransport NrIceCtx static call to find local stun addresses
[task 2025-04-09T19:37:45.536Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Maximum message size (outgoing data): 2147483637 (set=no, enforced=yes)
[task 2025-04-09T19:37:45.537Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Calling usrsctp_init 117a359834d0
[task 2025-04-09T19:37:45.538Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Registering connection 119e35f4cd80 as ulp 1
[task 2025-04-09T19:37:45.538Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Setting number of SCTP streams to 256, was 10/2048
[task 2025-04-09T19:37:45.539Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel DC Open: label channel_0/, type RELIABLE, inorder 1, prValue 0, listener 0, context 0, external: false, stream 65535
[task 2025-04-09T19:37:45.540Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Inserting channel 65535 : 1194364fc080
[task 2025-04-09T19:37:45.540Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Queuing channel 1194364fc080 (65535) to finish open
[task 2025-04-09T19:37:45.541Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Socket Thread]: D/DataChannel Registered 1 within the SCTP stack.
[task 2025-04-09T19:37:45.542Z] 19:37:45     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel nsDOMDataChannel::Init: origin = http://mochi.test:8888
<...>
 [Child 6600: Main Thread]: D/DataChannel No streams to reset
[task 2025-04-09T19:37:46.102Z] 19:37:46     INFO - GECKO(8952) | =================================================================
[task 2025-04-09T19:37:46.102Z] 19:37:46    ERROR - GECKO(8952) | ==6600==ERROR: AddressSanitizer: access-violation on unknown address 0x000000000024 (pc 0x7ff8d094f10d bp 0x001841bfea49 sp 0x001841bfe9b0 T3)
[task 2025-04-09T19:37:46.103Z] 19:37:46     INFO - GECKO(8952) | ==6600==The signal is caused by a WRITE memory access.
[task 2025-04-09T19:37:46.103Z] 19:37:46     INFO - GECKO(8952) | ==6600==Hint: address points to the zero page.
[task 2025-04-09T19:37:46.104Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: I/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2558: mozilla::PeerConnectionImpl::Close: Closing PeerConnectionImpl {a80f673e-bf45-42f2-8fdb-f71e5f219ae6}; ending call
[task 2025-04-09T19:37:46.105Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: I/jsep [{a80f673e-bf45-42f2-8fdb-f71e5f219ae6} 1744227465514000 (id=15032385547 url=http://mochi.test:8888/tests/dom/media/webrtc/tests/mochitests/test_dataChannel_stats.html)]: stable -> closed
[task 2025-04-09T19:37:46.105Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: I/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2565: mozilla::PeerConnectionImpl::Close: Destroying DataChannelConnection 119e35a47e80 for {a80f673e-bf45-42f2-8fdb-f71e5f219ae6}
[task 2025-04-09T19:37:46.106Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Destroying DataChannelConnection 119e35a47e80
[task 2025-04-09T19:37:46.106Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Closing all channels (connection 119e35a47e80)
[task 2025-04-09T19:37:46.107Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel DataChannelConnection labeled transport_0 (119e35a47e80) switching connection state OPEN -> CLOSED
[task 2025-04-09T19:37:46.107Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel Connection 119e35a47e80: Sending outgoing stream reset for 0 streams
[task 2025-04-09T19:37:46.108Z] 19:37:46     INFO - GECKO(8952) | [Child 6600: Main Thread]: D/DataChannel No streams to reset
[task 2025-04-09T19:37:46.129Z] 19:37:46     INFO - GECKO(8952) | MEMORY STAT | vsize 19405755MB | vsizeMaxContiguous 65867191MB | residentFast 576MB
[task 2025-04-09T19:37:47.815Z] 19:37:47     INFO - GECKO(8952) | ==6600==WARNING: Failed to use and restart external symbolizer!
[task 2025-04-09T19:37:48.901Z] 19:37:48     INFO - GECKO(8952) |     #0 0x7ff8d094f10c in RtlInitializeResource+0x60c (C:\Windows\SYSTEM32\ntdll.dll+0x18000f10c)
[task 2025-04-09T19:37:48.903Z] 19:37:48     INFO - GECKO(8952) |     #1 0x7ff8d095a6de in RtlRaiseStatus+0x49e (C:\Windows\SYSTEM32\ntdll.dll+0x18001a6de)
[task 2025-04-09T19:37:48.903Z] 19:37:48     INFO - GECKO(8952) |     #2 0x7ff8d0959e37 in RtlEnterCriticalSection+0xf7 (C:\Windows\SYSTEM32\ntdll.dll+0x180019e37)
[task 2025-04-09T19:37:48.904Z] 19:37:48     INFO - GECKO(8952) |     #3 0x7ff87d5141fd in sctp_inpcb_free /builds/worker/checkouts/gecko/netwerk/sctp/src/netinet/sctp_pcb.c:3897
[task 2025-04-09T19:37:48.905Z] 19:37:48     INFO - GECKO(8952) |     #4 0x7ff87d530cc1 in sctp_close /builds/worker/checkouts/gecko/netwerk/sctp/src/netinet/sctp_usrreq.c:919
[task 2025-04-09T19:37:48.905Z] 19:37:48     INFO - GECKO(8952) |     #5 0x7ff87d59d4fa in sofree /builds/worker/checkouts/gecko/netwerk/sctp/src/user_socket.c:287
[task 2025-04-09T19:37:48.906Z] 19:37:48     INFO - GECKO(8952) |     #6 0x7ff87d5a8d66 in mozilla::DataChannelConnection::DestroyOnSTS /builds/worker/checkouts/gecko/netwerk/sctp/datachannel/DataChannel.cpp:485
[task 2025-04-09T19:37:48.906Z] 19:37:48     INFO - GECKO(8952) |     #7 0x7ff87d5cdae5 in mozilla::detail::runnable_args_base<0>::Run /builds/worker/checkouts/gecko/dom/media/webrtc/transport/runnable_utils.h:41
[task 2025-04-09T19:37:48.907Z] 19:37:48     INFO - GECKO(8952) |     #8 0x7ff87c12dcb5 in nsThread::ProcessNextEvent /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1153
[task 2025-04-09T19:37:48.908Z] 19:37:48     INFO - GECKO(8952) |     #9 0x7ff87c13ce00 in NS_ProcessNextEvent /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480
[task 2025-04-09T19:37:48.909Z] 19:37:48     INFO - GECKO(8952) |     #10 0x7ff87d6f460b in mozilla::ipc::MessagePumpForNonMainThreads::Run /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:329
[task 2025-04-09T19:37:48.910Z] 19:37:48     INFO - GECKO(8952) |     #11 0x7ff87d611763 in MessageLoop::RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362
[task 2025-04-09T19:37:48.910Z] 19:37:48     INFO - GECKO(8952) |     #12 0x7ff87d611573 in MessageLoop::Run /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344
[task 2025-04-09T19:37:48.911Z] 19:37:48     INFO - GECKO(8952) |     #13 0x7ff87c125cc7 in nsThread::ThreadFunc /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:366
[task 2025-04-09T19:37:48.911Z] 19:37:48     INFO - GECKO(8952) |     #14 0x7ff89b7e67f1 in _PR_NativeRunThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:382
[task 2025-04-09T19:37:48.912Z] 19:37:48     INFO - GECKO(8952) |     #15 0x7ff89b7c0f0c in pr_root /builds/worker/checkouts/gecko/nsprpub/pr/src/md/windows/w95thred.c:129
[task 2025-04-09T19:37:48.913Z] 19:37:48     INFO - GECKO(8952) |     #16 0x7ff8ce4837af in wcsrchr+0x14f (C:\Windows\System32\ucrtbase.dll+0x1800037af)
[task 2025-04-09T19:37:48.913Z] 19:37:48     INFO - GECKO(8952) |     #17 0x7ff898b2a31d in asan_thread_start /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_win.cpp:147
[task 2025-04-09T19:37:48.914Z] 19:37:48     INFO - GECKO(8952) |     #18 0x7ff8cf18e8d6 in BaseThreadInitThunk+0x16 (C:\Windows\System32\KERNEL32.DLL+0x18002e8d6)
[task 2025-04-09T19:37:48.914Z] 19:37:48     INFO - GECKO(8952) |     #19 0x7ff8b7236fbc in patched_BaseThreadInitThunk /builds/worker/checkouts/gecko/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp:562
[task 2025-04-09T19:37:48.915Z] 19:37:48     INFO - GECKO(8952) |     #20 0x7ff8d09fbf6b in RtlUserThreadStart+0x2b (C:\Windows\SYSTEM32\ntdll.dll+0x1800bbf6b)
[task 2025-04-09T19:37:48.915Z] 19:37:48     INFO - GECKO(8952) | AddressSanitizer can not provide additional info.
[task 2025-04-09T19:37:48.916Z] 19:37:48     INFO - GECKO(8952) | SUMMARY: AddressSanitizer: access-violation (C:\Windows\SYSTEM32\ntdll.dll+0x18000f10c) in RtlInitializeResource+0x60c
[task 2025-04-09T19:37:48.916Z] 19:37:48     INFO - GECKO(8952) | Thread T3 created by T0 here:
[task 2025-04-09T19:37:49.198Z] 19:37:49     INFO - GECKO(8952) |     #0 0x7ff898b2a232 in CreateThread /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_win.cpp:158
[task 2025-04-09T19:37:49.199Z] 19:37:49     INFO - GECKO(8952) |     #1 0x7ff8ce4f9b67 in beginthreadex+0x57 (C:\Windows\System32\ucrtbase.dll+0x180079b67)
[task 2025-04-09T19:37:49.200Z] 19:37:49     INFO - GECKO(8952) |     #2 0x7ff89b7c0d42 in _PR_MD_CREATE_THREAD /builds/worker/checkouts/gecko/nsprpub/pr/src/md/windows/w95thred.c:137
[task 2025-04-09T19:37:49.200Z] 19:37:49     INFO - GECKO(8952) |     #3 0x7ff89b7e7577 in _PR_NativeCreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:1018
[task 2025-04-09T19:37:49.204Z] 19:37:49     INFO - GECKO(8952) |     #4 0x7ff89b7e7ebd in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:1137
[task 2025-04-09T19:37:49.205Z] 19:37:49     INFO - GECKO(8952) |     #5 0x7ff89b7ddd7f in PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/threads/combined/pruthr.c:1346
[task 2025-04-09T19:37:49.205Z] 19:37:49     INFO - GECKO(8952) |     #6 0x7ff87c128a6d in nsThread::Init /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:615
[task 2025-04-09T19:37:49.205Z] 19:37:49     INFO - GECKO(8952) |     #7 0x7ff87c139d90 in nsThreadManager::NewNamedThread /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:619
[task 2025-04-09T19:37:49.206Z] 19:37:49     INFO - GECKO(8952) |     #8 0x7ff87c146d26 in NS_NewNamedThread /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176
[task 2025-04-09T19:37:49.206Z] 19:37:49     INFO - GECKO(8952) |     #9 0x7ff87c58e1fb in mozilla::net::nsSocketTransportService::Init /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:774
[task 2025-04-09T19:37:49.207Z] 19:37:49     INFO - GECKO(8952) |     #10 0x7ff87c099aab in mozilla::xpcom::CreateInstanceImpl /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:11943
[task 2025-04-09T19:37:49.207Z] 19:37:49     INFO - GECKO(8952) |     #11 0x7ff87c0c1d49 in nsComponentManagerImpl::GetServiceLocked /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:986
[task 2025-04-09T19:37:49.208Z] 19:37:49     INFO - GECKO(8952) |     #12 0x7ff87c0c2d73 in nsComponentManagerImpl::GetService /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:1076
[task 2025-04-09T19:37:49.209Z] 19:37:49     INFO - GECKO(8952) |     #13 0x7ff87c0a54fd in mozilla::xpcom::GetServiceHelper::operator() /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:13941
[task 2025-04-09T19:37:49.209Z] 19:37:49     INFO - GECKO(8952) |     #14 0x7ff87c4bb44e in mozilla::net::nsIOService::InitializeSocketTransportService /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:476
[task 2025-04-09T19:37:49.210Z] 19:37:49     INFO - GECKO(8952) |     #15 0x7ff87c4c4004 in mozilla::net::nsIOService::SetOfflineInternal /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:1420
[task 2025-04-09T19:37:49.211Z] 19:37:49     INFO - GECKO(8952) |     #16 0x7ff87c4b8337 in mozilla::net::nsIOService::Init /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:319
<...>
Group: core-security

null deref

Flags: needinfo?(docfaraday)

Looks like bug 1776143 to me.

Status: NEW → RESOLVED
Closed: 12 days ago
Duplicate of bug: 1776143
Flags: needinfo?(docfaraday)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.