Closed Bug 1753888 Opened 4 years ago Closed 4 years ago

Perma LeakSanitizer | leak at mozilla::net::AddStaticElement, AddStaticElement, InitializeStaticHeaders, mozilla::net::nvFIFO::nvFIFO when Gecko 98 merges to Beta on 2022-02-07

Categories

(Testing :: geckodriver, defect)

Firefox 98
defect

Tracking

(firefox-esr91 unaffected, firefox96 unaffected, firefox97 unaffected, firefox98+ wontfix, firefox99 verified)

RESOLVED DUPLICATE of bug 1755767
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- unaffected
firefox97 --- unaffected
firefox98 + wontfix
firefox99 --- verified

People

(Reporter: mlaza, Assigned: jgraham)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Central as beta simulation
How to run these simulations
Failure log

[task 2022-02-06T11:26:50.226Z] 11:26:50     INFO - PID 1306 | Direct leak of 32 byte(s) in 1 object(s) allocated from:
[task 2022-02-06T11:26:50.227Z] 11:26:50     INFO - PID 1306 |     #0 0x55baa3c7cd6d in malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:129:3
[task 2022-02-06T11:26:50.227Z] 11:26:50     INFO - PID 1306 |     #1 0x55baa3cb7bed in moz_xmalloc /builds/worker/checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15
[task 2022-02-06T11:26:50.228Z] 11:26:50     INFO - PID 1306 |     #2 0x7f003a864d99 in operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10
[task 2022-02-06T11:26:50.228Z] 11:26:50     INFO - PID 1306 |     #3 0x7f003a864d99 in mozilla::net::AddStaticElement(nsTString<char> const&, nsTString<char> const&) /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Compression.cpp:96:18
[task 2022-02-06T11:26:50.229Z] 11:26:50     INFO - PID 1306 |     #4 0x7f003a7b5664 in AddStaticElement /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Compression.cpp:101:3
[task 2022-02-06T11:26:50.229Z] 11:26:50     INFO - PID 1306 |     #5 0x7f003a7b5664 in InitializeStaticHeaders /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Compression.cpp:148:5
[task 2022-02-06T11:26:50.230Z] 11:26:50     INFO - PID 1306 |     #6 0x7f003a7b5664 in mozilla::net::nvFIFO::nvFIFO() /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Compression.cpp:183:20
[task 2022-02-06T11:26:50.230Z] 11:26:50     INFO - PID 1306 |     #7 0x7f003a7b7373 in mozilla::net::Http2BaseCompressor::Http2BaseCompressor() /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Compression.cpp:234:22
[task 2022-02-06T11:26:50.231Z] 11:26:50     INFO - PID 1306 |     #8 0x7f003a7cc22d in mozilla::net::Http2Compressor::Http2Compressor() /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Compression.h:155:3
[task 2022-02-06T11:26:50.231Z] 11:26:50     INFO - PID 1306 |     #9 0x7f003a7cb255 in mozilla::net::Http2Session::Http2Session(nsISocketTransport*, mozilla::net::SpdyVersion, bool) /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Session.cpp:108:15
[task 2022-02-06T11:26:50.232Z] 11:26:50     INFO - PID 1306 |     #10 0x7f003a7ca16b in mozilla::net::Http2Session::CreateSession(nsISocketTransport*, mozilla::net::SpdyVersion, bool) /builds/worker/checkouts/gecko/netwerk/protocol/http/Http2Session.cpp:103:11
[task 2022-02-06T11:26:50.232Z] 11:26:50     INFO - PID 1306 |     #11 0x7f003a9c70cd in mozilla::net::nsHttpConnection::StartSpdy(nsISSLSocketControl*, mozilla::net::SpdyVersion) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnection.cpp:285:9
[task 2022-02-06T11:26:50.233Z] 11:26:50     INFO - PID 1306 |     #12 0x7f003a9db0b8 in mozilla::net::nsHttpConnection::HandshakeDoneInternal() /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnection.cpp:2657:9
[task 2022-02-06T11:26:50.233Z] 11:26:50     INFO - PID 1306 |     #13 0x7f003a9fcf7f in operator() /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnection.cpp:2561:17
[task 2022-02-06T11:26:50.233Z] 11:26:50     INFO - PID 1306 |     #14 0x7f003a9fcf7f in mozilla::detail::RunnableFunction<mozilla::net::nsHttpConnection::HandshakeDone()::$_49>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:531:5
[task 2022-02-06T11:26:50.234Z] 11:26:50     INFO - PID 1306 |     #15 0x7f0039c74fbf in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1189:16
[task 2022-02-06T11:26:50.234Z] 11:26:50     INFO - PID 1306 |     #16 0x7f0039c7f85c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467:10
[task 2022-02-06T11:26:50.235Z] 11:26:50     INFO - PID 1306 |     #17 0x7f003a02a691 in mozilla::net::nsSocketTransportService::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1190:11
[task 2022-02-06T11:26:50.235Z] 11:26:50     INFO - PID 1306 |     #18 0x7f003a02c2ec in non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp
[task 2022-02-06T11:26:50.236Z] 11:26:50     INFO - PID 1306 |     #19 0x7f0039c74fbf in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1189:16
[task 2022-02-06T11:26:50.236Z] 11:26:50     INFO - PID 1306 |     #20 0x7f0039c7f85c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467:10
[task 2022-02-06T11:26:50.237Z] 11:26:50     INFO - PID 1306 |     #21 0x7f003ae09718 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20
[task 2022-02-06T11:26:50.237Z] 11:26:50     INFO - PID 1306 |     #22 0x7f003ad1b571 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10
[task 2022-02-06T11:26:50.240Z] 11:26:50     INFO - PID 1306 |     #23 0x7f003ad1b571 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3
[task 2022-02-06T11:26:50.240Z] 11:26:50     INFO - PID 1306 |     #24 0x7f003ad1b571 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3
[task 2022-02-06T11:26:50.240Z] 11:26:50     INFO - PID 1306 |     #25 0x7f0039c6dd15 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10
[task 2022-02-06T11:26:50.240Z] 11:26:50     INFO - PID 1306 |     #26 0x7f005add8ade in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
[task 2022-02-06T11:26:50.240Z] 11:26:50     INFO - PID 1306 |     #27 0x7f005cbfd6da in start_thread /tmp/glibc/nptl/pthread_create.c:463
[task 2022-02-06T11:26:50.241Z] 11:26:50     INFO - PID 1306 | -----------------------------------------------------
[task 2022-02-06T11:26:50.241Z] 11:26:50     INFO - PID 1306 | Suppressions used:
[task 2022-02-06T11:26:50.241Z] 11:26:50     INFO - PID 1306 |   count      bytes template
[task 2022-02-06T11:26:50.241Z] 11:26:50     INFO - PID 1306 |       9        280 nsComponentManagerImpl
[task 2022-02-06T11:26:50.242Z] 11:26:50     INFO - PID 1306 |     633      18115 libfontconfig.so
[task 2022-02-06T11:26:50.242Z] 11:26:50     INFO - PID 1306 |       1          9 libglib-2.0.so
[task 2022-02-06T11:26:50.243Z] 11:26:50     INFO - PID 1306 |       1        192 mozJSComponentLoader
[task 2022-02-06T11:26:50.244Z] 11:26:50     INFO - PID 1306 |       2         48 XPCWrappedNativeJSOps
[task 2022-02-06T11:26:50.244Z] 11:26:50     INFO - PID 1306 | -----------------------------------------------------
[task 2022-02-06T11:26:50.249Z] 11:26:50     INFO - PID 1306 | 1644146809641	geckodriver::browser	DEBUG	Browser process stopped: exit status: 0
[task 2022-02-06T11:26:50.249Z] 11:26:50     INFO - PID 1306 | 1644146809641	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2022-02-06T11:26:50.250Z] 11:26:50     INFO - PID 1306 | 1644146809652	webdriver::server	DEBUG	-> GET /status
[task 2022-02-06T11:26:50.250Z] 11:26:50     INFO - PID 1306 | 1644146809652	webdriver::server	DEBUG	<- 200 OK {"value":{"message":"","ready":true}}
[task 2022-02-06T11:26:50.250Z] 11:26:50     INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 1952 byte(s) leaked in 61 allocation(s).
[task 2022-02-06T11:26:50.250Z] 11:26:50     INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2022-02-06T11:26:50.251Z] 11:26:50     INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2022-02-06T11:26:50.251Z] 11:26:50     INFO - Allowed depth was 4
[task 2022-02-06T11:26:50.251Z] 11:26:50     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::AddStaticElement, InitializeStaticHeaders, mozilla::net::nvFIFO::nvFIFO, mozilla::net::Http2BaseCompressor::Http2BaseCompressor
[task 2022-02-06T11:26:50.251Z] 11:26:50     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::AddStaticElement, AddStaticElement, InitializeStaticHeaders, mozilla::net::nvFIFO::nvFIFO
[task 2022-02-06T11:26:50.252Z] 11:26:50     INFO - STDOUT: ============================== 1 passed in 15.67s ==============================
[task 2022-02-06T11:26:50.252Z] 11:26:50     INFO - Closing logging queue
[task 2022-02-06T11:26:50.252Z] 11:26:50     INFO - queue closed
[task 2022-02-06T11:26:50.253Z] 11:26:50     INFO - PID 1603 | 1644146810177	geckodriver	INFO	Listening on 127.0.0.1:59959
[task 2022-02-06T11:26:50.253Z] 11:26:50     INFO - Starting runner
[task 2022-02-06T11:26:50.444Z] 11:26:50     INFO - TEST-START | /webdriver/tests/back/back.py

Hi James. Can you please take a look?

Flags: needinfo?(james)
See Also: → 1719173

There got already a patch landed which increased the threshold but maybe that's not enough or not related to this one?

https://hg.mozilla.org/mozilla-central/rev/fbd6ddcda97b

Assignee: nobody → james
Status: NEW → ASSIGNED

Yeah, this is probably a test change rather than something in marionette changing. I"ve put up a patch to allow it for now.

Flags: needinfo?(james)
Keywords: regression
Regressed by: 1752292
Has Regression Range: --- → yes
Pushed by rvandermeulen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8af0da23cbd7 Add LSAN failure to allow list, r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Fix verified in today's central as early beta simulation.

Status: RESOLVED → VERIFIED

There seems to be a new fail on beta I think it might be related to this bug, can you please take a look? https://treeherder.mozilla.org/logviewer?job_id=369108893&repo=mozilla-beta

Status: VERIFIED → REOPENED
Flags: needinfo?(james)
Resolution: FIXED → ---
Target Milestone: 99 Branch → ---

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

This is a networking HTTP leak and being worked on via bug 1755767.

Status: REOPENED → RESOLVED
Closed: 4 years ago → 4 years ago
Flags: needinfo?(james)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: