Closed
Bug 1036562
Opened 11 years ago
Closed 10 years ago
Intermittent LeakSanitizer | leak at mozilla::dom::PContentParent::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchSyncMessage, mozilla::ipc::MessageChannel::OnMaybeDequeueOne
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: RyanVM, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure, memory-leak, Whiteboard: [lsan])
https://tbpl.mozilla.org/php/getParsedLog.php?id=43382422&tree=Mozilla-Inbound
Ubuntu ASAN VM 12.04 x64 mozilla-inbound opt test mochitest-browser-chrome-1 on 2014-07-08 15:53:36 PDT for push a50ea7808d85
slave: tst-linux64-spot-148
16:35:52 INFO - ==1794==ERROR: LeakSanitizer: detected memory leaks
16:35:52 INFO - Direct leak of 48 byte(s) in 1 object(s) allocated from:
16:35:52 INFO - #0 0x471d41 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74
16:35:52 INFO - #1 0x7f106263abed in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/memory/mozalloc/mozalloc.cpp:52
16:35:52 INFO - #2 0x7f104fea2cd6 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/../../dist/include/mozilla/mozalloc.h:201
16:35:52 INFO - #3 0x7f104fea2cd6 in mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&, IPC::Message*&) /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/./PContentParent.cpp:4327
16:35:52 INFO - #4 0x7f104fbfe260 in mozilla::ipc::MessageChannel::DispatchSyncMessage(IPC::Message const&) /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/glue/MessageChannel.cpp:1077
16:35:52 INFO - #5 0x7f104fbf2455 in mozilla::ipc::MessageChannel::OnMaybeDequeueOne() /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/glue/MessageChannel.cpp:1049
16:35:52 INFO - Indirect leak of 1320 byte(s) in 11 object(s) allocated from:
16:35:52 INFO - #0 0x471d41 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74
16:35:52 INFO - #1 0x7f106263abed in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/memory/mozalloc/mozalloc.cpp:52
16:35:52 INFO - #2 0x7f105276c043 in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/js/xpconnect/src/../../../dist/include/mozilla/mozalloc.h:201
16:35:52 INFO - #3 0x7f105276c043 in nsXPCWrappedJS::GetNewOrUsed(JS::Handle<JSObject*>, nsID const&, nsXPCWrappedJS**) /builds/slave/m-in-l64-asan-0000000000000000/build/js/xpconnect/src/XPCWrappedJS.cpp:364
16:35:52 INFO - #4 0x7f10526f1cda in XPCConvert::JSObject2NativeInterface(void**, JS::Handle<JSObject*>, nsID const*, nsISupports*, tag_nsresult*) /builds/slave/m-in-l64-asan-0000000000000000/build/js/xpconnect/src/XPCConvert.cpp:996
16:35:52 INFO - #5 0x7f10526ef59a in XPCConvert::JSData2Native(void*, JS::Handle<JS::Value>, nsXPTType const&, bool, nsID const*, tag_nsresult*) /builds/slave/m-in-l64-asan-0000000000000000/build/js/xpconnect/src/XPCConvert.cpp:759
16:35:52 INFO - Indirect leak of 512 byte(s) in 1 object(s) allocated from:
16:35:52 INFO - #0 0x471fbb in realloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:95
16:35:52 INFO - #1 0x7f104fb82924 in Resize /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/base/pickle.cc:617
16:35:52 INFO - #2 0x7f104fb82924 in Pickle::BeginWrite(unsigned int, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/base/pickle.cc:495
16:35:52 INFO - #3 0x7f104fb82bf8 in Pickle::WriteBytes(void const*, int, unsigned int) /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/base/pickle.cc:540
16:35:52 INFO - #4 0x7f104feeb7e8 in WriteUInt32 /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/base/pickle.h:127
16:35:52 INFO - #5 0x7f104feeb7e8 in Write /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/chrome/common/ipc_message_utils.h:297
16:35:52 INFO - #6 0x7f104feeb7e8 in WriteParam<unsigned int> /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/chrome/common/ipc_message_utils.h:115
16:35:52 INFO - #7 0x7f104feeb7e8 in Write /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/../../dist/include/ipc/IPCMessageUtils.h:334
16:35:52 INFO - #8 0x7f104feeb7e8 in WriteParam<nsCString> /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/chrome/common/ipc_message_utils.h:115
16:35:52 INFO - #9 0x7f104feeb7e8 in IPC::ParamTraits<IPC::Permission>::Write(IPC::Message*, IPC::Permission const&) /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/../../dist/include/mozilla/net/NeckoMessageUtils.h:51
16:35:52 INFO - #10 0x7f104fea2dea in WriteParam<IPC::Permission> /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/chrome/common/ipc_message_utils.h:115
16:35:52 INFO - #11 0x7f104fea2dea in Write /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/../../dist/include/ipc/IPCMessageUtils.h:472
16:35:52 INFO - #12 0x7f104fea2dea in WriteParam<FallibleTArray<IPC::Permission> > /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/chrome/common/ipc_message_utils.h:115
16:35:52 INFO - #13 0x7f104fea2dea in Write /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/../../dist/include/ipc/IPCMessageUtils.h:512
16:35:52 INFO - #14 0x7f104fea2dea in WriteParam<nsTArray<IPC::Permission> > /builds/slave/m-in-l64-asan-0000000000000000/build/ipc/chromium/src/chrome/common/ipc_message_utils.h:115
16:35:52 INFO - #15 0x7f104fea2dea in Write<nsTArray<IPC::Permission> > /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/_ipdlheaders/mozilla/dom/PContentParent.h:1462
16:35:52 INFO - #16 0x7f104fea2dea in mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&, IPC::Message*&) /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/ipc/ipdl/./PContentParent.cpp:4329
16:35:52 INFO - Indirect leak of 264 byte(s) in 11 object(s) allocated from:
16:35:52 INFO - #0 0x471d41 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74
16:35:52 INFO - #1 0x7f106263abed in moz_xmalloc /builds/slave/m-in-l64-asan-0000000000000000/build/memory/mozalloc/mozalloc.cpp:52
16:35:52 INFO - #2 0x7f104f2f582a in operator new /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/xpcom/reflect/xptcall/../../../dist/include/mozilla/mozalloc.h:201
16:35:52 INFO - #3 0x7f104f2f582a in NS_GetXPTCallStub /builds/slave/m-in-l64-asan-0000000000000000/build/xpcom/reflect/xptcall/xptcall.cpp:55
16:35:52 INFO - #4 0x7f105276d68b in GetClass /builds/slave/m-in-l64-asan-0000000000000000/build/obj-firefox/js/xpconnect/src/../../../dist/include/nsXPTCUtils.h:27
16:35:52 INFO - #5 0x7f105276d68b in nsXPCWrappedJS::nsXPCWrappedJS(JSContext*, JSObject*, nsXPCWrappedJSClass*, nsXPCWrappedJS*) /builds/slave/m-in-l64-asan-0000000000000000/build/js/xpconnect/src/XPCWrappedJS.cpp:378
16:35:52 INFO - #6 0x7f105276c092 in nsXPCWrappedJS::GetNewOrUsed(JS::Handle<JSObject*>, nsID const&, nsXPCWrappedJS**) /builds/slave/m-in-l64-asan-0000000000000000/build/js/xpconnect/src/XPCWrappedJS.cpp:364
16:35:52 INFO - -----------------------------------------------------
16:35:52 INFO - Suppressions used:
16:35:52 INFO - count bytes template
16:35:52 INFO - 41 1007 libc.so
16:35:52 INFO - 907 28824 nsComponentManagerImpl
16:35:52 INFO - 67 9112 mozJSComponentLoader::LoadModule
16:35:52 INFO - 1 24672 profiler_init
16:35:52 INFO - 1 384 pixman_implementation_lookup_composite
16:35:52 INFO - 360 15936 libfontconfig.so
16:35:52 INFO - 162 162 _render_glyph_outline
16:35:52 INFO - 2 40 SECITEM_AllocItem_Util
16:35:52 INFO - 1 6424 GlobalPrinters::InitializeGlobalPrinters
16:35:52 INFO - 2 88 _PR_Getfd
16:35:52 INFO - 6437 74539 libglib-2.0.so
16:35:52 INFO - 1 512 libp11-kit.so
16:35:52 INFO - 2 144 libpulse.so
16:35:52 INFO - 1 40 libpulsecommon-1.1.so
16:35:52 INFO - 2 56 libresolv.so
16:35:52 INFO - 2 1024 pthread_setspecific_internal
16:35:52 INFO - -----------------------------------------------------
16:35:52 INFO - SUMMARY: AddressSanitizer: 2144 byte(s) leaked in 24 allocation(s).
16:35:52 INFO - TEST-INFO | Main app process: exit 0
16:35:52 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::dom::PContentParent::OnMessageReceived, mozilla::ipc::MessageChannel::DispatchSyncMessage, mozilla::ipc::MessageChannel::OnMaybeDequeueOne
Assignee | ||
Comment 1•11 years ago
|
||
The line in question is:
__reply = new PContent::Reply_ReadPermissions();
In the case PContent::Msg_ReadPermissions__ID.
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 75•10 years ago
|
||
This seems to be happening pretty frequently in the e10s mochitest-bc tests. Any chance we could get another look at it?
Flags: needinfo?(continuation)
Assignee | ||
Comment 76•10 years ago
|
||
Yeah, I'll try to think of a path forward here.
Assignee: nobody → continuation
Flags: needinfo?(continuation)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 88•10 years ago
|
||
Looks like bug 1089833 fixed this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•10 years ago
|
status-firefox34:
--- → affected
status-firefox35:
--- → affected
status-firefox36:
--- → fixed
status-firefox-esr31:
--- → unaffected
Target Milestone: --- → mozilla36
Reporter | ||
Updated•10 years ago
|
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•