Closed Bug 1800309 Opened 2 years ago Closed 2 years ago

Intermittent LeakSanitizer | leak at mozilla::ipc::MessageChannel::MessageChannel, mozilla::ipc::IToplevelProtocol::IToplevelProtocol, PProfilerChild, mozilla::ProfilerChild::ProfilerChild

Categories

(Core :: Gecko Profiler, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2022-11-12T09:43:20.259Z] 09:43:20     INFO - TEST-START | devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js
<...>
[task 2022-11-12T09:43:27.960Z] 09:43:27     INFO - GECKO(5144) | -----------------------------------------------------
[task 2022-11-12T09:43:27.960Z] 09:43:27     INFO - GECKO(5144) | Suppressions used:
[task 2022-11-12T09:43:27.960Z] 09:43:27     INFO - GECKO(5144) |   count      bytes template
[task 2022-11-12T09:43:27.960Z] 09:43:27     INFO - GECKO(5144) |       2         64 nsComponentManagerImpl
[task 2022-11-12T09:43:27.961Z] 09:43:27     INFO - GECKO(5144) |     633      18115 libfontconfig.so
[task 2022-11-12T09:43:27.961Z] 09:43:27     INFO - GECKO(5144) |       3      16399 libglib-2.0.so
[task 2022-11-12T09:43:27.961Z] 09:43:27     INFO - GECKO(5144) | -----------------------------------------------------
[task 2022-11-12T09:43:28.041Z] 09:43:28     INFO - TEST-INFO | Main app process: exit 0
[task 2022-11-12T09:43:28.042Z] 09:43:28     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2022-11-12T09:43:28.042Z] 09:43:28     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2022-11-12T09:43:28.043Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ipc::MessageChannel::MessageChannel, mozilla::ipc::IToplevelProtocol::IToplevelProtocol, PProfilerChild, mozilla::ProfilerChild::ProfilerChild
[task 2022-11-12T09:43:28.043Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, mozilla::BufferList, Pickle::Pickle, IPC::Message::Message
[task 2022-11-12T09:43:28.045Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at maybe_pod_malloc, pod_malloc, mozilla::detail::VectorImpl, append
[task 2022-11-12T09:43:28.046Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at maybe_pod_realloc, pod_realloc, growTo, mozilla::Vector
[task 2022-11-12T09:43:28.046Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeRefPtr, mozilla::ProfilerChild::RecvGatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-11-12T09:43:28.046Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at GetWeakProxy, mozilla::ipc::IPDLResolverInner::IPDLResolverInner, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-11-12T09:43:28.047Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at _M_init_functor, _M_init_functor, function, mozilla::PProfilerChild::OnMessageReceived
[task 2022-11-12T09:43:28.047Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ChildProfilerController::SetupProfilerChild, applyImpl, apply, mozilla::detail::RunnableMethodImpl
[task 2022-11-12T09:43:28.047Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewRunnableFunction, mozilla::ProfilerChild::GatherProfileThreadFunction, _pt_root, start_thread
[task 2022-11-12T09:43:28.048Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, IPC::Message::IPDLMessage, Reply_GatherProfile, mozilla::PProfilerChild::OnMessageReceived
[task 2022-11-12T09:43:28.051Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::ProfilerChild::GatherProfileThreadFunction, _pt_root, start_thread
[task 2022-11-12T09:43:28.052Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUniqueFallible, mozilla::baseprofiler::ChunkedJSONWriteFunc::AllocChunk, MakeUnique, mozilla::baseprofiler::SpliceableChunkedJSONWriter::SpliceableChunkedJSONWriter
[task 2022-11-12T09:43:28.052Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::baseprofiler::SpliceableChunkedJSONWriter::SpliceableChunkedJSONWriter, MakeUnique, mozilla::ProfilerChild::GatherProfileThreadFunction
[task 2022-11-12T09:43:28.052Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUniqueFallible, mozilla::baseprofiler::ChunkedJSONWriteFunc::AllocChunk, mozilla::baseprofiler::ChunkedJSONWriteFunc::Write, EndArray
[task 2022-11-12T09:43:28.056Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at RefPtr, mozilla::ProfilerChild::RecvGatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-11-12T09:43:28.056Z] 09:43:28    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage, mozilla::ipc::MessageChannel::DispatchMessage, mozilla::ipc::MessageChannel::RunMessage
[task 2022-11-12T09:43:28.056Z] 09:43:28     INFO - runtests.py | Application ran for: 0:01:41.506559

Some kind of profiler runnable leak. My guess would be that it failed to dispatch late in shutdown so we leaked it. I think I saw a similar one recently.

Component: General → Gecko Profiler
See Also: → 1799257
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.