Closed Bug 1748520 Opened 2 years ago Closed 2 years ago

High frequency valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize

Categories

(Core :: Graphics: Text, defect)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox95 --- wontfix
firefox96 --- wontfix
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jfkthame)

References

(Regression)

Details

(Keywords: intermittent-failure, memory-leak, regression, Whiteboard: [stockwell unknown])

Attachments

(1 file, 1 obsolete file)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=363028360&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/O39WlUQzTBewkGi4AGyytg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-01-04T22:06:29.056Z] 22:06:29     INFO -  35:44.27 TEST-UNEXPECTED-FAIL | valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize
[task 2022-01-04T22:06:29.057Z] 22:06:29     INFO -  35:44.27 ==11463== 20 bytes in 1 blocks are definitely lost in loss record 3,754 of 20,244
[task 2022-01-04T22:06:29.057Z] 22:06:29     INFO -  35:44.27 ==11463==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-01-04T22:06:29.057Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0x12CD30: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-01-04T22:06:29.057Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xAEE7F3C: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-01-04T22:06:29.057Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xAEE8DC9: nsAtomTable::Atomize(nsTSubstring<char> const&)+265 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:566)
[task 2022-01-04T22:06:29.057Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xAFD5857: nsLanguageAtomService::LookupLanguage(nsTSubstring<char> const&)+87 (checkouts/gecko/intl/locale/nsLanguageAtomService.cpp:102)
[task 2022-01-04T22:06:29.058Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBCE209E: gfxFcPlatformFontList::TryLangForGroup(nsTSubstring<char> const&, nsAtom*, nsTSubstring<char>&, bool)+382 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2504)
[task 2022-01-04T22:06:29.058Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBCDD57E: gfxFcPlatformFontList::GetSampleLangForGroup(nsAtom*, nsTSubstring<char>&, bool)+734 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2569)
[task 2022-01-04T22:06:29.058Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBCE03A1: gfxFcPlatformFontList::FindGenericFamilies(nsPresContext*, nsTString<char> const&, nsAtom*)+113 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2299)
[task 2022-01-04T22:06:29.058Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBCE02F4: gfxFcPlatformFontList::GetDefaultFontForPlatform(nsPresContext*, gfxFontStyle const*, nsAtom*)+68 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:1991)
[task 2022-01-04T22:06:29.059Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBD2E807: gfxPlatformFontList::GetDefaultFont(nsPresContext*, gfxFontStyle const*)+39 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:2319)
[task 2022-01-04T22:06:29.059Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBD2CBBF: gfxPlatformFontList::InitFontList()+1279 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:573)
[task 2022-01-04T22:06:29.059Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBD2C5C8: gfxPlatformFontList::Initialize(gfxPlatformFontList*)+72 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:259)
[task 2022-01-04T22:06:29.059Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBCE8F8E: gfxPlatform::Init()+3070 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:963)
[task 2022-01-04T22:06:29.059Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xBCE835F: gfxPlatform::GetPlatform()+31 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:466)
[task 2022-01-04T22:06:29.059Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xD847151: mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&)+33 (checkouts/gecko/widget/GfxInfoBase.cpp:1812)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xAF6E8C5: ??? (xptcinvoke_asm_x86_64_unix.S:101)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xB97CEEC: Invoke (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1631)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xB97CEEC: Call (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1184)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xB97CEEC: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)+4060 (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1130)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xB97E6A1: GetAttribute (checkouts/gecko/js/xpconnect/src/xpcprivate.h:1476)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xB97E6A1: XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*)+625 (checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:963)
[task 2022-01-04T22:06:29.060Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCC7B0: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-01-04T22:06:29.061Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCD2AC: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-01-04T22:06:29.061Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCDB56: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-01-04T22:06:29.061Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEF90BF1: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1970)
[task 2022-01-04T22:06:29.061Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDC58B5: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-01-04T22:06:29.061Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDC58B5: GetObjectElementOperation (checkouts/gecko/js/src/vm/Interpreter-inl.h:416)
[task 2022-01-04T22:06:29.061Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDC58B5: GetElementOperationWithStackIndex (checkouts/gecko/js/src/vm/Interpreter-inl.h:513)
[task 2022-01-04T22:06:29.062Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDC58B5: Interpret(JSContext*, js::RunState&)+31717 (checkouts/gecko/js/src/vm/Interpreter.cpp:3108)
[task 2022-01-04T22:06:29.062Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDBDC91: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-01-04T22:06:29.062Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCCAE7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-01-04T22:06:29.062Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCD2AC: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-01-04T22:06:29.062Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCDB56: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-01-04T22:06:29.063Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEF90BF1: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1970)
[task 2022-01-04T22:06:29.063Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCF7BE: js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>)+1038 (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-01-04T22:06:29.063Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDC4397: GetPropertyOperation (checkouts/gecko/js/src/vm/Interpreter.cpp:208)
[task 2022-01-04T22:06:29.063Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDC4397: Interpret(JSContext*, js::RunState&)+26311 (checkouts/gecko/js/src/vm/Interpreter.cpp:2973)
[task 2022-01-04T22:06:29.063Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDBDC91: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-01-04T22:06:29.063Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCCAE7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-01-04T22:06:29.064Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEDCD2AC: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-01-04T22:06:29.064Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xEE9846E: JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)+654 (checkouts/gecko/js/src/vm/CallAndConstruct.cpp:53)
[task 2022-01-04T22:06:29.064Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xB9785D1: nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*)+2929 (checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:973)
[task 2022-01-04T22:06:29.064Z] 22:06:29     INFO -  35:44.27 ==11463==    by 0xAF6F644: PrepareAndDispatch+548 (checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115)
[task 2022-01-04T22:06:29.064Z] 22:06:29     INFO -  35:44.27 ==11463==
Component: Memory Allocator → Graphics

Hrm, for fun I did a Try push of bug 1747349 uplifted to ESR91 to see if it made the leaks reported in bug 1701016 disappear, but now this one is getting reported with high frequency instead. But this didn't hit trunk until a week after bug 1747349 landed?

EDIT: Nevermind, this bug was already hitting ESR before too. I guess it just wasn't being classified previously since it was below the leaks from bug 1701016 in the logs.

Severity: S4 → --
Keywords: memory-leak
Priority: P5 → --

Going back through the ESR logs, I believe I actually found when it started there. Appears to be from bug 1729642.

Flags: needinfo?(jfkthame)
Regressed by: CVE-2021-38498
Has Regression Range: --- → yes
Keywords: regression

Update:
There have been 31 failures within the last 7 days, all on Linux x64 WebRender opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=364042169&repo=autoland

[task 2022-01-13T21:53:33.125Z] 21:53:33     INFO -  36:06.03 TEST-UNEXPECTED-FAIL | valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize
[task 2022-01-13T21:53:33.125Z] 21:53:33     INFO -  36:06.03 ==11738== 20 bytes in 1 blocks are definitely lost in loss record 3,757 of 20,352
[task 2022-01-13T21:53:33.126Z] 21:53:33     INFO -  36:06.03 ==11738==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-01-13T21:53:33.126Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0x12CD30: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-01-13T21:53:33.126Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xAEF8A6C: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-01-13T21:53:33.126Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xAEF98F9: nsAtomTable::Atomize(nsTSubstring<char> const&)+265 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:566)
[task 2022-01-13T21:53:33.126Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xAFE7707: nsLanguageAtomService::LookupLanguage(nsTSubstring<char> const&)+87 (checkouts/gecko/intl/locale/nsLanguageAtomService.cpp:102)
[task 2022-01-13T21:53:33.127Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBCF710E: gfxFcPlatformFontList::TryLangForGroup(nsTSubstring<char> const&, nsAtom*, nsTSubstring<char>&, bool)+382 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2504)
[task 2022-01-13T21:53:33.127Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBCF25EE: gfxFcPlatformFontList::GetSampleLangForGroup(nsAtom*, nsTSubstring<char>&, bool)+734 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2569)
[task 2022-01-13T21:53:33.127Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBCF5411: gfxFcPlatformFontList::FindGenericFamilies(nsPresContext*, nsTString<char> const&, nsAtom*)+113 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2299)
[task 2022-01-13T21:53:33.127Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBCF5364: gfxFcPlatformFontList::GetDefaultFontForPlatform(nsPresContext*, gfxFontStyle const*, nsAtom*)+68 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:1991)
[task 2022-01-13T21:53:33.127Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBD43A07: gfxPlatformFontList::GetDefaultFont(nsPresContext*, gfxFontStyle const*)+39 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:2319)
[task 2022-01-13T21:53:33.127Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBD41DBF: gfxPlatformFontList::InitFontList()+1279 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:573)
[task 2022-01-13T21:53:33.128Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBD417C8: gfxPlatformFontList::Initialize(gfxPlatformFontList*)+72 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:259)
[task 2022-01-13T21:53:33.128Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBCFDFFE: gfxPlatform::Init()+3070 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:963)
[task 2022-01-13T21:53:33.128Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xBCFD3CF: gfxPlatform::GetPlatform()+31 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:466)
[task 2022-01-13T21:53:33.128Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xD85AE71: mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&)+33 (checkouts/gecko/widget/GfxInfoBase.cpp:1815)
[task 2022-01-13T21:53:33.128Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xAF80295: ??? (xptcinvoke_asm_x86_64_unix.S:101)
[task 2022-01-13T21:53:33.128Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xB99220C: Invoke (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1631)
[task 2022-01-13T21:53:33.129Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xB99220C: Call (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1184)
[task 2022-01-13T21:53:33.129Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xB99220C: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)+4060 (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1130)
[task 2022-01-13T21:53:33.129Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xB9939C1: GetAttribute (checkouts/gecko/js/xpconnect/src/xpcprivate.h:1476)
[task 2022-01-13T21:53:33.129Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xB9939C1: XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*)+625 (checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:963)
[task 2022-01-13T21:53:33.129Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE06490: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-01-13T21:53:33.129Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE06F8C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-01-13T21:53:33.130Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE07836: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-01-13T21:53:33.130Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEFCAAD1: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1970)
[task 2022-01-13T21:53:33.130Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDFF595: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-01-13T21:53:33.130Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDFF595: GetObjectElementOperation (checkouts/gecko/js/src/vm/Interpreter-inl.h:416)
[task 2022-01-13T21:53:33.130Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDFF595: GetElementOperationWithStackIndex (checkouts/gecko/js/src/vm/Interpreter-inl.h:513)
[task 2022-01-13T21:53:33.131Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDFF595: Interpret(JSContext*, js::RunState&)+31717 (checkouts/gecko/js/src/vm/Interpreter.cpp:3108)
[task 2022-01-13T21:53:33.131Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDF7971: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-01-13T21:53:33.131Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE067C7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-01-13T21:53:33.131Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE06F8C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-01-13T21:53:33.131Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE07836: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-01-13T21:53:33.132Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEFCAAD1: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1970)
[task 2022-01-13T21:53:33.132Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE0949E: js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>)+1038 (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-01-13T21:53:33.132Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDFE077: GetPropertyOperation (checkouts/gecko/js/src/vm/Interpreter.cpp:208)
[task 2022-01-13T21:53:33.132Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDFE077: Interpret(JSContext*, js::RunState&)+26311 (checkouts/gecko/js/src/vm/Interpreter.cpp:2973)
[task 2022-01-13T21:53:33.132Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEDF7971: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-01-13T21:53:33.132Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE067C7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-01-13T21:53:33.133Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEE06F8C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-01-13T21:53:33.133Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xEED21AE: JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)+654 (checkouts/gecko/js/src/vm/CallAndConstruct.cpp:53)
[task 2022-01-13T21:53:33.133Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xB98D8F1: nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*)+2929 (checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:973)
[task 2022-01-13T21:53:33.133Z] 21:53:33     INFO -  36:06.03 ==11738==    by 0xAF81014: PrepareAndDispatch+548 (checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115)
[task 2022-01-13T21:53:33.133Z] 21:53:33     INFO -  36:06.03 ==11738==
Whiteboard: [stockwell needswork:owner]

There have been 52 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • linux64-qr

There have been 35 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • linux64-qr

We appear to be leaking an nsDynamicAtom that was created by the nsLanguageAtomService here. I'm having trouble figuring out how that can happen, unless something causes us to re-initialize gfxPlatform (and hence the font-list and language-atom service etc that it references) during shutdown, after we think we've done cleanup.

One thing we can perhaps try here is to ensure GfxInfo checks whether gfxPlatform is uninitialized (or has been torn down already) and bails out instead of potentially re-initializing it late in shutdown, which may be what's happening here. I notice that some GfxInfoBase methods include a check for gfxPlatform::Initialized() before they attempt to use it, but it's missing from the GetContentBackend method.

Flags: needinfo?(jfkthame)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7fff10da0dcc
Add checks in GfxInfoBase to avoid undesired (re-)initializaton of gfxPlatform if it is not currently available. r=gfx-reviewers,aosmond

Backed out for causing xpcshell failures on test_TelemetryEnvironment.js

Backout link

Push with failures

Failure log

Failure line 1: TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js | test_checkEnvironment - [test_checkEnvironment : 658] "undefined" == "object"

Failure line 2: TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment_search.js | setup - [setup : 658] "undefined" == "object"

Flags: needinfo?(jfkthame)

Looks the failures only hit Linux and macOS, but regardless, we were still hitting these leaks on builds after the patch landed anyway :(
https://treeherder.mozilla.org/logviewer?job_id=366988740&repo=autoland&lineNumber=73596

This looks like it increases it frequency from Bug 1753758. Range
Can you please take a look?

Flags: needinfo?(lissyx+mozillians)
Summary: Intermittent valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize → High frequency valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize

(In reply to Cristian Tuns from comment #19)

This looks like it increases it frequency from Bug 1753758. Range
Can you please take a look?

I can't find anything in the failed test that remotely relates to the code that was in bug 1753758, i.e., none of the utility process related tests are ran in this, and the stack only refers to gfx?

Flags: needinfo?(lissyx+mozillians)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #18)

Looks the failures only hit Linux and macOS, but regardless, we were still hitting these leaks on builds after the patch landed anyway :(
https://treeherder.mozilla.org/logviewer?job_id=366988740&repo=autoland&lineNumber=73596

Yeah - the stack changed, as gfxPlatform is no longer getting initialized by GfxInfo, but it ends up getting inited anyway when we create a window (nsAppStartup::CreateChromeWindow etc in the stack) and the same atom leak shows up. So the patch here (that was backed out) probably doesn't help at all.

The second leak that appears in the same log appears to be related to localization (L10nReadyHandler::ResolvedCallback etc on the stack), but again what's being leaked is an nsDynamicAtom. I can't see where we're explicitly leaking a reference to these atoms; the alternative possibility is that they're getting created after we think we've cleaned up the atom table, so they're missed by the cleanup. But I also don't see quite how that would be happening...

(In reply to Sebastian Hengst [:aryx] (needinfo me if it's about an intermittent or backout) from comment #22)

More frequent from bug 1587094.

That doesn't make sense to me; bug 1587094 didn't change anything on Linux (the changes there were in Windows-specific platform code). A few cross-platform files were touched but only to rename a couple fields/methods; there no functional change to them.

Flags: needinfo?(jfkthame)
Attachment #9262689 - Attachment is obsolete: true
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]

Update:
There have been 88 failures within the last 7 days, all of them on Linux x64 WebRender opt.

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=368168589&repo=autoland&lineNumber=73618

Jonathan, is this something you are currently working on?

Flags: needinfo?(jfkthame)

No, since the attempt in https://phabricator.services.mozilla.com/D138040 didn't help (comment 18), I don't have any clear idea how to resolve this.

Maybe we should just add a valgrind suppression entry for it, given that failing to clean up a dynamic atom isn't actually going to hurt users in any way that I can see.

Flags: needinfo?(jfkthame)

There are 41 total failures in the last 7 days on linux64-qr opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=369856496&repo=autoland&lineNumber=75292

[task 2022-03-03T21:04:20.610Z] 21:04:20     INFO -  ==11643==     in use at exit: 10,658,626 bytes in 60,767 blocks
[task 2022-03-03T21:04:20.610Z] 21:04:20     INFO -  ==11643==   total heap usage: 5,814,517 allocs, 5,753,750 frees, 3,641,170,451 bytes allocated
[task 2022-03-03T21:04:20.611Z] 21:04:20     INFO -  ==11643==
[task 2022-03-03T21:04:20.642Z] 21:04:20     INFO -  ==11643== Searching for pointers to 59,604 not-freed blocks
[task 2022-03-03T21:04:21.243Z] 21:04:21     INFO -  ==11643== Checked 359,101,344 bytes
[task 2022-03-03T21:04:21.243Z] 21:04:21     INFO -  ==11643==
[task 2022-03-03T21:04:21.780Z] 21:04:21     INFO -  TEST-UNEXPECTED-FAIL | valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize
[task 2022-03-03T21:04:21.780Z] 21:04:21     INFO -  ==11643== 20 bytes in 1 blocks are definitely lost in loss record 3,949 of 20,919
[task 2022-03-03T21:04:21.780Z] 21:04:21     INFO -  ==11643==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-03-03T21:04:21.780Z] 21:04:21     INFO -  ==11643==    by 0x12DB70: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-03-03T21:04:21.780Z] 21:04:21     INFO -  ==11643==    by 0xAF89DFC: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-03-03T21:04:21.781Z] 21:04:21     INFO -  ==11643==    by 0xAF8AC89: nsAtomTable::Atomize(nsTSubstring<char> const&)+265 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:566)
[task 2022-03-03T21:04:21.781Z] 21:04:21     INFO -  ==11643==    by 0xB07AD37: nsLanguageAtomService::LookupLanguage(nsTSubstring<char> const&)+87 (checkouts/gecko/intl/locale/nsLanguageAtomService.cpp:102)
[task 2022-03-03T21:04:21.781Z] 21:04:21     INFO -  ==11643==    by 0xBB19B3E: gfxFcPlatformFontList::TryLangForGroup(nsTSubstring<char> const&, nsAtom*, nsTSubstring<char>&, bool)+382 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2523)
[task 2022-03-03T21:04:21.781Z] 21:04:21     INFO -  ==11643==    by 0xBB14FFE: gfxFcPlatformFontList::GetSampleLangForGroup(nsAtom*, nsTSubstring<char>&, bool)+734 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2588)
[task 2022-03-03T21:04:21.782Z] 21:04:21     INFO -  ==11643==    by 0xBB17E31: gfxFcPlatformFontList::FindGenericFamilies(nsPresContext*, nsTString<char> const&, nsAtom*)+113 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2318)
[task 2022-03-03T21:04:21.782Z] 21:04:21     INFO -  ==11643==    by 0xBB17D84: gfxFcPlatformFontList::GetDefaultFontForPlatform(nsPresContext*, gfxFontStyle const*, nsAtom*)+68 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2010)
[task 2022-03-03T21:04:21.782Z] 21:04:21     INFO -  ==11643==    by 0xBB66827: gfxPlatformFontList::GetDefaultFont(nsPresContext*, gfxFontStyle const*)+39 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:2358)
[task 2022-03-03T21:04:21.782Z] 21:04:21     INFO -  ==11643==    by 0xBB64BDF: gfxPlatformFontList::InitFontList()+1279 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:573)
[task 2022-03-03T21:04:21.782Z] 21:04:21     INFO -  ==11643==    by 0xBB645E8: gfxPlatformFontList::Initialize(gfxPlatformFontList*)+72 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:259)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xBB20B60: gfxPlatform::Init()+3152 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:966)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xBB1FEDF: gfxPlatform::GetPlatform()+31 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:465)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xD958C41: mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&)+33 (checkouts/gecko/widget/GfxInfoBase.cpp:1826)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xB0120F5: ??? (xptcinvoke_asm_x86_64_unix.S:101)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xB751B5C: Invoke (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1631)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xB751B5C: Call (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1184)
[task 2022-03-03T21:04:21.783Z] 21:04:21     INFO -  ==11643==    by 0xB751B5C: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)+4060 (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1130)
[task 2022-03-03T21:04:21.784Z] 21:04:21     INFO -  ==11643==    by 0xB753311: GetAttribute (checkouts/gecko/js/xpconnect/src/xpcprivate.h:1480)
[task 2022-03-03T21:04:21.784Z] 21:04:21     INFO -  ==11643==    by 0xB753311: XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*)+625 (checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:963)
[task 2022-03-03T21:04:21.784Z] 21:04:21     INFO -  ==11643==    by 0xEF96990: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-03-03T21:04:21.784Z] 21:04:21     INFO -  ==11643==    by 0xEF9748C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-03T21:04:21.784Z] 21:04:21     INFO -  ==11643==    by 0xEF97D36: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xF0C1E51: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1970)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xEF8FAAF: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xEF8FAAF: GetObjectElementOperation (checkouts/gecko/js/src/vm/Interpreter-inl.h:416)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xEF8FAAF: GetElementOperationWithStackIndex (checkouts/gecko/js/src/vm/Interpreter-inl.h:513)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xEF8FAAF: Interpret(JSContext*, js::RunState&)+31967 (checkouts/gecko/js/src/vm/Interpreter.cpp:3108)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xEF87D91: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-03-03T21:04:21.785Z] 21:04:21     INFO -  ==11643==    by 0xEF96CC7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-03-03T21:04:21.786Z] 21:04:21     INFO -  ==11643==    by 0xEF9748C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-03T21:04:21.786Z] 21:04:21     INFO -  ==11643==    by 0xEF97D36: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-03-03T21:04:21.786Z] 21:04:21     INFO -  ==11643==    by 0xF0C1E51: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1970)
[task 2022-03-03T21:04:21.786Z] 21:04:21     INFO -  ==11643==    by 0xEF9999E: js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>)+1038 (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-03-03T21:04:21.786Z] 21:04:21     INFO -  ==11643==    by 0xEF8E4B7: GetPropertyOperation (checkouts/gecko/js/src/vm/Interpreter.cpp:208)
[task 2022-03-03T21:04:21.786Z] 21:04:21     INFO -  ==11643==    by 0xEF8E4B7: Interpret(JSContext*, js::RunState&)+26343 (checkouts/gecko/js/src/vm/Interpreter.cpp:2973)
[task 2022-03-03T21:04:21.787Z] 21:04:21     INFO -  ==11643==    by 0xEF87D91: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-03-03T21:04:21.787Z] 21:04:21     INFO -  ==11643==    by 0xEF96CC7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-03-03T21:04:21.787Z] 21:04:21     INFO -  ==11643==    by 0xEF9748C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-03T21:04:21.787Z] 21:04:21     INFO -  ==11643==    by 0xF019B0E: JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)+654 (checkouts/gecko/js/src/vm/CallAndConstruct.cpp:53)
[task 2022-03-03T21:04:21.787Z] 21:04:21     INFO -  ==11643==    by 0xB74D26C: nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*)+2940 (checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:981)
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -  ==11643==    by 0xB012E74: PrepareAndDispatch+548 (checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115)
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -  ==11643==
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -  {
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     <insert_a_suppression_name_here>
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     Memcheck:Leak
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     match-leak-kinds: definite
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     fun:malloc
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     fun:moz_xmalloc
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     fun:_ZN13nsDynamicAtom6CreateERK12nsTSubstringIDsEj
[task 2022-03-03T21:04:21.788Z] 21:04:21     INFO -     fun:_ZN11nsAtomTable7AtomizeERK12nsTSubstringIcE
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN21nsLanguageAtomService14LookupLanguageERK12nsTSubstringIcE
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN21gfxFcPlatformFontList15TryLangForGroupERK12nsTSubstringIcEP6nsAtomRS1_b
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN21gfxFcPlatformFontList21GetSampleLangForGroupEP6nsAtomR12nsTSubstringIcEb
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN21gfxFcPlatformFontList19FindGenericFamiliesEP13nsPresContextRK9nsTStringIcEP6nsAtom
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN21gfxFcPlatformFontList25GetDefaultFontForPlatformEP13nsPresContextPK12gfxFontStyleP6nsAtom
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN19gfxPlatformFontList14GetDefaultFontEP13nsPresContextPK12gfxFontStyle
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN19gfxPlatformFontList12InitFontListEv
[task 2022-03-03T21:04:21.789Z] 21:04:21     INFO -     fun:_ZN19gfxPlatformFontList10InitializeEPS_
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:_ZN11gfxPlatform4InitEv
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:_ZN11gfxPlatform11GetPlatformEv
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:_ZN7mozilla6widget11GfxInfoBase17GetContentBackendER12nsTSubstringIDsE
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     obj:/builds/worker/workspace/obj-build/toolkit/library/build/libxul.so
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:Invoke
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:Call
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:_ZN16XPCWrappedNative10CallMethodER14XPCCallContextNS_8CallModeE
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:GetAttribute
[task 2022-03-03T21:04:21.790Z] 21:04:21     INFO -     fun:_Z19XPC_WN_GetterSetterP9JSContextjPN2JS5ValueE
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:_ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:_ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EENS_10CallReasonE
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:_ZN2js10CallGetterEP9JSContextN2JS6HandleINS2_5ValueEEES5_NS2_13MutableHandleIS4_EE
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:_ZN2js17NativeGetPropertyEP9JSContextN2JS6HandleIPNS_12NativeObjectEEENS3_INS2_5ValueEEENS3_INS2_11PropertyKeyEEENS2_13MutableHandleIS7_EE
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:GetProperty
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:GetObjectElementOperation
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:GetElementOperationWithStackIndex
[task 2022-03-03T21:04:21.791Z] 21:04:21     INFO -     fun:_ZL9InterpretP9JSContextRN2js8RunStateE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:_ZN2js9RunScriptEP9JSContextRNS_8RunStateE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:_ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:_ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EENS_10CallReasonE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:_ZN2js10CallGetterEP9JSContextN2JS6HandleINS2_5ValueEEES5_NS2_13MutableHandleIS4_EE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:_ZN2js17NativeGetPropertyEP9JSContextN2JS6HandleIPNS_12NativeObjectEEENS3_INS2_5ValueEEENS3_INS2_11PropertyKeyEEENS2_13MutableHandleIS7_EE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:_ZN2js11GetPropertyEP9JSContextN2JS6HandleINS2_5ValueEEENS3_IPNS_12PropertyNameEEENS2_13MutableHandleIS4_EE
[task 2022-03-03T21:04:21.792Z] 21:04:21     INFO -     fun:GetPropertyOperation
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:_ZL9InterpretP9JSContextRN2js8RunStateE
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:_ZN2js9RunScriptEP9JSContextRNS_8RunStateE
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:_ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:_ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EENS_10CallReasonE
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:_Z20JS_CallFunctionValueP9JSContextN2JS6HandleIP8JSObjectEENS2_INS1_5ValueEEERKNS1_16HandleValueArrayENS1_13MutableHandleIS6_EE
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:_ZN14nsXPCWrappedJS10CallMethodEtPK15nsXPTMethodInfoP17nsXPTCMiniVariant
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -     fun:PrepareAndDispatch
[task 2022-03-03T21:04:21.793Z] 21:04:21     INFO -  }
[task 2022-03-03T21:04:21.912Z] 21:04:21     INFO -  TEST-UNEXPECTED-FAIL | valgrind-test | 28 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize
[task 2022-03-03T21:04:21.912Z] 21:04:21     INFO -  ==11643== 28 bytes in 1 blocks are definitely lost in loss record 5,152 of 20,919
[task 2022-03-03T21:04:21.912Z] 21:04:21     INFO -  ==11643==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-03-03T21:04:21.912Z] 21:04:21     INFO -  ==11643==    by 0x12DB70: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-03-03T21:04:21.912Z] 21:04:21     INFO -  ==11643==    by 0xAF89DFC: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-03-03T21:04:21.912Z] 21:04:21     INFO -  ==11643==    by 0xAF8AECB: nsAtomTable::Atomize(nsTSubstring<char16_t> const&)+315 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:595)
[task 2022-03-03T21:04:21.913Z] 21:04:21     INFO -  ==11643==    by 0xBE727A2: nsAttrValue::ParseAtom(nsTSubstring<char16_t> const&)+34 (checkouts/gecko/dom/base/nsAttrValue.cpp:1169)
[task 2022-03-03T21:04:21.913Z] 21:04:21     INFO -  ==11643==    by 0xBDEB958: mozilla::dom::Element::ParseAttribute(int, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, nsAttrValue&)+88 (checkouts/gecko/dom/base/Element.cpp:0)
[task 2022-03-03T21:04:21.913Z] 21:04:21     INFO -  ==11643==    by 0xBDE84EC: mozilla::dom::Element::SetAttr(int, nsAtom*, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, bool)+412 (checkouts/gecko/dom/base/Element.cpp:2433)
[task 2022-03-03T21:04:21.913Z] 21:04:21     INFO -  ==11643==    by 0xD90CFF6: SetAttr (dist/include/mozilla/dom/Element.h:947)
[task 2022-03-03T21:04:21.913Z] 21:04:21     INFO -  ==11643==    by 0xD90CFF6: SetAttr (dist/include/mozilla/dom/Element.h:943)
[task 2022-03-03T21:04:21.914Z] 21:04:21     INFO -  ==11643==    by 0xD90CFF6: mozilla::dom::DOMLocalization::SetRootInfo(mozilla::dom::Element*)+230 (checkouts/gecko/dom/l10n/DOMLocalization.cpp:456)
[task 2022-03-03T21:04:21.914Z] 21:04:21     INFO -  ==11643==    by 0xD90EC10: mozilla::dom::DocumentL10n::InitialTranslationCompleted(bool)+48 (checkouts/gecko/dom/l10n/DocumentL10n.cpp:314)
[task 2022-03-03T21:04:21.914Z] 21:04:21     INFO -  ==11643==    by 0xD9132D9: L10nReadyHandler::ResolvedCallback(JSContext*, JS::Handle<JS::Value>, mozilla::ErrorResult&)+25 (checkouts/gecko/dom/l10n/DocumentL10n.cpp:75)
[task 2022-03-03T21:04:21.914Z] 21:04:21     INFO -  ==11643==    by 0xD6DFA4D: mozilla::dom::(anonymous namespace)::PromiseNativeHandlerShim::ResolvedCallback(JSContext*, JS::Handle<JS::Value>, mozilla::ErrorResult&)+29 (checkouts/gecko/dom/promise/Promise.cpp:387)
[task 2022-03-03T21:04:21.914Z] 21:04:21     INFO -  ==11643==    by 0xD6DFD59: mozilla::dom::NativeHandlerCallback(JSContext*, unsigned int, JS::Value*)+441 (dist/include/js/RootingAPI.h:0)
[task 2022-03-03T21:04:21.915Z] 21:04:21     INFO -  ==11643==    by 0xEF96990: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-03-03T21:04:21.915Z] 21:04:21     INFO -  ==11643==    by 0xEF9748C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-03T21:04:21.915Z] 21:04:21     INFO -  ==11643==    by 0xF1134A6: Call (checkouts/gecko/js/src/vm/Interpreter.h:106)
[task 2022-03-03T21:04:21.915Z] 21:04:21     INFO -  ==11643==    by 0xF1134A6: PromiseReactionJob(JSContext*, unsigned int, JS::Value*)+1926 (checkouts/gecko/js/src/builtin/Promise.cpp:2067)
[task 2022-03-03T21:04:21.915Z] 21:04:21     INFO -  ==11643==    by 0xEF96990: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-03-03T21:04:21.915Z] 21:04:21     INFO -  ==11643==    by 0xEF9748C: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-03T21:04:21.916Z] 21:04:21     INFO -  ==11643==    by 0xF01A28B: JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)+539 (checkouts/gecko/js/src/vm/CallAndConstruct.cpp:117)
[task 2022-03-03T21:04:21.916Z] 21:04:21     INFO -  ==11643==    by 0xC1E078B: mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&)+171 (PromiseBinding.cpp:35)
[task 2022-03-03T21:04:21.916Z] 21:04:21     INFO -  ==11643==    by 0xAF563C9: Call (dist/include/mozilla/dom/PromiseBinding.h:89)
[task 2022-03-03T21:04:21.916Z] 21:04:21     INFO -  ==11643==    by 0xAF563C9: Call (dist/include/mozilla/dom/PromiseBinding.h:102)
[task 2022-03-03T21:04:21.916Z] 21:04:21     INFO -  ==11643==    by 0xAF563C9: mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&)+265 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:213)
[task 2022-03-03T21:04:21.916Z] 21:04:21     INFO -  ==11643==    by 0xAF4A119: mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool)+1289 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:676)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xAF4A5F2: mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int)+18 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:463)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xB72B8A6: XPCJSContext::AfterProcessTask(unsigned int)+1270 (checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1486)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xAFF6052: nsThread::ProcessNextEvent(bool, bool*)+2242 (checkouts/gecko/xpcom/threads/nsThread.cpp:1210)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xAFFA1B7: NS_ProcessNextEvent(nsIThread*, bool)+71 (checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:467)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xB673DC7: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)+135 (checkouts/gecko/ipc/glue/MessagePump.cpp:85)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xB624695: RunInternal (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331)
[task 2022-03-03T21:04:21.917Z] 21:04:21     INFO -  ==11643==    by 0xB624695: RunHandler (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0xB624695: MessageLoop::Run()+85 (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0xD97B9C8: nsBaseAppShell::Run()+40 (checkouts/gecko/widget/nsBaseAppShell.cpp:137)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0xEDECA56: nsAppStartup::Run()+118 (checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:295)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0xEEC098E: XREMain::XRE_mainRun()+3374 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5732)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0xEEC10B3: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&)+1187 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5917)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0xEEC140E: XRE_main(int, char**, mozilla::BootstrapConfig const&)+158 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5976)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0x12C493: do_main (checkouts/gecko/browser/app/nsBrowserApp.cpp:225)
[task 2022-03-03T21:04:21.918Z] 21:04:21     INFO -  ==11643==    by 0x12C493: main+1059 (checkouts/gecko/browser/app/nsBrowserApp.cpp:395)
[task 2022-03-03T21:04:21.919Z] 21:04:21     INFO -  ==11643==
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]

