Closed Bug 1799257 Opened 2 years ago Closed 1 year ago

Intermittent LeakSanitizer | leak at MakeUnique, IPC::Message::IPDLMessage, Reply_GatherProfile, mozilla::PProfilerChild::OnMessageReceived

Categories

(Core :: Gecko Profiler, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered])

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


[task 2022-11-05T02:17:15.627Z] 02:17:15     INFO - TEST-START | devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js
<...>
[task 2022-11-05T02:17:23.338Z] 02:17:23     INFO - GECKO(6575) | Suppressions used:
[task 2022-11-05T02:17:23.338Z] 02:17:23     INFO - GECKO(6575) |   count      bytes template
[task 2022-11-05T02:17:23.339Z] 02:17:23     INFO - GECKO(6575) |       2         64 nsComponentManagerImpl
[task 2022-11-05T02:17:23.339Z] 02:17:23     INFO - GECKO(6575) |     633      18115 libfontconfig.so
[task 2022-11-05T02:17:23.339Z] 02:17:23     INFO - GECKO(6575) |       3      16399 libglib-2.0.so
[task 2022-11-05T02:17:23.340Z] 02:17:23     INFO - GECKO(6575) | -----------------------------------------------------
[task 2022-11-05T02:17:23.421Z] 02:17:23     INFO - TEST-INFO | Main app process: exit 0
[task 2022-11-05T02:17:23.421Z] 02:17:23     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2022-11-05T02:17:23.422Z] 02:17:23     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2022-11-05T02:17:23.423Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, IPC::Message::IPDLMessage, Reply_GatherProfile, mozilla::PProfilerChild::OnMessageReceived
[task 2022-11-05T02:17:23.424Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUniqueFallible, mozilla::baseprofiler::ChunkedJSONWriteFunc::AllocChunk, mozilla::baseprofiler::ChunkedJSONWriteFunc::Write, EndArray
[task 2022-11-05T02:17:23.426Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ipc::MessageChannel::MessageChannel, mozilla::ipc::IToplevelProtocol::IToplevelProtocol, PProfilerChild, mozilla::ProfilerChild::ProfilerChild
[task 2022-11-05T02:17:23.426Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at RefPtr, mozilla::ProfilerChild::RecvGatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-11-05T02:17:23.426Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::ProfilerChild::GatherProfileThreadFunction, _pt_root, start_thread
[task 2022-11-05T02:17:23.426Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUniqueFallible, mozilla::baseprofiler::ChunkedJSONWriteFunc::AllocChunk, MakeUnique, mozilla::baseprofiler::SpliceableChunkedJSONWriter::SpliceableChunkedJSONWriter
[task 2022-11-05T02:17:23.426Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewRunnableFunction, mozilla::ProfilerChild::GatherProfileThreadFunction, _pt_root, start_thread
[task 2022-11-05T02:17:23.426Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at GetWeakProxy, mozilla::ipc::IPDLResolverInner::IPDLResolverInner, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-11-05T02:17:23.427Z] 02:17:23    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-05T02:17:23.429Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at _M_init_functor, _M_init_functor, function, mozilla::PProfilerChild::OnMessageReceived
[task 2022-11-05T02:17:23.429Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ChildProfilerController::SetupProfilerChild, applyImpl, apply, mozilla::detail::RunnableMethodImpl
[task 2022-11-05T02:17:23.430Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at maybe_pod_malloc, pod_malloc, mozilla::detail::VectorImpl, append
[task 2022-11-05T02:17:23.430Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at maybe_pod_realloc, pod_realloc, growTo, mozilla::Vector
[task 2022-11-05T02:17:23.430Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeRefPtr, mozilla::ProfilerChild::RecvGatherProfile, mozilla::PProfilerChild::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchAsyncMessage
[task 2022-11-05T02:17:23.430Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::baseprofiler::SpliceableChunkedJSONWriter::SpliceableChunkedJSONWriter, MakeUnique, mozilla::ProfilerChild::GatherProfileThreadFunction
[task 2022-11-05T02:17:23.431Z] 02:17:23    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at pod_malloc, mozilla::BufferList, Pickle::Pickle, IPC::Message::Message
[task 2022-11-05T02:17:23.431Z] 02:17:23     INFO - runtests.py | Application ran for: 0:01:43.870812

Looks like some Gecko profiler runnable leaked, presumably from being dispatched too late in shutdown.

Component: General → Gecko Profiler
See Also: → 1800309
See Also: → 1740390
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.