Closed Bug 1587374 Opened 5 years ago Closed 5 years ago

Intermittent LeakSanitizer | leak at nsThreadManager::NewNamedThread, NS_NewNamedThread, NS_NewNamedThread, RunOnMainThread

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=270427783&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/NxjuOgwcTDC02fSB9vfpbg/runs/0/artifacts/public/logs/live_backing.log


[task 2019-10-09T10:12:32.850Z] 10:12:32 INFO - TEST-START | /service-workers/service-worker/ServiceWorkerGlobalScope/update.https.html
[task 2019-10-09T10:12:32.857Z] 10:12:32 INFO - Closing window 39
[task 2019-10-09T10:12:32.959Z] 10:12:32 INFO - PID 6061 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-10-09T10:12:33.955Z] 10:12:33 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:33.955Z] 10:12:33 INFO - PID 6061 | Suppressions used:
[task 2019-10-09T10:12:33.955Z] 10:12:33 INFO - PID 6061 | count bytes template
[task 2019-10-09T10:12:33.956Z] 10:12:33 INFO - PID 6061 | 27 832 nsComponentManagerImpl
[task 2019-10-09T10:12:33.958Z] 10:12:33 INFO - PID 6061 | 611 17713 libfontconfig.so
[task 2019-10-09T10:12:33.958Z] 10:12:33 INFO - PID 6061 | 1 29 libglib-2.0.so
[task 2019-10-09T10:12:33.958Z] 10:12:33 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:35.137Z] 10:12:35 INFO - PID 6061 | JavaScript error: , line 0: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2019-10-09T10:12:35.153Z] 10:12:35 INFO - PID 6061 | JavaScript error: https://web-platform.test:8443/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.py, line 23: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2019-10-09T10:12:35.173Z] 10:12:35 INFO - PID 6061 | JavaScript error: , line 0: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2019-10-09T10:12:35.194Z] 10:12:35 INFO - .
[task 2019-10-09T10:12:35.195Z] 10:12:35 INFO - TEST-OK | /service-workers/service-worker/ServiceWorkerGlobalScope/update.https.html | took 2346ms
[task 2019-10-09T10:12:35.224Z] 10:12:35 INFO - PID 6061 | 1570615955218 Marionette INFO Stopped listening on port 60768
[task 2019-10-09T10:12:35.523Z] 10:12:35 INFO - PID 6061 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-10-09T10:12:36.778Z] 10:12:36 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:36.779Z] 10:12:36 INFO - PID 6061 | Suppressions used:
[task 2019-10-09T10:12:36.779Z] 10:12:36 INFO - PID 6061 | count bytes template
[task 2019-10-09T10:12:36.779Z] 10:12:36 INFO - PID 6061 | 27 832 nsComponentManagerImpl
[task 2019-10-09T10:12:36.779Z] 10:12:36 INFO - PID 6061 | 2 288 libfontconfig.so
[task 2019-10-09T10:12:36.780Z] 10:12:36 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:36.857Z] 10:12:36 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:36.858Z] 10:12:36 INFO - PID 6061 | Suppressions used:
[task 2019-10-09T10:12:36.858Z] 10:12:36 INFO - PID 6061 | count bytes template
[task 2019-10-09T10:12:36.858Z] 10:12:36 INFO - PID 6061 | 27 832 nsComponentManagerImpl
[task 2019-10-09T10:12:36.858Z] 10:12:36 INFO - PID 6061 | 611 17713 libfontconfig.so
[task 2019-10-09T10:12:36.858Z] 10:12:36 INFO - PID 6061 | 1 29 libglib-2.0.so
[task 2019-10-09T10:12:36.858Z] 10:12:36 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:36.963Z] 10:12:36 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:36.963Z] 10:12:36 INFO - PID 6061 | Suppressions used:
[task 2019-10-09T10:12:36.964Z] 10:12:36 INFO - PID 6061 | count bytes template
[task 2019-10-09T10:12:36.964Z] 10:12:36 INFO - PID 6061 | 27 832 nsComponentManagerImpl
[task 2019-10-09T10:12:36.964Z] 10:12:36 INFO - PID 6061 | 611 17713 libfontconfig.so
[task 2019-10-09T10:12:36.964Z] 10:12:36 INFO - PID 6061 | 1 29 libglib-2.0.so
[task 2019-10-09T10:12:36.964Z] 10:12:36 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:37.141Z] 10:12:37 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:37.142Z] 10:12:37 INFO - PID 6061 | Suppressions used:
[task 2019-10-09T10:12:37.143Z] 10:12:37 INFO - PID 6061 | count bytes template
[task 2019-10-09T10:12:37.144Z] 10:12:37 INFO - PID 6061 | 27 832 nsComponentManagerImpl
[task 2019-10-09T10:12:37.145Z] 10:12:37 INFO - PID 6061 | 611 17713 libfontconfig.so
[task 2019-10-09T10:12:37.145Z] 10:12:37 INFO - PID 6061 | 1 29 libglib-2.0.so
[task 2019-10-09T10:12:37.145Z] 10:12:37 INFO - PID 6061 | -----------------------------------------------------
[task 2019-10-09T10:12:39.911Z] 10:12:39 INFO - PID 6061 | =================================================================
[task 2019-10-09T10:12:39.912Z] 10:12:39 INFO - PID 6061 | LeakSanitizer: detected memory leaks
[task 2019-10-09T10:12:39.919Z] 10:12:39 INFO - PID 6061 | Indirect leak of 2048 byte(s) in 1 object(s) allocated from:
[task 2019-10-09T10:12:39.920Z] 10:12:39 INFO - PID 6061 | #0 0x5653933c39ca in calloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:155:3
[task 2019-10-09T10:12:39.924Z] 10:12:39 INFO - PID 6061 | #1 0x5653933f8f41 in moz_xcalloc /builds/worker/workspace/build/src/memory/mozalloc/mozalloc.cpp:61:15
[task 2019-10-09T10:12:39.924Z] 10:12:39 INFO - PID 6061 | #2 0x7f6d71cd31b1 in NewPage /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Queue.h:180:31
[task 2019-10-09T10:12:39.924Z] 10:12:39 INFO - PID 6061 | #3 0x7f6d71cd31b1 in mozilla::Queue<nsCOMPtr<nsIRunnable>, 256ul>::Push(nsCOMPtr<nsIRunnable>&&) /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Queue.h:37
[task 2019-10-09T10:12:39.924Z] 10:12:39 INFO - PID 6061 | #4 0x7f6d71cd3031 in mozilla::EventQueue::PutEvent(already_AddRefed<nsIRunnable>&&, mozilla::EventQueuePriority, mozilla::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/workspace/build/src/xpcom/threads/EventQueue.cpp:18:10
[task 2019-10-09T10:12:39.924Z] 10:12:39 INFO - PID 6061 | #5 0x7f6d71cf4bcc in mozilla::ThreadEventQueue<mozilla::EventQueue>::PutEventInternal(already_AddRefed<nsIRunnable>&&, mozilla::EventQueuePriority, mozilla::ThreadEventQueue<mozilla::EventQueue>::NestedSink*) /builds/worker/workspace/build/src/xpcom/threads/ThreadEventQueue.cpp:113:19
[task 2019-10-09T10:12:39.924Z] 10:12:39 INFO - PID 6061 | #6 0x7f6d71cfa3f3 in mozilla::ThreadEventTarget::Dispatch(already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/workspace/build/src/xpcom/threads/ThreadEventTarget.cpp:159:15
[task 2019-10-09T10:12:39.926Z] 10:12:39 INFO - PID 6061 | #7 0x7f6d72e1f516 in mozilla::ipc::MessageChannel::OnMessageReceivedFromLink(IPC::Message&&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1336:11
[task 2019-10-09T10:12:39.926Z] 10:12:39 INFO - PID 6061 | #8 0x7f6d72e329d9 in mozilla::ipc::ThreadLink::SendMessage(IPC::Message*) /builds/worker/workspace/build/src/ipc/glue/MessageLink.cpp:216:33
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #9 0x7f6d72e1b4b4 in SendMessageToLink /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1020:10
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #10 0x7f6d72e1b4b4 in mozilla::ipc::MessageChannel::Send(IPC::Message*) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1010
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #11 0x7f6d72e3e29d in mozilla::ipc::IProtocol::ChannelSend(IPC::Message*) /builds/worker/workspace/build/src/ipc/glue/ProtocolUtils.cpp:477:22
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #12 0x7f6d7349835d in mozilla::dom::quota::PQuotaChild::SendAbortOperationsForProcess(mozilla::dom::IdType<mozilla::dom::ContentParent> const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PQuotaChild.cpp:367:21
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #13 0x7f6d796c2af3 in mozilla::dom::quota::QuotaManagerService::AbortOperationsForProcess(mozilla::dom::IdType<mozilla::dom::ContentParent>) /builds/worker/workspace/build/src/dom/quota/QuotaManagerService.cpp:234:7
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #14 0x7f6d79cfe4a9 in mozilla::dom::ContentParent::ShutDownProcess(mozilla::dom::ContentParent::ShutDownMethod) /builds/worker/workspace/build/src/dom/ipc/ContentParent.cpp:1466:10
[task 2019-10-09T10:12:39.933Z] 10:12:39 INFO - PID 6061 | #15 0x7f6d79d069a0 in mozilla::dom::ContentParent::ActorDestroy(mozilla::ipc::IProtocol::ActorDestroyReason) /builds/worker/workspace/build/src/dom/ipc/ContentParent.cpp:1635:3
[task 2019-10-09T10:12:39.934Z] 10:12:39 INFO - PID 6061 | #16 0x7f6d72e3e803 in mozilla::ipc::IProtocol::DestroySubtree(mozilla::ipc::IProtocol::ActorDestroyReason) /builds/worker/workspace/build/src/ipc/glue/ProtocolUtils.cpp:572:3
[task 2019-10-09T10:12:39.934Z] 10:12:39 INFO - PID 6061 | #17 0x7f6d730a3c92 in mozilla::dom::PContentParent::OnChannelClose() /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PContentParent.cpp:12911:5
[task 2019-10-09T10:12:39.934Z] 10:12:39 INFO - PID 6061 | #18 0x7f6d79cfe4fd in mozilla::dom::ContentParent::ShutDownProcess(mozilla::dom::ContentParent::ShutDownMethod) /builds/worker/workspace/build/src/dom/ipc/ContentParent.cpp:1476:5
[task 2019-10-09T10:12:39.934Z] 10:12:39 INFO - PID 6061 | #19 0x7f6d79d0505d in mozilla::dom::ContentParent::RecvFinishShutdown() /builds/worker/workspace/build/src/dom/ipc/ContentParent.cpp:1504:3
[task 2019-10-09T10:12:39.935Z] 10:12:39 INFO - PID 6061 | #20 0x7f6d730732cd in mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PContentParent.cpp:8932:57
[task 2019-10-09T10:12:39.935Z] 10:12:39 INFO - PID 6061 | #21 0x7f6d72e2c5d0 in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2185:25
[task 2019-10-09T10:12:39.941Z] 10:12:39 INFO - PID 6061 | #22 0x7f6d72e2884e in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2109:9
[task 2019-10-09T10:12:39.942Z] 10:12:39 INFO - PID 6061 | #23 0x7f6d72e2a4fb in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1954:3
[task 2019-10-09T10:12:39.942Z] 10:12:39 INFO - PID 6061 | #24 0x7f6d72e2aad7 in mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1985:13
[task 2019-10-09T10:12:39.943Z] 10:12:39 INFO - PID 6061 | #25 0x7f6d71d10d39 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1225:14
[task 2019-10-09T10:12:39.943Z] 10:12:39 INFO - PID 6061 | #26 0x7f6d71d179a8 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10
[task 2019-10-09T10:12:39.944Z] 10:12:39 INFO - PID 6061 | #27 0x7f6d72e3390a in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:88:21
[task 2019-10-09T10:12:39.944Z] 10:12:39 INFO - PID 6061 | #28 0x7f6d72d508e2 in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:315:10
[task 2019-10-09T10:12:39.945Z] 10:12:39 INFO - PID 6061 | #29 0x7f6d72d508e2 in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:308
[task 2019-10-09T10:12:39.945Z] 10:12:39 INFO - PID 6061 | #30 0x7f6d72d508e2 in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:290
[task 2019-10-09T10:12:39.946Z] 10:12:39 INFO - PID 6061 | #31 0x7f6d7a675b59 in nsBaseAppShell::Run() /builds/worker/workspace/build/src/widget/nsBaseAppShell.cpp:137:27
[task 2019-10-09T10:12:39.946Z] 10:12:39 INFO - PID 6061 | #32 0x7f6d7e120000 in nsAppStartup::Run() /builds/worker/workspace/build/src/toolkit/components/startup/nsAppStartup.cpp:276:30
[task 2019-10-09T10:12:39.947Z] 10:12:39 INFO - PID 6061 | #33 0x7f6d7e39f183 in XREMain::XRE_mainRun() /builds/worker/workspace/build/src/toolkit/xre/nsAppRunner.cpp:4600:22

Priority: -- → P2

Could be related to Bug 1456995

See Also: → 1456995
Keywords: regression

The rate went down now, but we'll keep an eye on it for some other day.

Flags: needinfo?(perry)
Priority: P2 → P3
Whiteboard: [stockwell needswork:owner]

No more occurrences in the last months.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.