Closed Bug 1399080 Opened 7 years ago Closed 7 years ago

Intermittent LeakSanitizer | leak at PLDHashTable::ChangeTable, RemoveEntry, mozilla::dom::DocGroup::~DocGroup, Release

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell needswork:owner])

Filed by: archaeopteryx [at] coole-files.de https://treeherder.mozilla.org/logviewer.html#?job_id=130318971&repo=autoland https://queue.taskcluster.net/v1/task/RKs351OBSUeIRmsRB6LKcA/runs/0/artifacts/public/test_info//plain-chunked_errorsummary.log [task 2017-09-12T10:43:24.668493Z] 10:43:24 INFO - GECKO(2289) | ----------------------------------------------------- [task 2017-09-12T10:43:24.676274Z] 10:43:24 INFO - GECKO(2289) | Suppressions used: [task 2017-09-12T10:43:24.680848Z] 10:43:24 INFO - GECKO(2289) | count bytes template [task 2017-09-12T10:43:24.683983Z] 10:43:24 INFO - GECKO(2289) | 8 256 libc.so [task 2017-09-12T10:43:24.687086Z] 10:43:24 INFO - GECKO(2289) | 707 24584 nsComponentManagerImpl [task 2017-09-12T10:43:24.691731Z] 10:43:24 INFO - GECKO(2289) | 6 960 mozJSComponentLoader::LoadModule [task 2017-09-12T10:43:24.695978Z] 10:43:24 INFO - GECKO(2289) | 304 8933 libfontconfig.so [task 2017-09-12T10:43:24.701085Z] 10:43:24 INFO - GECKO(2289) | 12 416 style::gecko::global_style_data [task 2017-09-12T10:43:24.704622Z] 10:43:24 INFO - GECKO(2289) | 1 72 nss_ClearErrorStack [task 2017-09-12T10:43:24.708523Z] 10:43:24 INFO - GECKO(2289) | 16 2316 libglib-2.0.so [task 2017-09-12T10:43:24.715100Z] 10:43:24 INFO - GECKO(2289) | ----------------------------------------------------- [task 2017-09-12T10:43:24.718121Z] 10:43:24 INFO - GECKO(2289) | SUMMARY: AddressSanitizer: 4576 byte(s) leaked in 41 allocation(s). [task 2017-09-12T10:43:26.869840Z] 10:43:26 INFO - GECKO(2289) | ----------------------------------------------------- [task 2017-09-12T10:43:26.870263Z] 10:43:26 INFO - GECKO(2289) | Suppressions used: [task 2017-09-12T10:43:26.894931Z] 10:43:26 INFO - GECKO(2289) | count bytes template [task 2017-09-12T10:43:26.897971Z] 10:43:26 INFO - GECKO(2289) | 709 22600 nsComponentManagerImpl [task 2017-09-12T10:43:26.900226Z] 10:43:26 INFO - GECKO(2289) | 48 7680 mozJSComponentLoader::LoadModule [task 2017-09-12T10:43:26.903283Z] 10:43:26 INFO - GECKO(2289) | 1 384 pixman_implementation_lookup_composite [task 2017-09-12T10:43:26.905461Z] 10:43:26 INFO - GECKO(2289) | 611 17509 libfontconfig.so [task 2017-09-12T10:43:26.907539Z] 10:43:26 INFO - GECKO(2289) | 1 32 libdl.so [task 2017-09-12T10:43:26.909543Z] 10:43:26 INFO - GECKO(2289) | 17 4348 libglib-2.0.so [task 2017-09-12T10:43:26.911729Z] 10:43:26 INFO - GECKO(2289) | ----------------------------------------------------- [task 2017-09-12T10:43:27.288089Z] 10:43:27 INFO - TEST-INFO | Main app process: exit 0 [task 2017-09-12T10:43:27.290994Z] 10:43:27 INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS [task 2017-09-12T10:43:27.293149Z] 10:43:27 INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py [task 2017-09-12T10:43:27.295498Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::ChangeTable, RemoveEntry, mozilla::dom::DocGroup::~DocGroup, Release [task 2017-09-12T10:43:27.298647Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsBaseChannel::SetContentDispositionFilename, nsBaseChannel::SetContentDispositionFilename, nsHostObjectProtocolHandler::NewChannel2 [task 2017-09-12T10:43:27.304778Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsHostObjectProtocolHandler::NewURI, mozilla::net::nsIOService::NewURI, NS_NewURI, NS_NewURI [task 2017-09-12T10:43:27.310866Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CreateDynamic, NS_Atomize, mozilla::BasePrincipal::FinishInit, ContentPrincipal::Init [task 2017-09-12T10:43:27.314273Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::StartClone, CloneInternal, mozilla::net::nsStandardURL::Clone, NS_EnsureSafeToReturn [task 2017-09-12T10:43:27.319247Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::nsIContentChild::GetConstructedEventTarget, mozilla::dom::ContentChild::GetConstructedEventTarget, mozilla::ipc::IToplevelProtocol::GetMessageEventTarget [task 2017-09-12T10:43:27.322855Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, SetCapacity [task 2017-09-12T10:43:27.332770Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsSupportsWeakReference::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, mozilla::net::nsLoadGroup::SetGroupObserver [task 2017-09-12T10:43:27.343018Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::ChannelMediaResource::Open, mozilla::ChannelMediaDecoder::Load, mozilla::dom::HTMLMediaElement::SetupDecoder [task 2017-09-12T10:43:27.348289Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsAboutProtocolHandler::NewURI, mozilla::net::nsIOService::NewURI, NS_NewURI, NS_NewURI [task 2017-09-12T10:43:27.352625Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsStringBuffer::Alloc, Atom::Atom, CreateDynamic, NS_Atomize [task 2017-09-12T10:43:27.356786Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, nsTSubstring [task 2017-09-12T10:43:27.363681Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::BasePrincipal::CreateCodebasePrincipal, nsScriptSecurityManager::GetChannelURIPrincipal [task 2017-09-12T10:43:27.369470Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsIOService::NewChannelFromURIWithProxyFlags2, mozilla::net::nsIOService::NewChannelFromURI2, NS_NewChannelInternal [task 2017-09-12T10:43:27.373964Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, SetLength [task 2017-09-12T10:43:27.376977Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::ChangeTable, mozilla::net::nsLoadGroup::RemoveRequest, mozilla::net::HttpChannelChild::DoOnStopRequest, mozilla::net::HttpChannelChild::OnStopRequest [task 2017-09-12T10:43:27.380601Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::SchedulerGroup::CreateEventTargets, mozilla::dom::TabGroup::TabGroup [task 2017-09-12T10:43:27.384774Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsSHEntryShared::Duplicate, nsSHEntry::AbandonBFCacheEntry, nsDocShell::AddToSessionHistory [task 2017-09-12T10:43:27.389156Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::SupportsWeakPtr, mozilla::WeakPtr, nsDocShell::MaybeInitTiming [task 2017-09-12T10:43:27.393527Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::WeakPtr, WeakPtr, emplace, ContentPrincipal::AddonPolicy [task 2017-09-12T10:43:27.397245Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::IPCBlobInputStreamChild::CreateStream, Clone, mozilla::dom::IPCBlobInputStream::Clone, NS_CloneInputStream [task 2017-09-12T10:43:27.402070Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::StartClone, CloneInternal, mozilla::net::nsStandardURL::CloneIgnoringRef, mozilla::net::HttpBaseChannel::SetReferrerWithPolicy [task 2017-09-12T10:43:27.419825Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsNodeSupportsWeakRefTearoff::GetWeakReference, NS_GetWeakReference, do_GetWeakReference, mozilla::net::LoadInfo::LoadInfo [task 2017-09-12T10:43:27.424712Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::HTMLMediaElement::ChannelLoader::LoadInternal, applyImpl, apply, mozilla::detail::RunnableMethodImpl [task 2017-09-12T10:43:27.433072Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NS_NewLayoutHistoryState, mozilla::PresShell::CaptureHistoryState, nsCSSFrameConstructor::ConstructDocElementFrame [task 2017-09-12T10:43:27.439074Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsInputStreamPump::Create, nsBaseChannel::BeginPumpingData, nsBaseChannel::AsyncOpen [task 2017-09-12T10:43:27.442683Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::RequestContextService::NewRequestContext, mozilla::net::nsLoadGroup::Init, nsLoadGroupConstructor
Samael, please help this.
Flags: needinfo?(sawang)
Priority: -- → P2
It looks to me that each line represents a leak, respectively, so there are 27 different leaks (although some of them might be related). We probably won't be able to fix all of them in one bug. I'll file a dependent bug on the session history on and work on that. [task 2017-09-12T10:43:27.384774Z] 10:43:27 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsSHEntryShared::Duplicate, nsSHEntry::AbandonBFCacheEntry, nsDocShell::AddToSessionHistory
Flags: needinfo?(sawang)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.