Closed Bug 1253854 Opened 9 years ago Closed 7 years ago

Intermittent dom/push LeakSanitizer | leak at mozilla::net::BaseWebSocketChannel::InitLoadInfo, NS_InvokeByIndex, Invoke, CallMethodHelper

Categories

(Core :: Networking: WebSockets, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox47 --- affected

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, memory-leak, Whiteboard: [necko-backlog])

https://treeherder.mozilla.org/logviewer.html#?job_id=22788826&repo=mozilla-inbound 11:26:03 INFO - ==1963==ERROR: LeakSanitizer: detected memory leaks 11:26:03 INFO - Direct leak of 40 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe5823f105e in operator-> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe5823f105e in mozilla::net::WebSocketChannel::Close(unsigned short, nsACString_internal const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/WebSocketChannel.cpp:3421 11:26:03 INFO - #4 0x7fe581ca5a3d in NS_InvokeByIndex /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp:180 11:26:03 INFO - #5 0x7fe583280fe1 in Invoke /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:2083 11:26:03 INFO - #6 0x7fe583280fe1 in CallMethodHelper /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:1400 11:26:03 INFO - #7 0x7fe583280fe1 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:1367 11:26:03 INFO - Indirect leak of 2048 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4722f1 in calloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:90 11:26:03 INFO - #1 0x48bb31 in moz_xcalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:94 11:26:03 INFO - #2 0x7fe581c7a7d7 in NewPage /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsEventQueue.h:82 11:26:03 INFO - #3 0x7fe581c7a7d7 in nsEventQueue::PutEvent(already_AddRefed<nsIRunnable>&&, mozilla::BaseAutoLock<mozilla::Mutex>&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsEventQueue.cpp:86 11:26:03 INFO - #4 0x7fe581c7fe2a in take /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThread.h:139 11:26:03 INFO - #5 0x7fe581c7fe2a in nsThread::PutEvent(already_AddRefed<nsIRunnable>&&, nsThread::nsNestedEventTarget*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThread.cpp:586 11:26:03 INFO - #6 0x7fe581c802ce in nsThread::DispatchInternal(already_AddRefed<nsIRunnable>&&, unsigned int, nsThread::nsNestedEventTarget*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThread.cpp:655 11:26:03 INFO - Indirect leak of 240 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe5823cc61a in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe5823cc61a in mozilla::net::BaseWebSocketChannel::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/BaseWebSocketChannel.cpp:296 11:26:03 INFO - #4 0x7fe581e226d2 in nsIOService::NewURI(nsACString_internal const&, char const*, nsIURI*, nsIURI**) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/base/nsIOService.cpp:624 11:26:03 INFO - #5 0x7fe581ca5a3d in NS_InvokeByIndex /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp:180 11:26:03 INFO - Indirect leak of 208 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe581c851de in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe581c851de in nsThreadManager::Init() /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThreadManager.cpp:94 11:26:03 INFO - #4 0x7fe581cd38b0 in NS_InitXPCOM2 /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/build/XPCOMInit.cpp:550 11:26:03 INFO - #5 0x7fe589a64046 in Initialize /builds/slave/m-in-l64-asan-0000000000000000/build/src/toolkit/xre/nsAppRunner.cpp:1530 11:26:03 INFO - #6 0x7fe589a64046 in XREMain::XRE_main(int, char**, nsXREAppData const*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/toolkit/xre/nsAppRunner.cpp:4410 11:26:03 INFO - Indirect leak of 184 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe5823cbafc in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe5823cbafc in mozilla::net::BaseWebSocketChannel::InitLoadInfo(nsIDOMNode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/BaseWebSocketChannel.cpp:223 11:26:03 INFO - #4 0x7fe581ca5a3d in NS_InvokeByIndex /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp:180 11:26:03 INFO - #5 0x7fe583280fe1 in Invoke /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:2083 11:26:03 INFO - #6 0x7fe583280fe1 in CallMethodHelper /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:1400 11:26:03 INFO - #7 0x7fe583280fe1 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:1367 11:26:03 INFO - Indirect leak of 168 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4722f1 in calloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:90 11:26:03 INFO - #1 0x7fe59d87cd7b in PR_NewLock /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:142 11:26:03 INFO - #2 0x7fe581c7ec01 in OffTheBooksMutex /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/Mutex.h:49 11:26:03 INFO - #3 0x7fe581c7ec01 in nsISupportsPriority /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/Mutex.h:125 11:26:03 INFO - #4 0x7fe581c7ec01 in nsThread::nsThread(nsThread::MainThreadFlag, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThread.cpp:495 11:26:03 INFO - #5 0x7fe581c851ed in nsThreadManager::Init() /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThreadManager.cpp:94 11:26:03 INFO - #6 0x7fe581cd38b0 in NS_InitXPCOM2 /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/build/XPCOMInit.cpp:550 11:26:03 INFO - Indirect leak of 96 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe583744f14 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe583744f14 in nsScriptSecurityManager::Init() /builds/slave/m-in-l64-asan-0000000000000000/build/src/caps/nsScriptSecurityManager.cpp:1366 11:26:03 INFO - #4 0x7fe583745682 in nsScriptSecurityManager::InitStatics() /builds/slave/m-in-l64-asan-0000000000000000/build/src/caps/nsScriptSecurityManager.cpp:1426 11:26:03 INFO - #5 0x7fe5832a4704 in nsXPConnect::InitStatics() /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/nsXPConnect.cpp:123 11:26:03 INFO - Indirect leak of 94 byte(s) in 3 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x7fe581b32674 in Alloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsSubstring.cpp:217 11:26:03 INFO - #2 0x7fe581b32674 in nsACString_internal::MutatePrep(unsigned int, char**, unsigned int*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:133 11:26:03 INFO - #3 0x7fe581b3b73e in nsACString_internal::ReplacePrepInternal(unsigned int, unsigned int, unsigned int, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:195 11:26:03 INFO - #4 0x7fe581b3b622 in nsACString_internal::ReplacePrep(unsigned int, unsigned int, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:185 11:26:03 INFO - #5 0x7fe581b3c18f in nsACString_internal::Assign(char const*, unsigned int, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:342 11:26:03 INFO - Indirect leak of 80 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe5823d04a6 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe5823d04a6 in mozilla::net::WebSocketEventService::GetOrCreate() /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/WebSocketEventService.cpp:211 11:26:03 INFO - #4 0x7fe5823cfb01 in mozilla::net::WebSocketChannel::WebSocketChannel() /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/WebSocketChannel.cpp:1194 11:26:03 INFO - #5 0x7fe5825e220e in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/WebSocketChannel.h:323 11:26:03 INFO - #6 0x7fe5825e220e in WebSocketChannelConstructor /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/build/nsNetModule.cpp:327 11:26:03 INFO - #7 0x7fe5825e220e in mozilla::net::WebSocketSSLChannelConstructor(nsISupports*, nsID const&, void**) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/build/nsNetModule.cpp:355 11:26:03 INFO - Indirect leak of 74 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x7fe581b2dcf5 in Alloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsSubstring.cpp:217 11:26:03 INFO - #2 0x7fe581b2dcf5 in nsAString_internal::MutatePrep(unsigned int, char16_t**, unsigned int*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:133 11:26:03 INFO - #3 0x7fe581b38dde in nsAString_internal::SetCapacity(unsigned int, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:665 11:26:03 INFO - #4 0x7fe581b2166b in SetLength /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:703 11:26:03 INFO - #5 0x7fe581b2166b in AppendUTF8toUTF16(nsACString_internal const&, nsAString_internal&, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsReadableUtils.cpp:234 11:26:03 INFO - #6 0x7fe581b200d4 in AppendUTF8toUTF16 /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsReadableUtils.cpp:213 11:26:03 INFO - #7 0x7fe581b200d4 in CopyUTF8toUTF16(nsACString_internal const&, nsAString_internal&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsReadableUtils.cpp:71 11:26:03 INFO - Indirect leak of 64 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x7fe59d87d453 in PR_NewCondVar /builds/slave/m-in-l64-asan-0000000000000000/build/src/nsprpub/pr/src/pthreads/ptsynch.c:321 11:26:03 INFO - #2 0x7fe581c7edc3 in CondVar /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/CondVar.h:47 11:26:03 INFO - #3 0x7fe581c7edc3 in nsEventQueue /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsEventQueue.cpp:28 11:26:03 INFO - #4 0x7fe581c7edc3 in nsISupportsPriority /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThread.h:122 11:26:03 INFO - #5 0x7fe581c7edc3 in nsThread::nsThread(nsThread::MainThreadFlag, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThread.cpp:495 11:26:03 INFO - #6 0x7fe581c851ed in nsThreadManager::Init() /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/threads/nsThreadManager.cpp:94 11:26:03 INFO - #7 0x7fe581cd38b0 in NS_InitXPCOM2 /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/build/XPCOMInit.cpp:550 11:26:03 INFO - Indirect leak of 44 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x7fe581b32674 in Alloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsSubstring.cpp:217 11:26:03 INFO - #2 0x7fe581b32674 in nsACString_internal::MutatePrep(unsigned int, char**, unsigned int*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:133 11:26:03 INFO - #3 0x7fe581b3f1e4 in nsACString_internal::SetCapacity(unsigned int, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:665 11:26:03 INFO - #4 0x7fe581b21491 in nsACString_internal::SetLength(unsigned int, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:703 11:26:03 INFO - #5 0x7fe581ec8ded in nsStandardURL::BuildNormalizedSpec(char const*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/base/nsStandardURL.cpp:602 11:26:03 INFO - Indirect leak of 41 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x7fe581b32674 in Alloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsSubstring.cpp:217 11:26:03 INFO - #2 0x7fe581b32674 in nsACString_internal::MutatePrep(unsigned int, char**, unsigned int*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:133 11:26:03 INFO - #3 0x7fe581b3f1e4 in nsACString_internal::SetCapacity(unsigned int, mozilla::fallible_t const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:665 11:26:03 INFO - #4 0x7fe581b209c1 in SetCapacity /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:644 11:26:03 INFO - #5 0x7fe581b209c1 in nsACString_internal::SetLength(unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/string/nsTSubstring.cpp:696 11:26:03 INFO - #6 0x7fe5831ddb99 in XPCConvert::JSData2Native(void*, JS::Handle<JS::Value>, nsXPTType const&, nsID const*, nsresult*) /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCConvert.cpp:666 11:26:03 INFO - Indirect leak of 32 byte(s) in 1 object(s) allocated from: 11:26:03 INFO - #0 0x4721e1 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 11:26:03 INFO - #1 0x48b8dd in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 11:26:03 INFO - #2 0x7fe5823f106b in operator-> /builds/slave/m-in-l64-asan-0000000000000000/build/src/obj-firefox/dist/include/mozilla/mozalloc.h:186 11:26:03 INFO - #3 0x7fe5823f106b in mozilla::net::WebSocketChannel::Close(unsigned short, nsACString_internal const&) /builds/slave/m-in-l64-asan-0000000000000000/build/src/netwerk/protocol/websocket/WebSocketChannel.cpp:3421 11:26:03 INFO - #4 0x7fe581ca5a3d in NS_InvokeByIndex /builds/slave/m-in-l64-asan-0000000000000000/build/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp:180 11:26:03 INFO - #5 0x7fe583280fe1 in Invoke /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:2083 11:26:03 INFO - #6 0x7fe583280fe1 in CallMethodHelper /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:1400 11:26:03 INFO - #7 0x7fe583280fe1 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) /builds/slave/m-in-l64-asan-0000000000000000/build/src/js/xpconnect/src/XPCWrappedNative.cpp:1367 11:26:03 INFO - ----------------------------------------------------- 11:26:03 INFO - Suppressions used: 11:26:03 INFO - count bytes template 11:26:03 INFO - 40 986 libc.so 11:26:03 INFO - 837 45264 nsComponentManagerImpl 11:26:03 INFO - 51 6936 mozJSComponentLoader::LoadModule 11:26:03 INFO - 1 384 pixman_implementation_lookup_composite 11:26:03 INFO - 360 15936 libfontconfig.so 11:26:03 INFO - 1 32 libdl.so 11:26:03 INFO - 26 6492 libglib-2.0.so 11:26:03 INFO - 2 56 libresolv.so 11:26:03 INFO - ----------------------------------------------------- 11:26:03 INFO - SUMMARY: AddressSanitizer: 3413 byte(s) leaked in 16 allocation(s). 11:26:03 INFO - TEST-INFO | Main app process: exit 0 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::BaseWebSocketChannel::InitLoadInfo, NS_InvokeByIndex, Invoke, CallMethodHelper 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsScriptSecurityManager::Init, nsScriptSecurityManager::InitStatics, nsXPConnect::InitStatics 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsACString_internal::MutatePrep, nsACString_internal::SetCapacity, SetCapacity 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsACString_internal::MutatePrep, nsACString_internal::ReplacePrepInternal, nsACString_internal::ReplacePrep 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::BaseWebSocketChannel::NewURI, nsIOService::NewURI, NS_InvokeByIndex 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsACString_internal::MutatePrep, nsACString_internal::SetCapacity, nsACString_internal::SetLength 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PR_NewCondVar, CondVar, nsEventQueue, nsISupportsPriority 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at operator->, mozilla::net::WebSocketChannel::Close, NS_InvokeByIndex, Invoke 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at Alloc, nsAString_internal::MutatePrep, nsAString_internal::SetCapacity, SetLength 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at PR_NewLock, OffTheBooksMutex, nsISupportsPriority, nsThread::nsThread 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at NewPage, nsEventQueue::PutEvent, take, nsThread::PutEvent 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at nsThreadManager::Init, NS_InitXPCOM2, Initialize, XREMain::XRE_main 11:26:03 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::WebSocketEventService::GetOrCreate, mozilla::net::WebSocketChannel::WebSocketChannel, WebSocketChannelConstructor, mozilla::net::WebSocketSSLChannelConstructor 11:26:03 INFO - runtests.py | Application ran for: 0:01:03.674057tls
The line numbers don't quite match up, but I'm guessing the leak is happening here: return mSocketThread->Dispatch( new OutboundEnqueuer(this, new OutboundMessage(kMsgTypeFin, nullptr)), nsIEventTarget::DISPATCH_NORMAL); Maybe the dispatch fails and we leak the OutboundEnqueuer or something.
Component: DOM: Push Notifications → Networking: WebSockets
Whiteboard: [necko-backlog]
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Happened eight times, in the spring of 2016.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.