Closed Bug 1801202 Opened 2 years ago Closed 2 years ago

Intermittent SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.h:325:41 in IsAllocated

Categories

(Core :: DOM: File, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2022-11-17T19:51:17.589Z] 19:51:17     INFO - TEST-OK | /fs/FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.html | took 697ms
[task 2022-11-17T19:51:17.590Z] 19:51:17     INFO - TEST-START | /fs/FileSystemSyncAccessHandle-close.https.tentative.worker.html
[task 2022-11-17T19:51:17.594Z] 19:51:17     INFO - Closing window e9323fac-e527-40db-ae07-e27b22674efd
[task 2022-11-17T19:51:17.628Z] 19:51:17     INFO - PID 8745 | AddressSanitizer:DEADLYSIGNAL
[task 2022-11-17T19:51:17.631Z] 19:51:17     INFO - PID 8745 | =================================================================
[task 2022-11-17T19:51:17.634Z] 19:51:17    ERROR - PID 8745 | ==8745==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000000b0 (pc 0x7f85d433b104 bp 0x7f85a8120c90 sp 0x7f85a8120b80 T58)
[task 2022-11-17T19:51:17.638Z] 19:51:17     INFO - PID 8745 | ==8745==The signal is caused by a READ memory access.
[task 2022-11-17T19:51:17.638Z] 19:51:17     INFO - PID 8745 | ==8745==Hint: address points to the zero page.
[task 2022-11-17T19:51:18.760Z] 19:51:18     INFO - PID 8745 |     #0 0x7f85d433b104 in IsAllocated /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.h:325:41
[task 2022-11-17T19:51:18.761Z] 19:51:18     INFO - PID 8745 |     #1 0x7f85d433b104 in PLDHashTable::Remove(void const*) /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.cpp:532:20
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #2 0x7f85d5a6a5d8 in mozilla::ipc::IProtocol::DestroySubtree(mozilla::ipc::IProtocol::ActorDestroyReason) /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:585:3
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #3 0x7f85d5a6a540 in mozilla::ipc::IProtocol::DestroySubtree(mozilla::ipc::IProtocol::ActorDestroyReason) /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:573:14
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #4 0x7f85d9c9ec02 in mozilla::dom::PFileSystemManagerParent::OnChannelClose() /builds/worker/workspace/obj-build/ipc/ipdl/PFileSystemManagerParent.cpp:1179:5
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #5 0x7f85d5a4e8a6 in mozilla::ipc::MessageChannel::OnNotifyMaybeChannelError() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:2034:3
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #6 0x7f85d5a7923f in applyImpl<mozilla::ipc::MessageChannel, void (mozilla::ipc::MessageChannel::*)()> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1147:12
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #7 0x7f85d5a7923f in apply<mozilla::ipc::MessageChannel, void (mozilla::ipc::MessageChannel::*)()> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1153:12
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #8 0x7f85d5a7923f in mozilla::detail::RunnableMethodImpl<mozilla::ipc::MessageChannel*, void (mozilla::ipc::MessageChannel::*)(), false, (mozilla::RunnableKind)1>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1200:13
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #9 0x7f85d448ad8d in mozilla::TaskQueue::Runner::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskQueue.cpp:259:20
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #10 0x7f85d44b6137 in nsThreadPool::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadPool.cpp:309:14
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #11 0x7f85d44a8b86 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1198:16
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #12 0x7f85d44b2a74 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:465:10
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #13 0x7f85d5a53fe8 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #14 0x7f85d58f4cf7 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:381:10
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #15 0x7f85d58f4cf7 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:374:3
[task 2022-11-17T19:51:18.770Z] 19:51:18     INFO - PID 8745 |     #16 0x7f85d58f4cf7 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:356:3
[task 2022-11-17T19:51:18.771Z] 19:51:18     INFO - PID 8745 |     #17 0x7f85d44a0b33 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:383:10
[task 2022-11-17T19:51:18.773Z] 19:51:18     INFO - PID 8745 |     #18 0x7f85fc65ffe8 in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
[task 2022-11-17T19:51:18.773Z] 19:51:18     INFO - PID 8745 |     #19 0x7f85fc38b6da in start_thread /tmp/glibc/nptl/pthread_create.c:463
[task 2022-11-17T19:51:18.774Z] 19:51:18     INFO - PID 8745 |     #20 0x7f85fb14ea3e in __clone /tmp/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
[task 2022-11-17T19:51:18.775Z] 19:51:18     INFO - PID 8745 | AddressSanitizer can not provide additional info.
[task 2022-11-17T19:51:18.776Z] 19:51:18     INFO - PID 8745 | SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.h:325:41 in IsAllocated
[task 2022-11-17T19:51:18.776Z] 19:51:18     INFO - PID 8745 | Thread T58 (StreamTrans #5) created by T0 here:
[task 2022-11-17T19:51:18.835Z] 19:51:18     INFO - PID 8745 |     #0 0x55f3ccd0864c in __interceptor_pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:208:3
[task 2022-11-17T19:51:18.839Z] 19:51:18     INFO - PID 8745 |     #1 0x7f85fc6500b9 in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14
[task 2022-11-17T19:51:18.840Z] 19:51:18     INFO - PID 8745 |     #2 0x7f85fc64152e in PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12
[task 2022-11-17T19:51:18.840Z] 19:51:18     INFO - PID 8745 |     #3 0x7f85d44a3ffb in nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:617:18
[task 2022-11-17T19:51:18.841Z] 19:51:18     INFO - PID 8745 |     #4 0x7f85d44b074e in nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:533:12
[task 2022-11-17T19:51:18.842Z] 19:51:18     INFO - PID 8745 |     #5 0x7f85d44bb72a in NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:161:57
[task 2022-11-17T19:51:18.843Z] 19:51:18     INFO - PID 8745 |     #6 0x7f85d44b4e1a in NS_NewNamedThread /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:153:10
[task 2022-11-17T19:51:18.844Z] 19:51:18     INFO - PID 8745 |     #7 0x7f85d44b4e1a in nsThreadPool::PutEvent(already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadPool.cpp:122:17
[task 2022-11-17T19:51:18.844Z] 19:51:18     INFO - PID 8745 |     #8 0x7f85d44b6ffd in nsThreadPool::Dispatch(already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadPool.cpp:361:5
[task 2022-11-17T19:51:18.845Z] 19:51:18     INFO - PID 8745 |     #9 0x7f85d48ce71d in mozilla::net::nsStreamTransportService::Dispatch(already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/netwerk/base/nsStreamTransportService.cpp:294:16
[task 2022-11-17T19:51:18.846Z] 19:51:18     INFO - PID 8745 |     #10 0x7f85d4406b2f in Dispatch /builds/worker/workspace/obj-build/dist/include/nsIEventTarget.h:42:14
[task 2022-11-17T19:51:18.846Z] 19:51:18     INFO - PID 8745 |     #11 0x7f85d4406b2f in nsAStreamCopier::PostContinuationEvent_Locked() /builds/worker/checkouts/gecko/xpcom/io/nsStreamUtils.cpp:463:21
[task 2022-11-17T19:51:18.847Z] 19:51:18     INFO - PID 8745 |     #12 0x7f85d43f83d1 in PostContinuationEvent /builds/worker/checkouts/gecko/xpcom/io/nsStreamUtils.cpp:455:12
[task 2022-11-17T19:51:18.848Z] 19:51:18     INFO - PID 8745 |     #13 0x7f85d43f83d1 in nsAStreamCopier::Start(nsIInputStream*, nsIOutputStream*, nsIEventTarget*, void (*)(void*, nsresult), void*, unsigned int, bool, bool, void (*)(void*, unsigned int)) /builds/worker/checkouts/gecko/xpcom/io/nsStreamUtils.cpp:268:12
[task 2022-11-17T19:51:18.848Z] 19:51:18     INFO - PID 8745 |     #14 0x7f85d43f803f in NS_AsyncCopy(nsIInputStream*, nsIOutputStream*, nsIEventTarget*, nsAsyncCopyMode, unsigned int, void (*)(void*, nsresult), void*, bool, bool, nsISupports**, void (*)(void*, unsigned int)) /builds/worker/checkouts/gecko/xpcom/io/nsStreamUtils.cpp:603:16
[task 2022-11-17T19:51:18.849Z] 19:51:18     INFO - PID 8745 |     #15 0x7f85d48cd0bc in mozilla::net::nsInputStreamTransport::OpenInputStream(unsigned int, unsigned int, unsigned int, nsIInputStream**) /builds/worker/checkouts/gecko/netwerk/base/nsStreamTransportService.cpp:114:8
[task 2022-11-17T19:51:18.850Z] 19:51:18     INFO - PID 8745 |     #16 0x7f85d43fac1c in NS_MakeAsyncNonBlockingInputStream(already_AddRefed<nsIInputStream>, nsIAsyncInputStream**, bool, unsigned int, unsigned int, unsigned int) /builds/worker/checkouts/gecko/xpcom/io/nsStreamUtils.cpp:964:19
[task 2022-11-17T19:51:18.850Z] 19:51:18     INFO - PID 8745 |     #17 0x7f85d47f651c in nsInputStreamPump::AsyncRead(nsIStreamListener*) /builds/worker/checkouts/gecko/netwerk/base/nsInputStreamPump.cpp:339:17
[task 2022-11-17T19:51:18.851Z] 19:51:18     INFO - PID 8745 |     #18 0x7f85d5d977bf in nsJARChannel::ContinueOpenLocalFile(nsJARInputThunk*, bool) /builds/worker/checkouts/gecko/modules/libjar/nsJARChannel.cpp:472:17
[task 2022-11-17T19:51:18.852Z] 19:51:18     INFO - PID 8745 |     #19 0x7f85d5db3447 in applyImpl<nsJARChannel, nsresult (nsJARChannel::*)(nsJARInputThunk *, bool), StoreRefPtrPassByPtr<nsJARInputThunk>, StoreCopyPassByConstLRef<bool>, 0UL, 1UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1147:12
[task 2022-11-17T19:51:18.852Z] 19:51:18     INFO - PID 8745 |     #20 0x7f85d5db3447 in apply<nsJARChannel, nsresult (nsJARChannel::*)(nsJARInputThunk *, bool)> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1153:12
[task 2022-11-17T19:51:18.853Z] 19:51:18     INFO - PID 8745 |     #21 0x7f85d5db3447 in mozilla::detail::RunnableMethodImpl<RefPtr<nsJARChannel>, nsresult (nsJARChannel::*)(nsJARInputThunk*, bool), true, (mozilla::RunnableKind)0, RefPtr<nsJARInputThunk>, bool>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1200:13
[task 2022-11-17T19:51:18.853Z] 19:51:18     INFO - PID 8745 |     #22 0x7f85d4480dea in mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:538:16
[task 2022-11-17T19:51:18.854Z] 19:51:18     INFO - PID 8745 |     #23 0x7f85d447e7a8 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:851:26
[task 2022-11-17T19:51:18.855Z] 19:51:18     INFO - PID 8745 |     #24 0x7f85d447bde8 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:683:15
[task 2022-11-17T19:51:18.855Z] 19:51:18     INFO - PID 8745 |     #25 0x7f85d447c510 in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:461:36
[task 2022-11-17T19:51:18.856Z] 19:51:18     INFO - PID 8745 |     #26 0x7f85d4485f51 in operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:187:37
[task 2022-11-17T19:51:18.856Z] 19:51:18     INFO - PID 8745 |     #27 0x7f85d4485f51 in mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_2>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:531:5
[task 2022-11-17T19:51:18.857Z] 19:51:18     INFO - PID 8745 |     #28 0x7f85d44a8390 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1204:16
[task 2022-11-17T19:51:18.857Z] 19:51:18     INFO - PID 8745 |     #29 0x7f85d44b2a74 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:465:10
[task 2022-11-17T19:51:18.858Z] 19:51:18     INFO - PID 8745 |     #30 0x7f85d5a52ea8 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21
[task 2022-11-17T19:51:18.859Z] 19:51:18     INFO - PID 8745 |     #31 0x7f85d58f4cf7 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:381:10
[task 2022-11-17T19:51:18.859Z] 19:51:18     INFO - PID 8745 |     #32 0x7f85d58f4cf7 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:374:3
[task 2022-11-17T19:51:18.860Z] 19:51:18     INFO - PID 8745 |     #33 0x7f85d58f4cf7 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:356:3
[task 2022-11-17T19:51:18.860Z] 19:51:18     INFO - PID 8745 |     #34 0x7f85dc2a2aa9 in nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:150:27
[task 2022-11-17T19:51:18.861Z] 19:51:18     INFO - PID 8745 |     #35 0x7f85e04964cb in nsAppStartup::Run() /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:295:30
[task 2022-11-17T19:51:18.861Z] 19:51:18     INFO - PID 8745 |     #36 0x7f85e06ef687 in XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5736:22
[task 2022-11-17T19:51:18.862Z] 19:51:18     INFO - PID 8745 |     #37 0x7f85e06f1293 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5929:8
[task 2022-11-17T19:51:18.862Z] 19:51:18     INFO - PID 8745 |     #38 0x7f85e06f1ff9 in XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5985:21
[task 2022-11-17T19:51:18.863Z] 19:51:18     INFO - PID 8745 |     #39 0x55f3ccd5ccee in do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:226:22
[task 2022-11-17T19:51:18.863Z] 19:51:18     INFO - PID 8745 |     #40 0x55f3ccd5ccee in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:430:16
[task 2022-11-17T19:51:18.864Z] 19:51:18     INFO - PID 8745 |     #41 0x7f85fb04eb96 in __libc_start_main /tmp/glibc/csu/../csu/libc-start.c:310
[task 2022-11-17T19:51:18.864Z] 19:51:18     INFO - PID 8745 | ==8745==ABORTING
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.901Z] 19:51:18     INFO - PID 8745 | Exiting due to channel error.
[task 2022-11-17T19:51:18.902Z] 19:51:18     INFO - IOError on command, setting status to CRASH
[task 2022-11-17T19:51:18.902Z] 19:51:18     INFO - TEST-KNOWN-INTERMITTENT-CRASH | /fs/FileSystemSyncAccessHandle-close.https.tentative.worker.html | took 1306ms
Component: XPCOM → DOM: File
See Also: → 1801288
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.