Closed
Bug 1430578
Opened 8 years ago
Closed 7 years ago
Intermittent LeakSanitizer | leak at Malloc, nsTArray_base, SetCapacity, SetCapacity
Categories
(Core :: Audio/Video: Playback, defect, P5)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
DUPLICATE
of bug 1474443
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, memory-leak)
Filed by: archaeopteryx [at] coole-files.de
https://treeherder.mozilla.org/logviewer.html#?job_id=155619461&repo=mozilla-inbound
https://queue.taskcluster.net/v1/task/a8Ddc89jRUCqL_l6dLkvXw/runs/0/artifacts/public/logs/live_backing.log
[task 2018-01-11T12:58:41.358Z] 12:58:41 INFO - GECKO(1721) | =================================================================
[task 2018-01-11T12:58:41.359Z] 12:58:41 ERROR - GECKO(1721) | ==1781==ERROR: LeakSanitizer: detected memory leaks
[task 2018-01-11T12:58:41.359Z] 12:58:41 INFO - GECKO(1721) | Indirect leak of 13288 byte(s) in 1 object(s) allocated from:
[task 2018-01-11T12:58:41.360Z] 12:58:41 INFO - GECKO(1721) | #0 0x4bed83 in malloc /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
[task 2018-01-11T12:58:41.361Z] 12:58:41 INFO - GECKO(1721) | #1 0x7f87dca90cb8 in Malloc /builds/worker/workspace/build/src/obj-firefox/dist/include/nsTArray.h:196:46
[task 2018-01-11T12:58:41.361Z] 12:58:41 INFO - GECKO(1721) | #2 0x7f87dca90cb8 in nsTArrayFallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayFallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayFallibleAllocator>(unsigned long, unsigned long) /builds/worker/workspace/build/src/obj-firefox/dist/include/nsTArray-inl.h:136
[task 2018-01-11T12:58:41.362Z] 12:58:41 INFO - GECKO(1721) | #3 0x7f87e305aa6f in SetCapacity<nsTArrayFallibleAllocator> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsTArray.h:1802:47
[task 2018-01-11T12:58:41.364Z] 12:58:41 INFO - GECKO(1721) | #4 0x7f87e305aa6f in SetCapacity /builds/worker/workspace/build/src/obj-firefox/dist/include/nsTArray.h:1810
[task 2018-01-11T12:58:41.366Z] 12:58:41 INFO - GECKO(1721) | #5 0x7f87e305aa6f in mozilla::Index::Index(mozilla::IndiceWrapper const&, mozilla::ByteStream*, unsigned int, bool) /builds/worker/workspace/build/src/dom/media/mp4/Index.cpp:335
[task 2018-01-11T12:58:41.369Z] 12:58:41 INFO - GECKO(1721) | #6 0x7f87e304a2a7 in mozilla::MP4TrackDemuxer::MP4TrackDemuxer(mozilla::MP4Demuxer*, mozilla::UniquePtr<mozilla::TrackInfo, mozilla::DefaultDelete<mozilla::TrackInfo> >&&, mozilla::IndiceWrapper const&) /builds/worker/workspace/build/src/dom/media/mp4/MP4Demuxer.cpp:372:16
[task 2018-01-11T12:58:41.372Z] 12:58:41 INFO - GECKO(1721) | #7 0x7f87e3045a3a in mozilla::MP4Demuxer::Init() /builds/worker/workspace/build/src/dom/media/mp4/MP4Demuxer.cpp:274:13
[task 2018-01-11T12:58:41.374Z] 12:58:41 INFO - GECKO(1721) | #8 0x7f87e28b0d15 in operator() /builds/worker/workspace/build/src/dom/media/MediaFormatReader.cpp:1235:47
[task 2018-01-11T12:58:41.375Z] 12:58:41 INFO - GECKO(1721) | #9 0x7f87e28b0d15 in mozilla::detail::ProxyFunctionRunnable<mozilla::MediaFormatReader::DemuxerProxy::Init()::$_35, mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, true> >::Run() /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/MozPromise.h:1512
[task 2018-01-11T12:58:41.378Z] 12:58:41 INFO - GECKO(1721) | #10 0x7f87dcb0d39d in mozilla::TaskQueue::Runner::Run() /builds/worker/workspace/build/src/xpcom/threads/TaskQueue.cpp:243:12
[task 2018-01-11T12:58:41.379Z] 12:58:41 INFO - GECKO(1721) | #11 0x7f87dcb2e16a in nsThreadPool::Run() /builds/worker/workspace/build/src/xpcom/threads/nsThreadPool.cpp:228:14
[task 2018-01-11T12:58:41.380Z] 12:58:41 INFO - GECKO(1721) | #12 0x7f87dcb2e81c in non-virtual thunk to nsThreadPool::Run() /builds/worker/workspace/build/src/xpcom/threads/nsThreadPool.cpp
[task 2018-01-11T12:58:41.390Z] 12:58:41 INFO - GECKO(1721) | #13 0x7f87dcb25ddd in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1040:14
[task 2018-01-11T12:58:41.391Z] 12:58:41 INFO - GECKO(1721) | #14 0x7f87dcb41890 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:517:10
[task 2018-01-11T12:58:41.395Z] 12:58:41 INFO - GECKO(1721) | #15 0x7f87dd9d3440 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:334:20
[task 2018-01-11T12:58:41.395Z] 12:58:41 INFO - GECKO(1721) | #16 0x7f87dd9297f9 in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:326:10
[task 2018-01-11T12:58:41.396Z] 12:58:41 INFO - GECKO(1721) | #17 0x7f87dd9297f9 in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:319
[task 2018-01-11T12:58:41.397Z] 12:58:41 INFO - GECKO(1721) | #18 0x7f87dd9297f9 in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:299
[task 2018-01-11T12:58:41.398Z] 12:58:41 INFO - GECKO(1721) | #19 0x7f87dcb20b6e in nsThread::ThreadFunc(void*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:423:11
[task 2018-01-11T12:58:41.399Z] 12:58:41 INFO - GECKO(1721) | #20 0x7f87f91d7d7e in _pt_root /builds/worker/workspace/build/src/nsprpub/pr/src/pthreads/ptthread.c:201:5
[task 2018-01-11T12:58:41.402Z] 12:58:41 INFO - GECKO(1721) | #21 0x7f87fd5796b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
...
[task 2018-01-11T12:58:43.341Z] 12:58:43 INFO - TEST-INFO | Main app process: exit 0
[task 2018-01-11T12:58:43.343Z] 12:58:43 INFO - TEST-INFO | LeakSanitizer | To show the addresses of leaked objects add report_objects=1 to LSAN_OPTIONS
[task 2018-01-11T12:58:43.344Z] 12:58:43 INFO - TEST-INFO | LeakSanitizer | This can be done in testing/mozbase/mozrunner/mozrunner/utils.py
[task 2018-01-11T12:58:43.345Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, SetCapacity, SetCapacity
[task 2018-01-11T12:58:43.346Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::BasePrincipal::CreateCodebasePrincipal, nsScriptSecurityManager::GetChannelURIPrincipal, nsScriptSecurityManager::GetChannelResultPrincipal
[task 2018-01-11T12:58:43.348Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::Add, PLDHashTable::Add, PutEntry, mozilla::MediaCacheStream::BlockList::AddFirstBlock
[task 2018-01-11T12:58:43.349Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::nsStandardURL::StartClone, CloneInternal, mozilla::net::nsStandardURL::Clone, NS_EnsureSafeToReturn
[task 2018-01-11T12:58:43.350Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::nsIContentChild::GetConstructedEventTarget, mozilla::dom::ContentChild::GetConstructedEventTarget, mozilla::ipc::IToplevelProtocol::GetMessageEventTarget, mozilla::ipc::MessageChannel::MessageTask::Post
[task 2018-01-11T12:58:43.351Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::MP4Demuxer::Init, operator, mozilla::detail::ProxyFunctionRunnable, mozilla::TaskQueue::Runner::Run
[task 2018-01-11T12:58:43.352Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NewPage, Push, mozilla::LabeledEventQueue::PutEvent, mozilla::PrioritizedEventQueue
[task 2018-01-11T12:58:43.354Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsAtomFriend::Atomize, NS_Atomize, mozilla::BasePrincipal::FinishInit, ContentPrincipal::Init
[task 2018-01-11T12:58:43.355Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::MediaResourceIndex::MediaResourceIndex, mozilla::ResourceStream::ResourceStream, mozilla::MP4TrackDemuxer::MP4TrackDemuxer
[task 2018-01-11T12:58:43.356Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, AppendElement, AppendElement
[task 2018-01-11T12:58:43.357Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::VideoInfo::VideoInfo, VideoInfo, VideoInfo, MP4VideoInfo
[task 2018-01-11T12:58:43.358Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, AppendElements, mozilla::MP4VideoInfo::Update
[task 2018-01-11T12:58:43.359Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::ChangeTable, ShrinkIfAppropriate, PLDHashTable::RemoveEntry, RemoveEntry
[task 2018-01-11T12:58:43.361Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at CreateEventTargetWrapper, mozilla::SchedulerGroup::AbstractMainThreadForImpl, mozilla::dom::HTMLMediaElement::HTMLMediaElement, mozilla::dom::HTMLVideoElement::HTMLVideoElement
[task 2018-01-11T12:58:43.362Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Malloc, nsTArray_base, AppendElement, RegisterIterator
[task 2018-01-11T12:58:43.363Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsTSubstring, nsTSubstring, SetLength
[task 2018-01-11T12:58:43.364Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PLDHashTable::ChangeTable, ShrinkIfAppropriate, PLDHashTable::Remove, RemoveEntry
[task 2018-01-11T12:58:43.365Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::MP4TrackDemuxer::MP4TrackDemuxer, mozilla::MP4Demuxer::Init, operator, mozilla::detail::ProxyFunctionRunnable
[task 2018-01-11T12:58:43.366Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::MP4Metadata::GetTrackInfo, mozilla::MP4Demuxer::Init, operator
[task 2018-01-11T12:58:43.368Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::SchedulerGroup::CreateEventTargets, mozilla::dom::TabGroup::TabGroup, mozilla::dom::nsIContentChild::GetConstructedEventTarget
[task 2018-01-11T12:58:43.369Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Realloc, nsTArray_base, AppendElement, mozilla::MediaCacheStream::InitAsCloneInternal
[task 2018-01-11T12:58:43.370Z] 12:58:43 ERROR - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at MakeUnique, mozilla::MP4TrackDemuxer::MP4TrackDemuxer, mozilla::MP4Demuxer::Init, operator
Comment 1•8 years ago
|
||
There's mozilla::MP4TrackDemuxer::MP4TrackDemuxer and other media stuff in the allocation stacks.
Component: General → Audio/Video: Playback
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Keywords: memory-leak
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•