Closed Bug 1504136 Opened 5 years ago Closed 5 years ago

Intermittent LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, operator

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox-esr68 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- fixed
firefox72 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: decoder)

References

Details

(Keywords: intermittent-failure, Whiteboard: [necko-triaged][stockwell unknown])

Attachments

(1 file)

Filed by: aciure [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=209365917&repo=autoland

https://queue.taskcluster.net/v1/task/Yv-bo9pLTESFPnqogi2qcw/runs/0/artifacts/public/logs/live_backing.log

https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/Yv-bo9pLTESFPnqogi2qcw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

[task 2018-11-02T07:35:41.309Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_realloc, js_pod_realloc, maybe_pod_realloc, js::Nursery::reallocateBuffer
[task 2018-11-02T07:35:41.309Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame js_pod_realloc matched a expected leak
[task 2018-11-02T07:35:41.309Z] 07:35:41     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, operator
[task 2018-11-02T07:35:41.311Z] 07:35:41     INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc::h82bf91dcf8d89ced, __rdl_alloc, alloc::alloc::alloc::h20a7d0505176962b, _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc::h40b7a00e8d496106
[task 2018-11-02T07:35:41.311Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec
[task 2018-11-02T07:35:41.312Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-11-02T07:35:41.313Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::ChromeUtils_Binding::generateQI, CallJSNative, js::InternalCallOrConstruct
[task 2018-11-02T07:35:41.314Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame mozilla::dom::ChromeUtils::GenerateQI matched a expected leak
[task 2018-11-02T07:35:41.314Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_calloc, js_pod_arena_calloc, maybe_pod_calloc, pod_calloc
[task 2018-11-02T07:35:41.315Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame js_arena_calloc matched a expected leak
[task 2018-11-02T07:35:41.315Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at mozilla::dom::Performance::CreateForMainThread, nsPIDOMWindowInner::CreatePerformanceObjectIfNeeded, nsPIDOMWindowInner::GetPerformance, mozilla::dom::Window_Binding::get_performance
[task 2018-11-02T07:35:41.315Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame mozilla::dom::Performance::CreateForMainThread matched a expected leak
[task 2018-11-02T07:35:41.316Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, AppendElement, mozilla::dom::ChromeUtils::GenerateQI
[task 2018-11-02T07:35:41.317Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame Realloc matched a expected leak
[task 2018-11-02T07:35:41.317Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, Gecko_StartBulkWriteString, nsstring::nsAString::start_bulk_write_impl::hdd7e43ce7f13c3a7
[task 2018-11-02T07:35:41.317Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame Alloc matched a expected leak
[task 2018-11-02T07:35:41.318Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at EntrySlotOrCreate, EntrySlotOrCreate, mozilla::dom::ContentProcessMessageManager_Binding::CreateInterfaceObjects, mozilla::dom::GetPerInterfaceObjectHandle
[task 2018-11-02T07:35:41.318Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame EntrySlotOrCreate matched a expected leak
[task 2018-11-02T07:35:41.319Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js::irregexp::BoyerMooreLookahead::EmitSkipInstructions, js::irregexp::ChoiceNode::Emit, js::irregexp::RegExpCompiler::Assemble
[task 2018-11-02T07:35:41.320Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
[task 2018-11-02T07:35:41.320Z] 07:35:41     INFO - TEST-FAIL | LeakSanitizer | leak at js_arena_malloc, js_new, MakeUnique, HashChildren
[task 2018-11-02T07:35:41.320Z] 07:35:41     INFO - INFO | LeakSanitizer | Frame js_arena_malloc matched a expected leak
Whiteboard: [necko-triaged]
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=217144798&repo=autoland&lineNumber=66555

There are 76 total failures in the last 7 days all on linuxx64 asan. 

Selena can you please take a look or assign this to someone?
Flags: needinfo?(sdeckelmann)
Whiteboard: [necko-triaged][stockwell disable-recommended] → [necko-triaged][stockwell needsowork:owner]
Whiteboard: [necko-triaged][stockwell needsowork:owner] → [necko-triaged][stockwell needswork:owner]
Dragana -- can you have a look, please?
Assignee: nobody → dd.mozilla
Flags: needinfo?(sdeckelmann)
I will take a look.
Priority: -- → P2

There are 26 total failures in the last 7 days on linux64 asan

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=236758713&repo=mozilla-inbound&lineNumber=9482

[task 2019-03-28T22:35:59.565Z] 22:35:59 INFO - TEST-START | /html/semantics/embedded-content/media-elements/track/track-element/vtt-cue-float-precision.html
[task 2019-03-28T22:35:59.570Z] 22:35:59 INFO - Closing window 178241142785
[task 2019-03-28T22:35:59.646Z] 22:35:59 INFO - PID 18684 | JavaScript error: resource://gre/modules/WebProgressChild.jsm, line 63: TypeError: this.mm.content is null
[task 2019-03-28T22:35:59.662Z] 22:35:59 INFO - PID 18684 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-03-28T22:36:00.621Z] 22:36:00 INFO - .
[task 2019-03-28T22:36:00.621Z] 22:36:00 INFO - TEST-OK | /html/semantics/embedded-content/media-elements/track/track-element/vtt-cue-float-precision.html | took 1056ms

[task 2019-03-28T22:36:07.407Z] 22:36:07 INFO - PROCESS LEAKS None
[task 2019-03-28T22:36:07.407Z] 22:36:07 INFO - ERROR | LeakSanitizer | SUMMARY: AddressSanitizer: 431032 byte(s) leaked in 50 allocation(s).
[task 2019-03-28T22:36:07.407Z] 22:36:07 INFO - LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2019-03-28T22:36:07.407Z] 22:36:07 INFO - This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2019-03-28T22:36:07.408Z] 22:36:07 INFO - Allowed depth was 4
[task 2019-03-28T22:36:07.408Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsLocalFile::Clone, mozilla::net::CacheFileIOManager::GetFile, mozilla::net::CacheFileIOManager::OpenFileInternal, mozilla::net::OpenFileEvent::Run
[task 2019-03-28T22:36:07.410Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::Add, PutEntry, Put, Put
[task 2019-03-28T22:36:07.410Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::SupportsWeakPtr, mozilla::WeakPtr, WeakPtr, HashMapEntry
[task 2019-03-28T22:36:07.411Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::BrowsingContext::Create, mozilla::dom::ContentParent::CreateBrowser, nsFrameLoader::TryRemoteBrowser, nsFrameLoader::ShowRemoteFrame
[task 2019-03-28T22:36:07.412Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NewHandle, mozilla::net::CacheEntry::NewWriteHandle, mozilla::net::CacheEntry::InvokeAvailableCallback, mozilla::net::CacheEntry::InvokeCallback
[task 2019-03-28T22:36:07.412Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::extensions::ChannelWrapper::ChannelWrapper, mozilla::extensions::ChannelWrapper::Get, mozilla::dom::ChannelWrapper_Binding::get, EnterJit
[task 2019-03-28T22:36:07.413Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, IProtocol, mozilla::dom::PBrowserParent::PBrowserParent, mozilla::dom::TabParent::TabParent
[task 2019-03-28T22:36:07.413Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::CacheFileHandles::NewHandle, mozilla::net::CacheFileIOManager::OpenFileInternal, mozilla::net::OpenFileEvent::Run, mozilla::net::CacheIOThread::LoopOneLevel
[task 2019-03-28T22:36:07.414Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::TemplatedMutator, Init, mozilla::net::nsStandardURL::TemplatedMutator, operator
[task 2019-03-28T22:36:07.414Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsHttpTransaction::ParseHead, mozilla::net::nsHttpTransaction::ProcessData, mozilla::net::nsHttpTransaction::WritePipeSegment, nsPipeOutputStream::WriteSegments
[task 2019-03-28T22:36:07.415Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::Add, PLDHashTable::Add, PutEntry, Register
[task 2019-03-28T22:36:07.415Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at already_AddRefed, mozilla::dom::BrowsingContext::Create, mozilla::dom::ContentParent::CreateBrowser, nsFrameLoader::TryRemoteBrowser
[task 2019-03-28T22:36:07.415Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::ContentParent::CreateBrowser, nsFrameLoader::TryRemoteBrowser, nsFrameLoader::ShowRemoteFrame, nsFrameLoader::Show
[task 2019-03-28T22:36:07.416Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::WeakPtr, WeakPtr, mozilla::Maybe, mozilla::ContentPrincipal::AddonPolicy
[task 2019-03-28T22:36:07.416Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::Add, PLDHashTable::Add, PutEntry, Subscribe
[task 2019-03-28T22:36:07.416Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring
[task 2019-03-28T22:36:07.416Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at WeakPtr, SupportsWeakPtr, mozilla::dom::PBrowserParent::PBrowserParent, mozilla::dom::TabParent::TabParent
[task 2019-03-28T22:36:07.416Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at SetPropertyAsInterface, nsHashPropertyBagBase::SetPropertyAsInterface, mozilla::extensions::ChannelWrapper::Get, mozilla::dom::ChannelWrapper_Binding::get
[task 2019-03-28T22:36:07.417Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, Append
[task 2019-03-28T22:36:07.417Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsNodeSupportsWeakRefTearoff::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, mozilla::LoadContext::LoadContext
[task 2019-03-28T22:36:07.417Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, ExtendCapacity, nsTArray_Impl
[task 2019-03-28T22:36:07.418Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, mozilla::net::nsStandardURL::BuildNormalizedSpec
[task 2019-03-28T22:36:07.418Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsSegmentedBuffer::AppendNewSegment, nsPipe::GetWriteSegment, nsPipeOutputStream::WriteSegments, mozilla::net::nsHttpTransaction::WriteSegments
[task 2019-03-28T22:36:07.418Z] 22:36:07 INFO - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::TabParent::GetLoadContext, nsFrameLoader::LoadContext, mozilla::dom::FrameLoader_Binding::get_loadContext, mozilla::dom::binding_detail::GenericGetter
[task 2019-03-28T22:36:07.420Z] 22:36:07 INFO - Closing logging queue

Dragana are you still working on this?

Flags: needinfo?(dd.mozilla)

Over the last 7 days there are 60 failures present on this bug, these happen only on linux64

Here is the most recent log failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=271982296&repo=autoland&lineNumber=8875

I am preparing a new try run to suppress these issues.

That said, this issue existed before and it was probably erroneously suppressed in some cases before. Bug 1587463 did not introduce this, what we are seeing here are real leaks in our code that for some reason were not displayed correctly earlier.

Flags: needinfo?(choller)
Pushed by choller@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96bb55419dcb
Suppress several leaks in web-platform tests. r=mccr8
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Assignee: dd.mozilla → choller
Flags: needinfo?(dd.mozilla)
You need to log in before you can comment on or make changes to this bug.