Closed Bug 1641746 Opened 2 years ago Closed 1 year ago

Intermittent LeakSanitizer | leak at mozilla::net::nsSocketTransportService::CreateRoutedTransport, mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetupStreams, mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetupPrimaryStreams, mozilla::net::

Categories

(Core :: Networking: HTTP, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2020-05-29T01:38:29.626Z] 01:38:29 INFO - PID 14575 | Direct leak of 792 byte(s) in 1 object(s) allocated from:
[task 2020-05-29T01:38:29.626Z] 01:38:29 INFO - PID 14575 | #0 0x558f85c8a36d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:145:3
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #1 0x558f85cc02bd in moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #2 0x7f100f3718b8 in operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #3 0x7f100f3718b8 in mozilla::net::nsSocketTransportService::CreateRoutedTransport(nsTArray<nsTString<char> > const&, nsTSubstring<char> const&, int, nsTSubstring<char> const&, int, nsIProxyInfo*, nsISocketTransport**) /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:898:37
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #4 0x7f100fd3d336 in mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetupStreams(nsISocketTransport**, nsIAsyncInputStream**, nsIAsyncOutputStream**, bool) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:4154:21
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #5 0x7f100fd311af in mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetupPrimaryStreams() /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:4291:8
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #6 0x7f100fd29391 in mozilla::net::nsHttpConnectionMgr::CreateTransport(mozilla::net::nsHttpConnectionMgr::nsConnectionEntry*, mozilla::net::nsAHttpTransaction*, unsigned int, bool, bool, bool, bool, mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo*) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:2118:23
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #7 0x7f100fd2834b in mozilla::net::nsHttpConnectionMgr::MakeNewConnection(mozilla::net::nsHttpConnectionMgr::nsConnectionEntry*, mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo*) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:1517:7
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #8 0x7f100fd20be9 in mozilla::net::nsHttpConnectionMgr::TryDispatchTransaction(mozilla::net::nsHttpConnectionMgr::nsConnectionEntry*, bool, mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo*) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:1677:19
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #9 0x7f100fd2f877 in mozilla::net::nsHttpConnectionMgr::ProcessNewTransaction(mozilla::net::nsHttpTransaction*) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:2014:10
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #10 0x7f100fd10c74 in mozilla::net::nsHttpConnectionMgr::OnMsgNewTransaction(int, mozilla::net::ARefBase*) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:2414:17
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #11 0x7f100fd797f6 in mozilla::net::ConnEvent::Run() /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:261:5
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #12 0x7f100f05f3a2 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1211:14
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #13 0x7f100f06955c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:501:10
[task 2020-05-29T01:38:29.627Z] 01:38:29 INFO - PID 14575 | #14 0x7f100f3731b1 in mozilla::net::nsSocketTransportService::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1134:11
[task 2020-05-29T01:38:29.628Z] 01:38:29 INFO - PID 14575 | #15 0x7f100f3750cc in non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp
[task 2020-05-29T01:38:29.628Z] 01:38:29 INFO - PID 14575 | #16 0x7f100f05f3a2 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1211:14
[task 2020-05-29T01:38:29.629Z] 01:38:29 INFO - PID 14575 | #17 0x7f100f06955c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:501:10
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #18 0x7f1010148349 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:302:20
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #19 0x7f1010067c77 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:315:10
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #20 0x7f1010067c77 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:308:3
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #21 0x7f1010067c77 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:290:3
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #22 0x7f100f058d1a in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:444:10
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #23 0x7f102c695d1e in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
[task 2020-05-29T01:38:29.630Z] 01:38:29 INFO - PID 14575 | #24 0x7f10303526da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
[task 2020-05-29T01:38:29.754Z] 01:38:29 INFO - Browser exited with return code 0
[task 2020-05-29T01:38:29.755Z] 01:38:29 INFO - PROCESS LEAKS None
[task 2020-05-29T01:38:29.755Z] 01:38:29 INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 1200 byte(s) leaked in 6 allocation(s).
[task 2020-05-29T01:38:29.755Z] 01:38:29 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2020-05-29T01:38:29.755Z] 01:38:29 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2020-05-29T01:38:29.755Z] 01:38:29 INFO - Allowed depth was 4
[task 2020-05-29T01:38:29.756Z] 01:38:29 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsSocketTransportService::CreateRoutedTransport, mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetupStreams, mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetupPrimaryStreams, mozilla::net::nsHttpConnectionMgr::CreateTransport
[task 2020-05-29T01:38:29.756Z] 01:38:29 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2020-05-29T01:38:29.756Z] 01:38:29 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, SetCapacity, SetCapacity
[task 2020-05-29T01:38:29.756Z] 01:38:29 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsDNSService::AsyncResolveInternal, nsDNSService::AsyncResolveNative, mozilla::net::nsSocketTransport::ResolveHost, mozilla::net::nsSocketTransport::OnSocketEvent
[task 2020-05-29T01:38:29.756Z] 01:38:29 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewInterfaceRequestorAggregation, NS_NewNotificationCallbacksAggregation, mozilla::net::nsSocketTransport::SetSecurityCallbacks, mozilla::net::nsSocketTransport::SetSecurityCallbacks
[task 2020-05-29T01:38:29.756Z] 01:38:29 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NewPage, mozilla::Queue, mozilla::detail::EventQueueInternal, nsThreadPool::PutEvent
[task 2020-05-29T01:38:29.758Z] 01:38:29 INFO - Closing logging queue

It looks like this is happening in the /trust-tokens/ directory of WPT. Looks like a fairly small leak. The stacks look like HTTP networking stuff. This is stuff that should show up with leakcheck, so I'd expect there would be a similar non-LSan leak intermittent failure, if it is at all common.

Blocks: LSan
Component: General → Networking: HTTP

Bulk closing some old intermittents.

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.