Closed Bug 1809663 Opened 3 years ago Closed 2 years ago

Intermittent LeakSanitizer | leak at mozilla::dom::CanonicalBrowsingContext::GetSecureBrowserUI, mozilla::dom::CanonicalBrowsingContext_Binding::get_secureBrowserUI, mozilla::dom::binding_detail::GenericGetter, CallJSNative

Categories

(Core :: DOM: Navigation, 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=402060251&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MTaUrV80Sg6PKx55GQ29EQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-01-11T15:34:07.905Z] 15:34:07     INFO - TEST-START | toolkit/components/places/tests/browser/browser_visituri_privatebrowsing_perwindowpb.js
<...>
[task 2023-01-11T15:34:19.959Z] 15:34:19     INFO - GECKO(9101) | Indirect leak of 32 byte(s) in 1 object(s) allocated from:
[task 2023-01-11T15:34:19.960Z] 15:34:19     INFO - GECKO(9101) |     #0 0x559768e948fe in malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3
[task 2023-01-11T15:34:19.960Z] 15:34:19     INFO - GECKO(9101) |     #1 0x7f57ad9cba21 in Alloc /builds/worker/checkouts/gecko/xpcom/string/nsStringBuffer.cpp:68:42
[task 2023-01-11T15:34:19.961Z] 15:34:19     INFO - GECKO(9101) |     #2 0x7f57ad9cba21 in nsTSubstring<char16_t>::StartBulkWriteImpl(unsigned long, unsigned long, bool, unsigned long, unsigned long, unsigned long) /builds/worker/checkouts/gecko/xpcom/string/nsTSubstring.cpp:232:32
[task 2023-01-11T15:34:19.962Z] 15:34:19     INFO - GECKO(9101) |     #3 0x7f57ad9f2b48 in nsTSubstring<char16_t>::Assign(char16_t const*, unsigned long, std::nothrow_t const&) /builds/worker/checkouts/gecko/xpcom/string/nsTSubstring.cpp:435:12
[task 2023-01-11T15:34:19.964Z] 15:34:19     INFO - GECKO(9101) |     #4 0x7f57ad9ca704 in nsTSubstring<char16_t>::Assign(nsTSubstring<char16_t> const&) /builds/worker/checkouts/gecko/xpcom/string/nsTSubstring.cpp:482:8
[task 2023-01-11T15:34:19.964Z] 15:34:19     INFO - GECKO(9101) |     #5 0x7f57b9b3270f in operator= /builds/worker/workspace/obj-build/dist/include/nsTString.h:123:11
[task 2023-01-11T15:34:19.965Z] 15:34:19     INFO - GECKO(9101) |     #6 0x7f57b9b3270f in void mozilla::dom::syncedcontext::Transaction<mozilla::dom::BrowsingContext>::Set<40ul, nsTAutoStringN<char16_t, 64ul>&>(nsTAutoStringN<char16_t, 64ul>&) /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContext.h:59:29
[task 2023-01-11T15:34:19.965Z] 15:34:19     INFO - GECKO(9101) |     #7 0x7f57b99cbdde in SetMessageManagerGroup<nsTAutoStringN<char16_t, 64UL> &> /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BrowsingContext.h:277:3
[task 2023-01-11T15:34:19.972Z] 15:34:19     INFO - GECKO(9101) |     #8 0x7f57b99cbdde in mozilla::dom::BrowsingContext::SetEmbedderElement(mozilla::dom::Element*) /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:740:11
[task 2023-01-11T15:34:19.972Z] 15:34:19     INFO - GECKO(9101) |     #9 0x7f57b4f87576 in mozilla::dom::BrowserParent::SetOwnerElement(mozilla::dom::Element*) /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:562:23
[task 2023-01-11T15:34:19.972Z] 15:34:19     INFO - GECKO(9101) |     #10 0x7f57b4fe7b5c in mozilla::dom::ContentParent::CreateBrowser(mozilla::dom::TabContext const&, mozilla::dom::Element*, nsTSubstring<char> const&, mozilla::dom::BrowsingContext*, mozilla::dom::ContentParent*) /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:1585:18
[task 2023-01-11T15:34:19.973Z] 15:34:19     INFO - GECKO(9101) |     #11 0x7f57b0c4b6dd in nsFrameLoader::TryRemoteBrowserInternal() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:2758:9
[task 2023-01-11T15:34:19.973Z] 15:34:19     INFO - GECKO(9101) |     #12 0x7f57b0c4a89e in nsFrameLoader::TryRemoteBrowser() /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:2822:7
[task 2023-01-11T15:34:19.974Z] 15:34:19     INFO - GECKO(9101) |     #13 0x7f57b0c3a4e6 in EnsureRemoteBrowser /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:2555:28
[task 2023-01-11T15:34:19.974Z] 15:34:19     INFO - GECKO(9101) |     #14 0x7f57b0c3a4e6 in nsFrameLoader::ShowRemoteFrame(mozilla::gfx::IntSizeTyped<mozilla::ScreenPixel> const&, nsSubDocumentFrame*) /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:1097:8
[task 2023-01-11T15:34:19.974Z] 15:34:19     INFO - GECKO(9101) |     #15 0x7f57b0c3cd41 in nsFrameLoader::Show(nsSubDocumentFrame*) /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:974:12
[task 2023-01-11T15:34:19.975Z] 15:34:19     INFO - GECKO(9101) |     #16 0x7f57b674dbfb in nsSubDocumentFrame::ShowViewer() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:202:38
[task 2023-01-11T15:34:19.975Z] 15:34:19     INFO - GECKO(9101) |     #17 0x7f57b67a0031 in AsyncFrameInit::Run() /builds/worker/checkouts/gecko/layout/generic/nsSubDocumentFrame.cpp:96:60
[task 2023-01-11T15:34:19.983Z] 15:34:19     INFO - GECKO(9101) |     #18 0x7f57b06fc090 in nsContentUtils::AddScriptRunner(already_AddRefed<nsIRunnable>) /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:6013:13
[task 2023-01-11T15:34:19.983Z] 15:34:19     INFO - GECKO(9101) |     #19 0x7f57b0c55864 in nsFrameLoaderOwner::ChangeFrameLoaderCommon(mozilla::dom::Element*, bool) /builds/worker/checkouts/gecko/dom/base/nsFrameLoaderOwner.cpp:210:15
[task 2023-01-11T15:34:19.984Z] 15:34:19     INFO - GECKO(9101) |     #20 0x7f57b0c5517a in nsFrameLoaderOwner::ChangeRemotenessCommon(nsFrameLoaderOwner::ChangeRemotenessContextType const&, mozilla::dom::NavigationIsolationOptions const&, bool, bool, mozilla::dom::BrowsingContextGroup*, std::function<void ()>&, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsFrameLoaderOwner.cpp:198:3
[task 2023-01-11T15:34:19.984Z] 15:34:19     INFO - GECKO(9101) |     #21 0x7f57b0c56b72 in nsFrameLoaderOwner::ChangeRemotenessToProcess(mozilla::dom::ContentParent*, mozilla::dom::NavigationIsolationOptions const&, mozilla::dom::BrowsingContextGroup*, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsFrameLoaderOwner.cpp:317:3
[task 2023-01-11T15:34:19.985Z] 15:34:19     INFO - GECKO(9101) |     #22 0x7f57b9a179de in mozilla::dom::CanonicalBrowsingContext::PendingRemotenessChange::FinishTopContent() /builds/worker/checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp:1671:21
[task 2023-01-11T15:34:19.985Z] 15:34:19     INFO - GECKO(9101) |     #23 0x7f57b9a174c9 in mozilla::dom::CanonicalBrowsingContext::PendingRemotenessChange::MaybeFinish() /builds/worker/checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp:1596:43
[task 2023-01-11T15:34:19.986Z] 15:34:19     INFO - GECKO(9101) |     #24 0x7f57b9a1683b in ProcessReady /builds/worker/checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp:1582:3
[task 2023-01-11T15:34:19.986Z] 15:34:19     INFO - GECKO(9101) |     #25 0x7f57b9a1683b in mozilla::dom::CanonicalBrowsingContext::PendingRemotenessChange::ProcessLaunched() /builds/worker/checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp:1572:3
[task 2023-01-11T15:34:19.987Z] 15:34:19     INFO - GECKO(9101) |     #26 0x7f57b9a1c799 in mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long) /builds/worker/checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp:2092:13
[task 2023-01-11T15:34:19.987Z] 15:34:19     INFO - GECKO(9101) |     #27 0x7f57aede303b in mozilla::net::DocumentLoadListener::TriggerProcessSwitch(mozilla::dom::CanonicalBrowsingContext*, mozilla::dom::NavigationIsolationOptions const&, bool) /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:1979:13
[task 2023-01-11T15:34:19.988Z] 15:34:19     INFO - GECKO(9101) |     #28 0x7f57aeddfd66 in mozilla::net::DocumentLoadListener::MaybeTriggerProcessSwitch(bool*) /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:1907:5
[task 2023-01-11T15:34:19.988Z] 15:34:19     INFO - GECKO(9101) |     #29 0x7f57aede9a6b in mozilla::net::DocumentLoadListener::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2504:8
[task 2023-01-11T15:34:19.989Z] 15:34:19     INFO - GECKO(9101) |     #30 0x7f57aeb43191 in mozilla::net::ParentChannelListener::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/netwerk/protocol/http/ParentChannelListener.cpp:86:25
[task 2023-01-11T15:34:19.989Z] 15:34:19     INFO - GECKO(9101) |     #31 0x7f57af73934c in nsDocumentOpenInfo::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/uriloader/base/nsURILoader.cpp:167:34
[task 2023-01-11T15:34:19.990Z] 15:34:19     INFO - GECKO(9101) |     #32 0x7f57aee0de87 in mozilla::net::ParentProcessDocumentOpenInfo::OnDocumentStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:297:39
[task 2023-01-11T15:34:19.991Z] 15:34:19     INFO - GECKO(9101) |     #33 0x7f57aebbb143 in mozilla::net::nsHttpChannel::CallOnStartRequest() /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:1693:27
[task 2023-01-11T15:34:19.994Z] 15:34:19     INFO - GECKO(9101) |     #34 0x7f57aebc79f3 in mozilla::net::nsHttpChannel::ContinueProcessNormal(nsresult) /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:2660:8
[task 2023-01-11T15:34:19.994Z] 15:34:19     INFO - GECKO(9101) | -----------------------------------------------------
[task 2023-01-11T15:34:19.994Z] 15:34:19     INFO - GECKO(9101) | Suppressions used:
[task 2023-01-11T15:34:19.995Z] 15:34:19     INFO - GECKO(9101) |   count      bytes template
[task 2023-01-11T15:34:19.995Z] 15:34:19     INFO - GECKO(9101) |       1        312 libc.so
[task 2023-01-11T15:34:19.995Z] 15:34:19     INFO - GECKO(9101) |       2         64 nsComponentManagerImpl
[task 2023-01-11T15:34:19.996Z] 15:34:19     INFO - GECKO(9101) |     633      18115 libfontconfig.so
[task 2023-01-11T15:34:19.996Z] 15:34:19     INFO - GECKO(9101) |       2      16393 libglib-2.0.so
[task 2023-01-11T15:34:19.996Z] 15:34:19     INFO - GECKO(9101) |       7        760 mozJSModuleLoader
[task 2023-01-11T15:34:19.996Z] 15:34:19     INFO - GECKO(9101) | -----------------------------------------------------
[task 2023-01-11T15:34:19.997Z] 15:34:19     INFO - GECKO(9101) | SUMMARY: AddressSanitizer: 2856 byte(s) leaked in 15 allocation(s).
[task 2023-01-11T15:34:19.997Z] 15:34:19     INFO - TEST-INFO | Main app process: exit 0
[task 2023-01-11T15:34:19.998Z] 15:34:19     INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2023-01-11T15:34:19.999Z] 15:34:19     INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2023-01-11T15:34:20.001Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::BrowsingContext::CreateChildSHistory, mozilla::dom::syncedcontext::Transaction, mozilla::dom::syncedcontext::FieldValues, EachIndex
[task 2023-01-11T15:34:20.001Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::CanonicalBrowsingContext::GetSecureBrowserUI, mozilla::dom::CanonicalBrowsingContext_Binding::get_secureBrowserUI, mozilla::dom::binding_detail::GenericGetter, CallJSNative
[task 2023-01-11T15:34:20.002Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, nsTArray_Impl, AppendElement
[task 2023-01-11T15:34:20.007Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::BrowsingContext::Attach, nsFrameLoader::EnsureBrowsingContextAttached, nsFrameLoader::TryRemoteBrowserInternal, nsFrameLoader::TryRemoteBrowser
[task 2023-01-11T15:34:20.007Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::BrowsingContext::CreateDetached, CreateBrowsingContext, nsFrameLoader::Create, mozilla::dom::XULFrameElement::LoadSrc
[task 2023-01-11T15:34:20.007Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Create, mozilla::ThrottledEventQueue::Create, mozilla::dom::BrowsingContextGroup::BrowsingContextGroup, operator
[task 2023-01-11T15:34:20.008Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ThrottledEventQueue::Create, mozilla::dom::BrowsingContextGroup::BrowsingContextGroup, operator, OrInsertWith
[task 2023-01-11T15:34:20.008Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at WeakPtr, mozilla::dom::CanonicalBrowsingContext::CanonicalBrowsingContext, mozilla::dom::BrowsingContext::CreateDetached, CreateBrowsingContext
[task 2023-01-11T15:34:20.008Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::MakeEntryHandle, PLDHashTable::MakeEntryHandle, std::invoke_result, WithEntryHandle
[task 2023-01-11T15:34:20.009Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at XPCWrappedNative::GetNewOrUsed, XPCConvert::NativeInterface2JSObject, NativeInterface2JSObjectAndThrowIfFailed, mozilla::dom::XPCOMObjectToJsval
[task 2023-01-11T15:34:20.009Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2023-01-11T15:34:20.009Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at operator, OrInsertWith, operator, operator
[task 2023-01-11T15:34:20.010Z] 15:34:20    ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsSupportsWeakReference::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, mozilla::dom::BrowsingContextWebProgress::AddProgressListener
[task 2023-01-11T15:34:20.010Z] 15:34:20     INFO - runtests.py | Application ran for: 0:01:13.389855
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.