Closed Bug 1765221 Opened 3 years ago Closed 3 years ago

Intermittent LeakSanitizer | leak at mozilla::ipc::ActorLifecycleProxy::GetWeakProxy, mozilla::ipc::IPDLResolverInner::IPDLResolverInner, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage

Categories

(Core :: Gecko Profiler, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1757610

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2022-04-18T22:15:52.814Z] 22:15:52     INFO - TEST-START | devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js
<...>
[task 2022-04-18T22:15:57.036Z] 22:15:57     INFO - GECKO(4062) | ###!!! [Parent][PCompositorManagerParent] Error: RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
[task 2022-04-18T22:15:58.981Z] 22:15:58     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:15:58.981Z] 22:15:58     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:15:58.981Z] 22:15:58     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:15:58.981Z] 22:15:58     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:15:58.981Z] 22:15:58     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:15:58.981Z] 22:15:58     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:15:59.039Z] 22:15:59     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:15:59.040Z] 22:15:59     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:15:59.040Z] 22:15:59     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:15:59.040Z] 22:15:59     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:15:59.040Z] 22:15:59     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:15:59.040Z] 22:15:59     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:15:59.200Z] 22:15:59     INFO - GECKO(4062) | ###!!! [Parent][PImageBridgeParent] Error: RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost
[task 2022-04-18T22:15:59.216Z] 22:15:59     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:15:59.216Z] 22:15:59     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:15:59.216Z] 22:15:59     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:15:59.216Z] 22:15:59     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:15:59.216Z] 22:15:59     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:15:59.216Z] 22:15:59     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.375Z] 22:16:00     INFO - GECKO(4062) | Waiting in WillDestroyCurrentMessageLoop for pid 4152
[task 2022-04-18T22:16:00.433Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.433Z] 22:16:00     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:16:00.433Z] 22:16:00     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:16:00.433Z] 22:16:00     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:16:00.433Z] 22:16:00     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:16:00.433Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.448Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.448Z] 22:16:00     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:16:00.448Z] 22:16:00     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:16:00.448Z] 22:16:00     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:16:00.448Z] 22:16:00     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:16:00.449Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.505Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.505Z] 22:16:00     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:16:00.505Z] 22:16:00     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:16:00.505Z] 22:16:00     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:16:00.505Z] 22:16:00     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:16:00.505Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.546Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.547Z] 22:16:00     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:16:00.550Z] 22:16:00     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:16:00.551Z] 22:16:00     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:16:00.553Z] 22:16:00     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:16:00.553Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.567Z] 22:16:00     INFO - GECKO(4062) | Waiting in WillDestroyCurrentMessageLoop for pid 4211
[task 2022-04-18T22:16:00.568Z] 22:16:00     INFO - GECKO(4062) | Waiting in WillDestroyCurrentMessageLoop for pid 4219
[task 2022-04-18T22:16:00.577Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.578Z] 22:16:00     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:16:00.578Z] 22:16:00     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:16:00.579Z] 22:16:00     INFO - GECKO(4062) |      13        416 nsComponentManagerImpl
[task 2022-04-18T22:16:00.579Z] 22:16:00     INFO - GECKO(4062) |       2        288 libfontconfig.so
[task 2022-04-18T22:16:00.580Z] 22:16:00     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:00.587Z] 22:16:00     INFO - GECKO(4062) | Waiting in WillDestroyCurrentMessageLoop for pid 4213
[task 2022-04-18T22:16:00.614Z] 22:16:00     INFO - GECKO(4062) | Waiting in WillDestroyCurrentMessageLoop for pid 4174
[task 2022-04-18T22:16:02.102Z] 22:16:02     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:02.103Z] 22:16:02     INFO - GECKO(4062) | Suppressions used:
[task 2022-04-18T22:16:02.104Z] 22:16:02     INFO - GECKO(4062) |   count      bytes template
[task 2022-04-18T22:16:02.105Z] 22:16:02     INFO - GECKO(4062) |      13        400 nsComponentManagerImpl
[task 2022-04-18T22:16:02.105Z] 22:16:02     INFO - GECKO(4062) |     633      18115 libfontconfig.so
[task 2022-04-18T22:16:02.105Z] 22:16:02     INFO - GECKO(4062) |       1          9 libglib-2.0.so
[task 2022-04-18T22:16:02.105Z] 22:16:02     INFO - GECKO(4062) |       2        416 mozJSComponentLoader
[task 2022-04-18T22:16:02.105Z] 22:16:02     INFO - GECKO(4062) | -----------------------------------------------------
[task 2022-04-18T22:16:02.225Z] 22:16:02     INFO - TEST-INFO | Main app process: exit 0
[task 2022-04-18T22:16:02.226Z] 22:16:02     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2022-04-18T22:16:02.226Z] 22:16:02     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2022-04-18T22:16:02.227Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ipc::ActorLifecycleProxy::GetWeakProxy, mozilla::ipc::IPDLResolverInner::IPDLResolverInner, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-04-18T22:16:02.227Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::baseprofiler::SpliceableChunkedJSONWriter::SpliceableChunkedJSONWriter, MakeUnique, mozilla::ProfilerChild::GatherProfileThreadFunction
[task 2022-04-18T22:16:02.228Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeRefPtr, mozilla::ProfilerChild::RecvGatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-04-18T22:16:02.228Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ipc::MessageChannel::MessageChannel, mozilla::ipc::IToplevelProtocol::IToplevelProtocol, mozilla::PProfilerChild::PProfilerChild, mozilla::ProfilerChild::ProfilerChild
[task 2022-04-18T22:16:02.228Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewRunnableFunction, mozilla::ProfilerChild::GatherProfileThreadFunction, _pt_root, start_thread
[task 2022-04-18T22:16:02.229Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at _M_init_functor, _M_init_functor, function, mozilla::PProfilerChild::OnMessageReceived
[task 2022-04-18T22:16:02.229Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at maybe_pod_realloc, pod_realloc, growTo, mozilla::Vector
[task 2022-04-18T22:16:02.229Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, mozilla::BufferList, Pickle::Pickle, IPC::Message::Message
[task 2022-04-18T22:16:02.230Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage, mozilla::ipc::MessageChannel::DispatchMessage, mozilla::ipc::MessageChannel::MessageTask::Run
[task 2022-04-18T22:16:02.230Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::baseprofiler::ChunkedJSONWriteFunc::AllocChunk, mozilla::baseprofiler::ChunkedJSONWriteFunc::Write, mozilla::JSONWriter::EndCollection
[task 2022-04-18T22:16:02.238Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at RefPtr, mozilla::ProfilerChild::RecvGatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-04-18T22:16:02.238Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at IPC::Message::IPDLMessage, Reply_GatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-04-18T22:16:02.238Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::ProfilerChild::GatherProfileThreadFunction, _pt_root, start_thread
[task 2022-04-18T22:16:02.238Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ChildProfilerController::SetupProfilerChild, applyImpl, apply, mozilla::detail::RunnableMethodImpl
[task 2022-04-18T22:16:02.238Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at maybe_pod_malloc, pod_malloc, mozilla::detail::VectorImpl, append
[task 2022-04-18T22:16:02.238Z] 22:16:02    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::baseprofiler::ChunkedJSONWriteFunc::AllocChunk, MakeUnique, mozilla::baseprofiler::SpliceableChunkedJSONWriter::SpliceableChunkedJSONWriter
[task 2022-04-18T22:16:02.238Z] 22:16:02     INFO - runtests.py | Application ran for: 0:02:21.316927

The leak looks related to profiler IPC.

Component: General → Gecko Profiler
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.