Closed Bug 1759648 Opened 2 years ago Closed 2 years ago

Intermittent SUMMARY: AddressSanitizer: bad-malloc_usable_size /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:182:3 in malloc_usable_size

Categories

(Toolkit :: Telemetry, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1611389

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


INFO - TEST-START | ipc/glue/test/browser/browser_utility_memoryReport.js
[task 2022-03-15T06:11:19.798Z] 06:11:19     INFO - GECKO(7619) | =================================================================
[task 2022-03-15T06:11:19.799Z] 06:11:19    ERROR - GECKO(7619) | ==7619==ERROR: AddressSanitizer: attempting to call malloc_usable_size() for pointer which is not owned: 0x62d00191fbc8
[task 2022-03-15T06:11:20.532Z] 06:11:20     INFO - GECKO(7619) |     #0 0x5624226757dd in malloc_usable_size /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:182:3
[task 2022-03-15T06:11:20.535Z] 06:11:20     INFO - GECKO(7619) |     #1 0x5624225f973d in Unwind /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_stacktrace.h:131:5
[task 2022-03-15T06:11:20.535Z] 06:11:20     INFO - GECKO(7619) |     #2 0x5624225f973d in __asan::asan_malloc_usable_size(void const*, unsigned long, unsigned long) /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_allocator.cpp:1074:5
[task 2022-03-15T06:11:20.536Z] 06:11:20     INFO - GECKO(7619) |     #3 0x7fa46265d8b5 in sizeOfExcludingThis /builds/worker/workspace/obj-build/dist/include/mozilla/LinkedList.h:620:12
[task 2022-03-15T06:11:20.537Z] 06:11:20     INFO - GECKO(7619) |     #4 0x7fa46265d8b5 in js::GlobalHelperThreadState::addSizeOfIncludingThis(JS::GlobalStats*, js::AutoLockHelperThreadState&) const /builds/worker/checkouts/gecko/js/src/vm/HelperThreads.cpp:1694:27
[task 2022-03-15T06:11:20.537Z] 06:11:20     INFO - GECKO(7619) |     #5 0x7fa46273c210 in JS::CollectGlobalStats(JS::GlobalStats*) /builds/worker/checkouts/gecko/js/src/vm/MemoryMetrics.cpp:748:23
[task 2022-03-15T06:11:20.538Z] 06:11:20     INFO - GECKO(7619) |     #6 0x7fa457ef934e in xpc::JSReporter::CollectReports(nsBaseHashtable<nsIntegralHashKey<unsigned long, 0>, nsTString<char>, nsTString<char>, nsDefaultConverter<nsTString<char>, nsTString<char> > >*, nsBaseHashtable<nsIntegralHashKey<unsigned long, 0>, nsTString<char>, nsTString<char>, nsDefaultConverter<nsTString<char>, nsTString<char> > >*, nsIHandleReportCallback*, nsISupports*, bool) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSRuntime.cpp:2280:8
[task 2022-03-15T06:11:20.539Z] 06:11:20     INFO - GECKO(7619) |     #7 0x7fa45917b24f in nsWindowMemoryReporter::CollectReports(nsIHandleReportCallback*, nsISupports*, bool) /builds/worker/checkouts/gecko/dom/base/nsWindowMemoryReporter.cpp:574:3
[task 2022-03-15T06:11:20.539Z] 06:11:20     INFO - GECKO(7619) |     #8 0x7fa456839dbd in operator() /builds/worker/checkouts/gecko/xpcom/base/nsMemoryReporterManager.cpp:1858:19
[task 2022-03-15T06:11:20.542Z] 06:11:20     INFO - GECKO(7619) |     #9 0x7fa456839dbd in mozilla::detail::RunnableFunction<nsMemoryReporterManager::DispatchReporter(nsIMemoryReporter*, bool, nsIHandleReportCallback*, nsISupports*, bool)::$_1>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:531:5
[task 2022-03-15T06:11:20.542Z] 06:11:20     INFO - GECKO(7619) |     #10 0x7fa4569ce322 in mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:467:16
[task 2022-03-15T06:11:20.543Z] 06:11:20     INFO - GECKO(7619) |     #11 0x7fa4569941bd in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:775:26
[task 2022-03-15T06:11:20.543Z] 06:11:20     INFO - GECKO(7619) |     #12 0x7fa456991a28 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:611:15
[task 2022-03-15T06:11:20.543Z] 06:11:20     INFO - GECKO(7619) |     #13 0x7fa456992139 in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:390:36
[task 2022-03-15T06:11:20.543Z] 06:11:20     INFO - GECKO(7619) |     #14 0x7fa4569d6d81 in operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:124:37
[task 2022-03-15T06:11:20.544Z] 06:11:20     INFO - GECKO(7619) |     #15 0x7fa4569d6d81 in mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:531:5
[task 2022-03-15T06:11:20.544Z] 06:11:20     INFO - GECKO(7619) |     #16 0x7fa4569b4457 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1173:16
[task 2022-03-15T06:11:20.545Z] 06:11:20     INFO - GECKO(7619) |     #17 0x7fa4569bf93c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467:10
[task 2022-03-15T06:11:20.545Z] 06:11:20     INFO - GECKO(7619) |     #18 0x7fa457cba688 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21
[task 2022-03-15T06:11:20.546Z] 06:11:20     INFO - GECKO(7619) |     #19 0x7fa457bc6421 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10
[task 2022-03-15T06:11:20.546Z] 06:11:20     INFO - GECKO(7619) |     #20 0x7fa457bc6421 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3
<...>
INFO - GECKO(7619) |     #47 0x7fa459d493dc in mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/PromiseBinding.cpp:35:8
[task 2022-03-15T06:11:21.037Z] 06:11:21     INFO - GECKO(7619) |     #48 0x7fa4567ad637 in Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:89:12
[task 2022-03-15T06:11:21.037Z] 06:11:21     INFO - GECKO(7619) |     #49 0x7fa4567ad637 in Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:102:12
[task 2022-03-15T06:11:21.038Z] 06:11:21     INFO - GECKO(7619) |     #50 0x7fa4567ad637 in mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:213:18
[task 2022-03-15T06:11:21.039Z] 06:11:21     INFO - GECKO(7619) |     #51 0x7fa45678da47 in mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:676:17
[task 2022-03-15T06:11:21.039Z] 06:11:21     INFO - GECKO(7619) |     #52 0x7fa45b76ac70 in LeaveMicroTask /builds/worker/workspace/obj-build/dist/include/mozilla/CycleCollectedJSContext.h:244:7
[task 2022-03-15T06:11:21.040Z] 06:11:21     INFO - GECKO(7619) |     #53 0x7fa45b76ac70 in ~nsAutoMicroTask /builds/worker/workspace/obj-build/dist/include/mozilla/CycleCollectedJSContext.h:396:13
[task 2022-03-15T06:11:21.041Z] 06:11:21     INFO - GECKO(7619) |     #54 0x7fa45b76ac70 in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*) /builds/worker/checkouts/gecko/dom/events/EventListenerManager.cpp:1318:3
[task 2022-03-15T06:11:21.042Z] 06:11:21     INFO - GECKO(7619) |     #55 0x7fa45b76c1fc in mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*, bool) /builds/worker/checkouts/gecko/dom/events/EventListenerManager.cpp:1507:17
[task 2022-03-15T06:11:21.042Z] 06:11:21     INFO - GECKO(7619) |     #56 0x7fa45b759fee in mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) /builds/worker/checkouts/gecko/dom/events/EventDispatcher.cpp:348:17
[task 2022-03-15T06:11:21.045Z] 06:11:21     INFO - GECKO(7619) |     #57 0x7fa45b7587fd in mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) /builds/worker/checkouts/gecko/dom/events/EventDispatcher.cpp:550:16
[task 2022-03-15T06:11:21.046Z] 06:11:21     INFO - GECKO(7619) |     #58 0x7fa45b75caed in mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) /builds/worker/checkouts/gecko/dom/events/EventDispatcher.cpp:1119:11
[task 2022-03-15T06:11:21.046Z] 06:11:21     INFO - GECKO(7619) |     #59 0x7fa45b762879 in mozilla::EventDispatcher::DispatchDOMEvent(nsISupports*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsPresContext*, nsEventStatus*) /builds/worker/checkouts/gecko/dom/events/EventDispatcher.cpp
[task 2022-03-15T06:11:21.047Z] 06:11:21     INFO - GECKO(7619) |     #60 0x7fa45e423230 in nsPresContext::FireDOMPaintEvent(nsTArray<nsRect>*, mozilla::layers::BaseTransactionId<mozilla::layers::TransactionIdType>, mozilla::TimeStamp) /builds/worker/checkouts/gecko/layout/base/nsPresContext.cpp:2050:3
[task 2022-03-15T06:11:21.048Z] 06:11:21     INFO - GECKO(7619) |     #61 0x7fa45e43076f in DelayedFireDOMPaintEvent::Run() /builds/worker/checkouts/gecko/layout/base/nsPresContext.cpp:2178:21
[task 2022-03-15T06:11:21.051Z] 06:11:21     INFO - GECKO(7619) |     #62 0x7fa4569ce322 in mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:467:16
[task 2022-03-15T06:11:21.052Z] 06:11:21     INFO - GECKO(7619) |     #63 0x7fa4569941bd in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:775:26
[task 2022-03-15T06:11:21.053Z] 06:11:21     INFO - GECKO(7619) |     #64 0x7fa456991a28 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:611:15
[task 2022-03-15T06:11:21.054Z] 06:11:21     INFO - GECKO(7619) |     #65 0x7fa456992139 in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:390:36
[task 2022-03-15T06:11:21.055Z] 06:11:21     INFO - GECKO(7619) |     #66 0x7fa4569d6d81 in operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:124:37
[task 2022-03-15T06:11:21.056Z] 06:11:21     INFO - GECKO(7619) |     #67 0x7fa4569d6d81 in mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:531:5
[task 2022-03-15T06:11:21.057Z] 06:11:21     INFO - GECKO(7619) |     #68 0x7fa4569b4457 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1173:16
[task 2022-03-15T06:11:21.058Z] 06:11:21     INFO - GECKO(7619) |     #69 0x7fa4569bf93c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467:10
[task 2022-03-15T06:11:21.059Z] 06:11:21     INFO - GECKO(7619) |     #70 0x7fa457cba688 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21
[task 2022-03-15T06:11:21.060Z] 06:11:21     INFO - GECKO(7619) |     #71 0x7fa457bc6421 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10
[task 2022-03-15T06:11:21.061Z] 06:11:21     INFO - GECKO(7619) |     #72 0x7fa457bc6421 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3
[task 2022-03-15T06:11:21.062Z] 06:11:21     INFO - GECKO(7619) |     #73 0x7fa457bc6421 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3
[task 2022-03-15T06:11:21.063Z] 06:11:21     INFO - GECKO(7619) |     #74 0x7fa45dd47c37 in nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:137:27
[task 2022-03-15T06:11:21.064Z] 06:11:21     INFO - GECKO(7619) |     #75 0x7fa461fea5c7 in nsAppStartup::Run() /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:295:30
[task 2022-03-15T06:11:21.064Z] 06:11:21     INFO - GECKO(7619) |     #76 0x7fa4621eff84 in XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5739:22
[task 2022-03-15T06:11:21.065Z] 06:11:21     INFO - GECKO(7619) |     #77 0x7fa4621f1ae9 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5924:8
[task 2022-03-15T06:11:21.066Z] 06:11:21     INFO - GECKO(7619) |     #78 0x7fa4621f2823 in XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5983:21
[task 2022-03-15T06:11:21.066Z] 06:11:21     INFO - GECKO(7619) |     #79 0x5624226aa114 in do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:225:22
[task 2022-03-15T06:11:21.067Z] 06:11:21     INFO - GECKO(7619) |     #80 0x5624226aa114 in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:395:16
[task 2022-03-15T06:11:21.068Z] 06:11:21     INFO - GECKO(7619) |     #81 0x7fa479776b96 in __libc_start_main /tmp/glibc/csu/../csu/libc-start.c:310
[task 2022-03-15T06:11:21.069Z] 06:11:21     INFO - GECKO(7619) | SUMMARY: AddressSanitizer: bad-malloc_usable_size /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:182:3 in malloc_usable_size
[task 2022-03-15T06:11:21.069Z] 06:11:21     INFO - GECKO(7619) | ==7619==ABORTING
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.