Lee, since you are the owner of this component, can you help us assign it to someone?
Thank you.

Flags: needinfo?(lsalzman)
Flags: needinfo?(lsalzman)

Hi Jonathan, are you still working on this?

There are 48 total failures in the last 7 days on linux64-qr opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=371739117&repo=autoland&lineNumber=75328

[task 2022-03-21T10:32:16.158Z] 10:32:16     INFO -  ==11369== ERROR SUMMARY: 24 errors from 24 contexts (suppressed: 1 from 1)
[task 2022-03-21T10:32:16.159Z] 10:32:16     INFO -  --11369--
[task 2022-03-21T10:32:16.159Z] 10:32:16     INFO -  --11369-- used_suppression:      1 dtv-addr-init /usr/libexec/valgrind/default.supp:1468 suppressed: 1,920 bytes in 1 blocks
[task 2022-03-21T10:32:16.159Z] 10:32:16     INFO -  --11369-- used_suppression:      1 Bug 794372 /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:121 suppressed: 32 bytes in 1 blocks
[task 2022-03-21T10:32:16.159Z] 10:32:16     INFO -  ==11369==
[task 2022-03-21T10:32:16.159Z] 10:32:16     INFO -  ==11369== ERROR SUMMARY: 24 errors from 24 contexts (suppressed: 1 from 1)
[task 2022-03-21T10:32:25.986Z] 10:32:25     INFO -  --11231-- Archiving syms at 0x2fe9a480-0x2ff2ac5c in /builds/worker/workspace/obj-build/security/nss/lib/freebl/freebl_freeblpriv3/libfreeblpriv3.so (have_dinfo 1)
[task 2022-03-21T10:32:25.986Z] 10:32:25     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:26.533Z] 10:32:26     INFO -  --11231-- Scanned 3,719,893 ExeContexts, archived 1,400 ExeContexts
[task 2022-03-21T10:32:26.559Z] 10:32:26     INFO -  --11231-- Archiving syms at 0x2ffd3f30-0x2ffe0ceb in /builds/worker/workspace/obj-build/security/nss/lib/ckfw/builtins/builtins_nssckbi/libnssckbi.so (have_dinfo 1)
[task 2022-03-21T10:32:26.559Z] 10:32:26     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:27.092Z] 10:32:27     INFO -  --11231-- Scanned 3,720,124 ExeContexts, archived 1,416 ExeContexts
[task 2022-03-21T10:32:27.104Z] 10:32:27     INFO -  --11231-- Archiving syms at 0x2fe2f5e0-0x2fe62e76 in /builds/worker/workspace/obj-build/security/nss/lib/softoken/softoken_softokn3/libsoftokn3.so (have_dinfo 1)
[task 2022-03-21T10:32:27.104Z] 10:32:27     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:27.640Z] 10:32:27     INFO -  --11231-- Scanned 3,720,147 ExeContexts, archived 5,545 ExeContexts
[task 2022-03-21T10:32:28.338Z] 10:32:28     INFO -  --11231-- Archiving syms at 0x114dbf00-0x11519cee in /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:28.339Z] 10:32:28     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:28.970Z] 10:32:28     INFO -  --11231-- Scanned 3,724,646 ExeContexts, archived 5,468 ExeContexts
[task 2022-03-21T10:32:28.977Z] 10:32:28     INFO -  --11231-- Archiving syms at 0x1158f0b0-0x115974e5 in /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:28.977Z] 10:32:28     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:29.604Z] 10:32:29     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 23 ExeContexts
[task 2022-03-21T10:32:29.611Z] 10:32:29     INFO -  --11231-- Archiving syms at 0x115a3090-0x115a41d5 in /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:29.611Z] 10:32:29     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:30.225Z] 10:32:30     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 7 ExeContexts
[task 2022-03-21T10:32:30.237Z] 10:32:30     INFO -  --11231-- Archiving syms at 0x115a8fa0-0x115ab878 in /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:30.237Z] 10:32:30     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:30.843Z] 10:32:30     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 9 ExeContexts
[task 2022-03-21T10:32:30.850Z] 10:32:30     INFO -  --11231-- Archiving syms at 0x117b00c0-0x117b0fb3 in /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:30.850Z] 10:32:30     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:31.446Z] 10:32:31     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 7 ExeContexts
[task 2022-03-21T10:32:31.453Z] 10:32:31     INFO -  --11231-- Archiving syms at 0x117b5070-0x117b58d6 in /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:31.453Z] 10:32:31     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:32.051Z] 10:32:32     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 7 ExeContexts
[task 2022-03-21T10:32:32.059Z] 10:32:32     INFO -  --11231-- Archiving syms at 0x117bc120-0x117be1e2 in /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:32.059Z] 10:32:32     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:32.653Z] 10:32:32     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 7 ExeContexts
[task 2022-03-21T10:32:32.671Z] 10:32:32     INFO -  --11231-- Archiving syms at 0x117c3960-0x117c3c2c in /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:32.671Z] 10:32:32     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:33.273Z] 10:32:33     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 8 ExeContexts
[task 2022-03-21T10:32:33.280Z] 10:32:33     INFO -  --11231-- Archiving syms at 0x119c8080-0x119ca68a in /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0 (have_dinfo 1)
[task 2022-03-21T10:32:33.280Z] 10:32:33     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:33.874Z] 10:32:33     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 7 ExeContexts
[task 2022-03-21T10:32:33.880Z] 10:32:33     INFO -  --11231-- Archiving syms at 0x290c8300-0x290ce338 in /lib/x86_64-linux-gnu/libnss_files-2.31.so (have_dinfo 1)
[task 2022-03-21T10:32:33.880Z] 10:32:33     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:34.410Z] 10:32:34     INFO -  --11231-- Scanned 3,724,651 ExeContexts, archived 135 ExeContexts
[task 2022-03-21T10:32:34.418Z] 10:32:34     INFO -  --11231-- Archiving syms at 0x368391b0-0x3683c172 in /lib/x86_64-linux-gnu/libnss_dns-2.31.so (have_dinfo 1)
[task 2022-03-21T10:32:34.418Z] 10:32:34     INFO -  --11231-- Scanning and archiving ExeContexts ...
[task 2022-03-21T10:32:34.939Z] 10:32:34     INFO -  --11231-- Scanned 3,724,655 ExeContexts, archived 81 ExeContexts
[task 2022-03-21T10:32:35.077Z] 10:32:35     INFO -  ==11231==
[task 2022-03-21T10:32:35.080Z] 10:32:35     INFO -  ==11231== HEAP SUMMARY:
[task 2022-03-21T10:32:35.080Z] 10:32:35     INFO -  ==11231==     in use at exit: 10,734,312 bytes in 60,966 blocks
[task 2022-03-21T10:32:35.080Z] 10:32:35     INFO -  ==11231==   total heap usage: 5,754,161 allocs, 5,693,195 frees, 3,613,866,026 bytes allocated
[task 2022-03-21T10:32:35.080Z] 10:32:35     INFO -  ==11231==
[task 2022-03-21T10:32:35.113Z] 10:32:35     INFO -  ==11231== Searching for pointers to 59,803 not-freed blocks
[task 2022-03-21T10:32:35.752Z] 10:32:35     INFO -  ==11231== Checked 359,376,448 bytes
[task 2022-03-21T10:32:35.752Z] 10:32:35     INFO -  ==11231==
[task 2022-03-21T10:32:36.319Z] 10:32:36     INFO -  TEST-UNEXPECTED-FAIL | valgrind-test | 20 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize
[task 2022-03-21T10:32:36.320Z] 10:32:36     INFO -  ==11231== 20 bytes in 1 blocks are definitely lost in loss record 3,948 of 20,954
[task 2022-03-21T10:32:36.320Z] 10:32:36     INFO -  ==11231==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-03-21T10:32:36.320Z] 10:32:36     INFO -  ==11231==    by 0x12DB70: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-03-21T10:32:36.320Z] 10:32:36     INFO -  ==11231==    by 0xAF6DD7C: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-03-21T10:32:36.320Z] 10:32:36     INFO -  ==11231==    by 0xAF6EC09: nsAtomTable::Atomize(nsTSubstring<char> const&)+265 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:566)
[task 2022-03-21T10:32:36.321Z] 10:32:36     INFO -  ==11231==    by 0xB060107: nsLanguageAtomService::LookupLanguage(nsTSubstring<char> const&)+87 (checkouts/gecko/intl/locale/nsLanguageAtomService.cpp:102)
[task 2022-03-21T10:32:36.321Z] 10:32:36     INFO -  ==11231==    by 0xBB01DAE: gfxFcPlatformFontList::TryLangForGroup(nsTSubstring<char> const&, nsAtom*, nsTSubstring<char>&, bool)+382 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2539)
[task 2022-03-21T10:32:36.321Z] 10:32:36     INFO -  ==11231==    by 0xBAFD4DE: gfxFcPlatformFontList::GetSampleLangForGroup(nsAtom*, nsTSubstring<char>&, bool)+734 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2604)
[task 2022-03-21T10:32:36.321Z] 10:32:36     INFO -  ==11231==    by 0xBB001A1: gfxFcPlatformFontList::FindGenericFamilies(nsPresContext*, nsTString<char> const&, nsAtom*)+113 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2346)
[task 2022-03-21T10:32:36.322Z] 10:32:36     INFO -  ==11231==    by 0xBB000F4: gfxFcPlatformFontList::GetDefaultFontForPlatform(nsPresContext*, gfxFontStyle const*, nsAtom*)+68 (checkouts/gecko/gfx/thebes/gfxFcPlatformFontList.cpp:2013)
[task 2022-03-21T10:32:36.322Z] 10:32:36     INFO -  ==11231==    by 0xBB4EAD7: gfxPlatformFontList::GetDefaultFont(nsPresContext*, gfxFontStyle const*)+39 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:2369)
[task 2022-03-21T10:32:36.322Z] 10:32:36     INFO -  ==11231==    by 0xBB4CDD2: gfxPlatformFontList::InitFontList()+1330 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:576)
[task 2022-03-21T10:32:36.322Z] 10:32:36     INFO -  ==11231==    by 0xBB4C7A8: gfxPlatformFontList::Initialize(gfxPlatformFontList*)+72 (checkouts/gecko/gfx/thebes/gfxPlatformFontList.cpp:259)
[task 2022-03-21T10:32:36.322Z] 10:32:36     INFO -  ==11231==    by 0xBB08E20: gfxPlatform::Init()+3152 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:966)
[task 2022-03-21T10:32:36.323Z] 10:32:36     INFO -  ==11231==    by 0xBB0819F: gfxPlatform::GetPlatform()+31 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:465)
[task 2022-03-21T10:32:36.323Z] 10:32:36     INFO -  ==11231==    by 0xD952501: mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&)+33 (checkouts/gecko/widget/GfxInfoBase.cpp:1826)
[task 2022-03-21T10:32:36.323Z] 10:32:36     INFO -  ==11231==    by 0xAFF68F5: ??? (xptcinvoke_asm_x86_64_unix.S:101)
[task 2022-03-21T10:32:36.323Z] 10:32:36     INFO -  ==11231==    by 0xB73910C: Invoke (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1631)
[task 2022-03-21T10:32:36.323Z] 10:32:36     INFO -  ==11231==    by 0xB73910C: Call (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1184)
[task 2022-03-21T10:32:36.323Z] 10:32:36     INFO -  ==11231==    by 0xB73910C: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)+4060 (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1130)
[task 2022-03-21T10:32:36.324Z] 10:32:36     INFO -  ==11231==    by 0xB73A8C1: GetAttribute (checkouts/gecko/js/xpconnect/src/xpcprivate.h:1474)
[task 2022-03-21T10:32:36.324Z] 10:32:36     INFO -  ==11231==    by 0xB73A8C1: XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*)+625 (checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1003)
[task 2022-03-21T10:32:36.324Z] 10:32:36     INFO -  ==11231==    by 0xEF9EAC0: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-03-21T10:32:36.324Z] 10:32:36     INFO -  ==11231==    by 0xEF9F5BC: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-21T10:32:36.325Z] 10:32:36     INFO -  ==11231==    by 0xEF9FE66: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-03-21T10:32:36.325Z] 10:32:36     INFO -  ==11231==    by 0xF0CC4F1: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1971)
[task 2022-03-21T10:32:36.325Z] 10:32:36     INFO -  ==11231==    by 0xEF97AF5: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-03-21T10:32:36.325Z] 10:32:36     INFO -  ==11231==    by 0xEF97AF5: GetObjectElementOperation (checkouts/gecko/js/src/vm/Interpreter-inl.h:416)
[task 2022-03-21T10:32:36.325Z] 10:32:36     INFO -  ==11231==    by 0xEF97AF5: GetElementOperationWithStackIndex (checkouts/gecko/js/src/vm/Interpreter-inl.h:513)
[task 2022-03-21T10:32:36.326Z] 10:32:36     INFO -  ==11231==    by 0xEF97AF5: Interpret(JSContext*, js::RunState&)+31941 (checkouts/gecko/js/src/vm/Interpreter.cpp:3107)
[task 2022-03-21T10:32:36.326Z] 10:32:36     INFO -  ==11231==    by 0xEF8FDF1: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-03-21T10:32:36.326Z] 10:32:36     INFO -  ==11231==    by 0xEF9EDF7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-03-21T10:32:36.326Z] 10:32:36     INFO -  ==11231==    by 0xEF9F5BC: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-21T10:32:36.326Z] 10:32:36     INFO -  ==11231==    by 0xEF9FE66: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:715)
[task 2022-03-21T10:32:36.327Z] 10:32:36     INFO -  ==11231==    by 0xF0CC4F1: js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)+2241 (checkouts/gecko/js/src/vm/NativeObject.cpp:1971)
[task 2022-03-21T10:32:36.327Z] 10:32:36     INFO -  ==11231==    by 0xEFA1B7E: js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>)+1038 (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:120)
[task 2022-03-21T10:32:36.327Z] 10:32:36     INFO -  ==11231==    by 0xEF96517: GetPropertyOperation (checkouts/gecko/js/src/vm/Interpreter.cpp:208)
[task 2022-03-21T10:32:36.327Z] 10:32:36     INFO -  ==11231==    by 0xEF96517: Interpret(JSContext*, js::RunState&)+26343 (checkouts/gecko/js/src/vm/Interpreter.cpp:2972)
[task 2022-03-21T10:32:36.327Z] 10:32:36     INFO -  ==11231==    by 0xEF8FDF1: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:394)
[task 2022-03-21T10:32:36.328Z] 10:32:36     INFO -  ==11231==    by 0xEF9EDF7: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:544)
[task 2022-03-21T10:32:36.328Z] 10:32:36     INFO -  ==11231==    by 0xEF9F5BC: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+156 (checkouts/gecko/js/src/vm/Interpreter.cpp:572)
[task 2022-03-21T10:32:36.328Z] 10:32:36     INFO -  ==11231==    by 0xF0237FE: JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)+654 (checkouts/gecko/js/src/vm/CallAndConstruct.cpp:53)
[task 2022-03-21T10:32:36.328Z] 10:32:36     INFO -  ==11231==    by 0xB73481C: nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*)+2940 (checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:981)
[task 2022-03-21T10:32:36.329Z] 10:32:36     INFO -  ==11231==    by 0xAFF7674: PrepareAndDispatch+548 (checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115)
[task 2022-03-21T10:32:36.329Z] 10:32:36     INFO -  ==11231==
Flags: needinfo?(jfkthame)

No, I'm currently busy with some higher-priority stuff, so unassigning myself from this bug for now, at least.

As noted in comment 28, my inclination here would be to just add a suppression entry. But Lee might have a better idea?

Assignee: jfkthame → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(jfkthame)
Flags: needinfo?(lsalzman)

I am okay with the idea of a suppression entry. I looked a little bit and don't see an obvious explanation either.

Flags: needinfo?(lsalzman)

Andrew, could you add a suppression rule for this issue?

Flags: needinfo?(continuation)

I don't know anything about valgrind's leak checking. I'll try to find some time to look into it.

I believe it's just a case of adding an entry to build/valgrind/x86_64-pc-linux-gnu.sup. I'll put up a patch.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #9269579 - Attachment description: Bug 1748520 - Add valgrind suppression for the leak of a dynamic atom created by language lookup. r=mccr8 → Bug 1748520 - Add valgrind suppression for the leak of a dynamic atom created by language lookup. r=jseward
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ac056c06d8ca
Add valgrind suppression for the leak of a dynamic atom created by language lookup. r=jseward
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
See Also: → 1762046

Thanks for writing the suppression, Jonathan.

Flags: needinfo?(continuation)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: