Closed Bug 1221910 Opened 9 years ago Closed 8 years ago

Intermittent e10s LeakSanitizer | leak at PR_NewLock, OffTheBooksMutex, Mutex, MediaStreamGraph

Categories

(Core :: Web Audio, defect, P1)

defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
e10s + ---

People

(Reporter: nigelb, Assigned: padenot)

References

(Blocks 2 open bugs, )

Details

(Keywords: intermittent-failure, memory-leak, Whiteboard: [e10s-orangeblockers])

https://treeherder.mozilla.org/logviewer.html#?job_id=16832341&repo=mozilla-inbound 22:52:23 INFO - #8 0x7fc03d7fa3fa in Elements /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/AudioMixer.h:85 22:52:23 INFO - #9 0x7fc03d7fa3fa in mozilla::AudioSegment::WriteTo(unsigned long, mozilla::AudioMixer&, unsigned int, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/AudioSegment.cpp:213 22:52:23 INFO - Indirect leak of 1024 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x47534b in realloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:95 22:52:23 INFO - #1 0x48e00d in moz_xrealloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:105 22:52:23 INFO - #2 0x7fc038d2a1af in Realloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray.h:187 22:52:23 INFO - #3 0x7fc038d2a1af in nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray-inl.h:183 22:52:23 INFO - #4 0x7fc03d9bc799 in AppendElement<mozilla::MediaStream *&, nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1580 22:52:23 INFO - #5 0x7fc03d9bc799 in mozilla::MediaStreamGraphImpl::IncrementSuspendCount(mozilla::MediaStream*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2931 22:52:23 INFO - #6 0x7fc03dbe9d24 in mozilla::AudioNodeStream::CheckForInactive() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNodeStream.cpp:754 22:52:23 INFO - Indirect leak of 416 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03dbb931c in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webaudio/../../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03dbb931c in mozilla::AudioNodeStream::Create(mozilla::dom::AudioContext*, mozilla::AudioNodeEngine*, unsigned int, mozilla::MediaStreamGraph*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNodeStream.cpp:79 22:52:23 INFO - #4 0x7fc03dbd3766 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:354 22:52:23 INFO - #5 0x7fc03dbc8b1b in mozilla::dom::AudioContext::AudioContext(nsPIDOMWindow*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:111 22:52:23 INFO - Indirect leak of 376 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03d9b9899 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03d9b9899 in mozilla::MediaStreamGraph::GetInstance(mozilla::MediaStreamGraph::GraphDriverType, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2698 22:52:23 INFO - #4 0x7fc03dbd35a8 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:344 22:52:23 INFO - #5 0x7fc03dbc8b1b in mozilla::dom::AudioContext::AudioContext(nsPIDOMWindow*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:111 22:52:23 INFO - Indirect leak of 280 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03dbca122 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webaudio/../../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03dbca122 in mozilla::dom::AudioContext::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::AudioChannel, mozilla::ErrorResult&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:177 22:52:23 INFO - #4 0x7fc03dbca027 in mozilla::dom::AudioContext::Constructor(mozilla::dom::GlobalObject const&, mozilla::ErrorResult&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:161 22:52:23 INFO - #5 0x7fc03b6ef06d in mozilla::dom::AudioContextBinding::_constructor(JSContext*, unsigned int, JS::Value*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/bindings/./AudioContextBinding.cpp:1759 22:52:23 INFO - Indirect leak of 240 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03dbc8af5 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webaudio/../../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03dbc8af5 in mozilla::dom::AudioContext::AudioContext(nsPIDOMWindow*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:111 22:52:23 INFO - #4 0x7fc03dbca14f in mozilla::dom::AudioContext::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::AudioChannel, mozilla::ErrorResult&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:177 22:52:23 INFO - #5 0x7fc03dbca027 in mozilla::dom::AudioContext::Constructor(mozilla::dom::GlobalObject const&, mozilla::ErrorResult&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:161 22:52:23 INFO - Indirect leak of 168 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4751e1 in calloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:90 22:52:23 INFO - #1 0x7fc0465f2ac9 in PR_NewLock /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:142 22:52:23 INFO - #2 0x7fc03d9b8f26 in OffTheBooksMutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Mutex.h:49 22:52:23 INFO - #3 0x7fc03d9b8f26 in Mutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Mutex.h:125 22:52:23 INFO - #4 0x7fc03d9b8f26 in MediaStreamGraph /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Monitor.h:30 22:52:23 INFO - #5 0x7fc03d9b8f26 in mozilla::MediaStreamGraphImpl::MediaStreamGraphImpl(mozilla::MediaStreamGraph::GraphDriverType, int, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2629 22:52:23 INFO - #6 0x7fc03d9b98b3 in mozilla::MediaStreamGraph::GetInstance(mozilla::MediaStreamGraph::GraphDriverType, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2698 22:52:23 INFO - #7 0x7fc03dbd35a8 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:344 22:52:23 INFO - Indirect leak of 168 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4751e1 in calloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:90 22:52:23 INFO - #1 0x7fc0465f2ac9 in PR_NewLock /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:142 22:52:23 INFO - #2 0x7fc03d9b8a32 in OffTheBooksMutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Mutex.h:49 22:52:23 INFO - #3 0x7fc03d9b8a32 in Mutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Mutex.h:125 22:52:23 INFO - #4 0x7fc03d9b8a32 in MediaStreamGraph /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Monitor.h:30 22:52:23 INFO - #5 0x7fc03d9b8a32 in mozilla::MediaStreamGraphImpl::MediaStreamGraphImpl(mozilla::MediaStreamGraph::GraphDriverType, int, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2629 22:52:23 INFO - #6 0x7fc03d9b98b3 in mozilla::MediaStreamGraph::GetInstance(mozilla::MediaStreamGraph::GraphDriverType, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2698 22:52:23 INFO - #7 0x7fc03dbd35a8 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:344 22:52:23 INFO - Indirect leak of 168 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4751e1 in calloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:90 22:52:23 INFO - #1 0x7fc0465f2ac9 in PR_NewLock /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:142 22:52:23 INFO - #2 0x7fc03d82a290 in OffTheBooksMutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Mutex.h:49 22:52:23 INFO - #3 0x7fc03d82a290 in ThreadSafeAutoRefCnt /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Mutex.h:125 22:52:23 INFO - #4 0x7fc03d82a290 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/Latency.cpp:141 22:52:23 INFO - #5 0x7fc03d82a290 in AsyncLatencyLogger::InitializeStatics() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/Latency.cpp:115 22:52:23 INFO - #6 0x7fc03f96b4c9 in nsLayoutStatics::Initialize() /builds/slave/m-in-l64-asan-0000000000000000/build/src/layout/build/nsLayoutStatics.cpp:267 22:52:23 INFO - #7 0x7fc03f96b38d in Initialize() /builds/slave/m-in-l64-asan-0000000000000000/build/src/layout/build/nsLayoutModule.cpp:433 22:52:23 INFO - Indirect leak of 128 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x7fc038f3677a in PLDHashTable::Add(void const*, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/glue/PLDHashTable.cpp:570 22:52:23 INFO - #2 0x7fc038f36f2e in PLDHashTable::Add(void const*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/glue/PLDHashTable.cpp:621 22:52:23 INFO - #3 0x7fc03dbb90ed in PutEntry /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webaudio/../../../dist/include/nsTHashtable.h:153 22:52:23 INFO - #4 0x7fc03dbb90ed in RegisterNode /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:981 22:52:23 INFO - #5 0x7fc03dbb90ed in mozilla::dom::AudioNode::AudioNode(mozilla::dom::AudioContext*, unsigned int, mozilla::dom::ChannelCountMode, mozilla::dom::ChannelInterpretation) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNode.cpp:63 22:52:23 INFO - #6 0x7fc03dbd30f7 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:341 22:52:23 INFO - Indirect leak of 96 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03d9a36db in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03d9a36db in mozilla::MediaStreamGraphImpl::UpdateStreamOrder() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:357 22:52:23 INFO - #4 0x7fc03d9aba1f in mozilla::MediaStreamGraphImpl::UpdateGraph(long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1041 22:52:23 INFO - #5 0x7fc03d9ae039 in mozilla::MediaStreamGraphImpl::OneIteration(long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1229 22:52:23 INFO - Indirect leak of 64 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x7fc0465f3143 in PR_NewCondVar /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:321 22:52:23 INFO - #2 0x7fc03d9b8fa2 in Mutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/CondVar.h:47 22:52:23 INFO - #3 0x7fc03d9b8fa2 in MediaStreamGraph /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Monitor.h:30 22:52:23 INFO - #4 0x7fc03d9b8fa2 in mozilla::MediaStreamGraphImpl::MediaStreamGraphImpl(mozilla::MediaStreamGraph::GraphDriverType, int, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2629 22:52:23 INFO - #5 0x7fc03d9b98b3 in mozilla::MediaStreamGraph::GetInstance(mozilla::MediaStreamGraph::GraphDriverType, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2698 22:52:23 INFO - #6 0x7fc03dbd35a8 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:344 22:52:23 INFO - Indirect leak of 64 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x7fc0465f3143 in PR_NewCondVar /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:321 22:52:23 INFO - #2 0x7fc03d9b8aaa in Mutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/CondVar.h:47 22:52:23 INFO - #3 0x7fc03d9b8aaa in MediaStreamGraph /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/Monitor.h:30 22:52:23 INFO - #4 0x7fc03d9b8aaa in mozilla::MediaStreamGraphImpl::MediaStreamGraphImpl(mozilla::MediaStreamGraph::GraphDriverType, int, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2629 22:52:23 INFO - #5 0x7fc03d9b98b3 in mozilla::MediaStreamGraph::GetInstance(mozilla::MediaStreamGraph::GraphDriverType, mozilla::dom::AudioChannel) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2698 22:52:23 INFO - #6 0x7fc03dbd35a8 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:344 22:52:23 INFO - Indirect leak of 48 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc038d2a0d3 in Malloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray.h:184 22:52:23 INFO - #3 0x7fc038d2a0d3 in nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray-inl.h:136 22:52:23 INFO - #4 0x7fc03a55dd59 in AppendElements<nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webspeech/recognition/../../../../dist/include/nsTArray.h:1605 22:52:23 INFO - #5 0x7fc03a55dd59 in AppendElement<nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webspeech/recognition/../../../../dist/include/nsTArray.h:1633 22:52:23 INFO - #6 0x7fc03a55dd59 in mozilla::MediaSegmentBase<mozilla::AudioSegment, mozilla::AudioChunk>::AppendNullData(long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webspeech/recognition/../../../../dist/include/MediaSegment.h:243 22:52:23 INFO - #7 0x7fc03dbe7818 in mozilla::AudioNodeStream::AdvanceOutputSegment() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNodeStream.cpp:642 22:52:23 INFO - Indirect leak of 48 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03d82a1dc in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03d82a1dc in AsyncLatencyLogger::InitializeStatics() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/Latency.cpp:115 22:52:23 INFO - #4 0x7fc03f96b4c9 in nsLayoutStatics::Initialize() /builds/slave/m-in-l64-asan-0000000000000000/build/src/layout/build/nsLayoutStatics.cpp:267 22:52:23 INFO - #5 0x7fc03f96b38d in Initialize() /builds/slave/m-in-l64-asan-0000000000000000/build/src/layout/build/nsLayoutModule.cpp:433 22:52:23 INFO - Indirect leak of 40 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03d9b181e in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03d9b181e in mozilla::MediaStream::EnsureTrack(int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1730 22:52:23 INFO - #4 0x7fc03dbfd12f in mozilla::AudioNodeStream::AdvanceAndResumeMessage::Run() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNodeStream.cpp:390 22:52:23 INFO - #5 0x7fc03d9ab6ef in mozilla::MediaStreamGraphImpl::RunMessagesInQueue() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1026 22:52:23 INFO - Indirect leak of 40 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc038d2a0d3 in Malloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray.h:184 22:52:23 INFO - #3 0x7fc038d2a0d3 in nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray-inl.h:136 22:52:23 INFO - #4 0x7fc03d9a5c4f in AppendElements<nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1605 22:52:23 INFO - #5 0x7fc03d9a5c4f in AppendElement<nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1633 22:52:23 INFO - #6 0x7fc03d9a5c4f in mozilla::MediaStreamGraphImpl::CreateOrDestroyAudioStreams(mozilla::MediaStream*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:607 22:52:23 INFO - #7 0x7fc03d9ac90e in mozilla::MediaStreamGraphImpl::Process() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1135 22:52:23 INFO - Indirect leak of 32 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03dbd35b7 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/webaudio/../../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03dbd35b7 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:345 22:52:23 INFO - #4 0x7fc03dbc8b1b in mozilla::dom::AudioContext::AudioContext(nsPIDOMWindow*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:111 22:52:23 INFO - #5 0x7fc03dbca14f in mozilla::dom::AudioContext::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::AudioChannel, mozilla::ErrorResult&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioContext.cpp:177 22:52:23 INFO - Indirect leak of 24 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc03d9a1f56 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/mozilla/mozalloc.h:186 22:52:23 INFO - #3 0x7fc03d9a1f56 in mozilla::StreamBuffer::AddTrack(int, long, mozilla::MediaSegment*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/StreamBuffer.h:215 22:52:23 INFO - #4 0x7fc03dbfd12f in mozilla::AudioNodeStream::AdvanceAndResumeMessage::Run() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNodeStream.cpp:390 22:52:23 INFO - #5 0x7fc03d9ab6ef in mozilla::MediaStreamGraphImpl::RunMessagesInQueue() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1026 22:52:23 INFO - Indirect leak of 24 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc038d2a0d3 in Malloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray.h:184 22:52:23 INFO - #3 0x7fc038d2a0d3 in nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray-inl.h:136 22:52:23 INFO - #4 0x7fc03d9b282d in AppendElement<mozilla::MediaStream::AudioOutput, nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1580 22:52:23 INFO - #5 0x7fc03d9b282d in mozilla::MediaStream::AddAudioOutputImpl(void*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1840 22:52:23 INFO - #6 0x7fc03d9ab6ef in mozilla::MediaStreamGraphImpl::RunMessagesInQueue() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:1026 22:52:23 INFO - Indirect leak of 16 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc038d2a0d3 in Malloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray.h:184 22:52:23 INFO - #3 0x7fc038d2a0d3 in nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray-inl.h:136 22:52:23 INFO - #4 0x7fc03d9a20bd in InsertElementAt<mozilla::StreamBuffer::Track *&, nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1398 22:52:23 INFO - #5 0x7fc03d9a20bd in InsertElementSorted<mozilla::StreamBuffer::Track *&, mozilla::StreamBuffer::CompareTracksByID, nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1462 22:52:23 INFO - #6 0x7fc03d9a20bd in mozilla::StreamBuffer::AddTrack(int, long, mozilla::MediaSegment*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/StreamBuffer.h:216 22:52:23 INFO - #7 0x7fc03dbfd12f in mozilla::AudioNodeStream::AdvanceAndResumeMessage::Run() /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioNodeStream.cpp:390 22:52:23 INFO - Indirect leak of 16 byte(s) in 1 object(s) allocated from: 22:52:23 INFO - #0 0x4750d1 in __interceptor_malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 22:52:23 INFO - #1 0x48dd7d in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 22:52:23 INFO - #2 0x7fc038d2a0d3 in Malloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray.h:184 22:52:23 INFO - #3 0x7fc038d2a0d3 in nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/startupcache/../dist/include/nsTArray-inl.h:136 22:52:23 INFO - #4 0x7fc03d9b4da3 in AppendElement<mozilla::MainThreadMediaStreamListener *&, nsTArrayInfallibleAllocator> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dom/media/../../dist/include/nsTArray.h:1580 22:52:23 INFO - #5 0x7fc03d9b4da3 in mozilla::MediaStream::AddMainThreadListener(mozilla::MainThreadMediaStreamListener*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/MediaStreamGraph.cpp:2113 22:52:23 INFO - #6 0x7fc03dbd3827 in mozilla::dom::AudioDestinationNode::AudioDestinationNode(mozilla::dom::AudioContext*, bool, mozilla::dom::AudioChannel, unsigned int, unsigned int, float) /builds/slave/m-in-l64-asan-0000000000000000/build/src/dom/media/webaudio/AudioDestinationNode.cpp:355 22:52:23 INFO - ----------------------------------------------------- 22:52:23 INFO - Suppressions used: 22:52:23 INFO - count bytes template 22:52:23 INFO - 821 26248 nsComponentManagerImpl 22:52:23 INFO - 9 1224 mozJSComponentLoader::LoadModule 22:52:23 INFO - 360 15936 libfontconfig.so 22:52:23 INFO - 8 1816 MessageLoop::MessageLoop 22:52:23 INFO - 1 24 base::WaitableEvent::TimedWait 22:52:23 INFO - 6 192 libcairo.so 22:52:23 INFO - 1 32 libdl.so 22:52:23 INFO - 27 22876 libglib-2.0.so 22:52:23 INFO - 2 144 libpulse.so 22:52:23 INFO - 1 40 libpulsecommon-1.1.so 22:52:23 INFO - ----------------------------------------------------- 22:52:23 INFO - SUMMARY: AddressSanitizer: 39328 byte(s) leaked in 22 allocation(s). 22:52:26 INFO - ----------------------------------------------------- 22:52:26 INFO - Suppressions used: 22:52:26 INFO - count bytes template 22:52:26 INFO - 40 986 libc.so 22:52:26 INFO - 830 26528 nsComponentManagerImpl 22:52:26 INFO - 51 6936 mozJSComponentLoader::LoadModule 22:52:26 INFO - 1 384 pixman_implementation_lookup_composite 22:52:26 INFO - 360 15936 libfontconfig.so 22:52:26 INFO - 1 32 libdl.so 22:52:26 INFO - 26 6492 libglib-2.0.so 22:52:26 INFO - 2 56 libresolv.so 22:52:26 INFO - ----------------------------------------------------- 22:52:26 INFO - TEST-INFO | Main app process: exit 0 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PR_NewLock, OffTheBooksMutex, Mutex, MediaStreamGraph 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, AppendElement, mozilla::MediaStream::AddMainThreadListener 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at AsyncLatencyLogger::InitializeStatics, nsLayoutStatics::Initialize, Initialize 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::AudioContext::Constructor, mozilla::dom::AudioContext::Constructor, mozilla::dom::AudioContextBinding::_constructor 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::MediaStreamGraphImpl::UpdateStreamOrder, mozilla::MediaStreamGraphImpl::UpdateGraph, mozilla::MediaStreamGraphImpl::OneIteration 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, InsertElementAt, InsertElementSorted 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::AudioDestinationNode::AudioDestinationNode, mozilla::dom::AudioContext::AudioContext, mozilla::dom::AudioContext::Constructor 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::MediaStreamGraph::GetInstance, mozilla::dom::AudioDestinationNode::AudioDestinationNode, mozilla::dom::AudioContext::AudioContext 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::Add, PLDHashTable::Add, PutEntry, RegisterNode 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, AppendElement, mozilla::MediaStream::AddAudioOutputImpl 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, InsertSlotsAt, InsertElementsAt 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, AppendElements, AppendElement 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PR_NewCondVar, Mutex, MediaStreamGraph, mozilla::MediaStreamGraphImpl::MediaStreamGraphImpl 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::StreamBuffer::AddTrack, mozilla::AudioNodeStream::AdvanceAndResumeMessage::Run, mozilla::MediaStreamGraphImpl::RunMessagesInQueue 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::AudioNodeStream::Create, mozilla::dom::AudioDestinationNode::AudioDestinationNode, mozilla::dom::AudioContext::AudioContext 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PR_NewLock, OffTheBooksMutex, ThreadSafeAutoRefCnt, AsyncLatencyLogger::InitializeStatics 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::AudioContext::AudioContext, mozilla::dom::AudioContext::Constructor, mozilla::dom::AudioContext::Constructor 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::MediaStream::EnsureTrack, mozilla::AudioNodeStream::AdvanceAndResumeMessage::Run, mozilla::MediaStreamGraphImpl::RunMessagesInQueue 22:52:26 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, AppendElement, mozilla::MediaStreamGraphImpl::IncrementSuspendCount 22:52:26 INFO - runtests.py | Application ran for: 0:02:43.213192 22:52:26 INFO - zombiecheck | Reading PID log: /tmp/tmpO4GKLGpidlog 22:52:26 INFO - ==> process 1973 launched child process 2031 22:52:26 INFO - zombiecheck | Checking for orphan process with PID: 2031 22:52:26 INFO - Stopping web server
These leaks are definitely WebAudio related.
Component: General → Web Audio
Summary: Intermittent LeakSanitizer | leak at PR_NewLock, OffTheBooksMutex, Mutex, MediaStreamGraph → Intermittent e10s LeakSanitizer | leak at PR_NewLock, OffTheBooksMutex, Mutex, MediaStreamGraph
Blocks: e10s-tests
tracking-e10s: --- → +
Blocks: LSan
Rank: 17
Priority: -- → P1
This is currently the #10 top orange. Can you please investigate?
Flags: needinfo?(padenot)
There are two separate leaks being bucketed into this bug. There's a 2520 byte leak involving mozilla::camera::CamerasChild::ShutdownChild(), like this one: https://treeherder.mozilla.org/logviewer.html#?repo=fx-team&job_id=7640982 There's also a somewhat less frequent, larger leak involving Web Audio (which is what this bug was originally about): https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=22705548
I filed bug 1252642 about printing direct leaks first in the LSan report.
I filed bug 1252647 about the camera runnable leak.
FYI: padenot is going to look at this and bug 1220649 next week. We're trying to get the last bits of full duplex landed this week so we can test it more broadly and then pref it on.
Flags: needinfo?(padenot)
Assignee: nobody → padenot
Rank: 17 → 15
Whiteboard: [e10s-orangeblockers]
Depends on: 1220649
Looking good so far since bug 1267600 landed.
Depends on: 1267600
Or not, this one's still happening according to OrangeFactor :(
No longer depends on: 1267600
Rank: 15 → 19
Haven't seen this in a while and we have changed the code quite a bit recently. Reopen if we see this again.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.