Closed Bug 1762046 Opened 3 years ago Closed 3 years ago

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

Categories

(Core :: Internationalization: Localization, defect, P5)

defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr102 --- fixed
firefox103 --- fixed

People

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

References

Details

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

Attachments

(1 file)

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


[task 2022-03-29T17:38:59.468Z] 17:38:59     INFO -  ==13876== HEAP SUMMARY:
[task 2022-03-29T17:38:59.469Z] 17:38:59     INFO -  ==13876==     in use at exit: 10,663,398 bytes in 61,090 blocks
[task 2022-03-29T17:38:59.469Z] 17:38:59     INFO -  ==13876==   total heap usage: 5,586,690 allocs, 5,525,600 frees, 3,510,958,275 bytes allocated
[task 2022-03-29T17:38:59.469Z] 17:38:59     INFO -  ==13876==
[task 2022-03-29T17:38:59.499Z] 17:38:59     INFO -  ==13876== Searching for pointers to 59,927 not-freed blocks
[task 2022-03-29T17:39:00.097Z] 17:39:00     INFO -  ==13876== Checked 358,011,376 bytes
[task 2022-03-29T17:39:00.098Z] 17:39:00     INFO -  ==13876==
[task 2022-03-29T17:39:00.783Z] 17:39:00     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-29T17:39:00.783Z] 17:39:00     INFO -  ==13876== 28 bytes in 1 blocks are definitely lost in loss record 5,178 of 21,038
[task 2022-03-29T17:39:00.783Z] 17:39:00     INFO -  ==13876==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-03-29T17:39:00.784Z] 17:39:00     INFO -  ==13876==    by 0x12DB70: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-03-29T17:39:00.784Z] 17:39:00     INFO -  ==13876==    by 0xAF7808C: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-03-29T17:39:00.784Z] 17:39:00     INFO -  ==13876==    by 0xAF7915B: nsAtomTable::Atomize(nsTSubstring<char16_t> const&)+315 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:595)
[task 2022-03-29T17:39:00.784Z] 17:39:00     INFO -  ==13876==    by 0xBE6E0F2: nsAttrValue::ParseAtom(nsTSubstring<char16_t> const&)+34 (checkouts/gecko/dom/base/nsAttrValue.cpp:1169)
[task 2022-03-29T17:39:00.784Z] 17:39:00     INFO -  ==13876==    by 0xBDE6F18: mozilla::dom::Element::ParseAttribute(int, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, nsAttrValue&)+88 (checkouts/gecko/dom/base/Element.cpp:0)
[task 2022-03-29T17:39:00.785Z] 17:39:00     INFO -  ==13876==    by 0xBDE3A8C: mozilla::dom::Element::SetAttr(int, nsAtom*, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, bool)+412 (checkouts/gecko/dom/base/Element.cpp:2432)
[task 2022-03-29T17:39:00.785Z] 17:39:00     INFO -  ==13876==    by 0xD919226: SetAttr (dist/include/mozilla/dom/Element.h:947)
[task 2022-03-29T17:39:00.785Z] 17:39:00     INFO -  ==13876==    by 0xD919226: SetAttr (dist/include/mozilla/dom/Element.h:943)
[task 2022-03-29T17:39:00.785Z] 17:39:00     INFO -  ==13876==    by 0xD919226: mozilla::dom::DOMLocalization::SetRootInfo(mozilla::dom::Element*)+230 (checkouts/gecko/dom/l10n/DOMLocalization.cpp:456)
[task 2022-03-29T17:39:00.785Z] 17:39:00     INFO -  ==13876==    by 0xD91AE40: mozilla::dom::DocumentL10n::InitialTranslationCompleted(bool)+48 (checkouts/gecko/dom/l10n/DocumentL10n.cpp:314)
[task 2022-03-29T17:39:00.785Z] 17:39:00     INFO -  ==13876==    by 0xD91F579: L10nReadyHandler::ResolvedCallback(JSContext*, JS::Handle<JS::Value>, mozilla::ErrorResult&)+25 (checkouts/gecko/dom/l10n/DocumentL10n.cpp:75)
[task 2022-03-29T17:39:00.786Z] 17:39:00     INFO -  ==13876==    by 0xD6EBCAD: mozilla::dom::(anonymous namespace)::PromiseNativeHandlerShim::ResolvedCallback(JSContext*, JS::Handle<JS::Value>, mozilla::ErrorResult&)+29 (checkouts/gecko/dom/promise/Promise.cpp:407)
[task 2022-03-29T17:39:00.786Z] 17:39:00     INFO -  ==13876==    by 0xD6EBFB9: mozilla::dom::NativeHandlerCallback(JSContext*, unsigned int, JS::Value*)+441 (dist/include/js/RootingAPI.h:0)
[task 2022-03-29T17:39:00.786Z] 17:39:00     INFO -  ==13876==    by 0xEF9D780: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-03-29T17:39:00.786Z] 17:39:00     INFO -  ==13876==    by 0xEF9E27C: 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-29T17:39:00.786Z] 17:39:00     INFO -  ==13876==    by 0xF11DF36: Call (checkouts/gecko/js/src/vm/Interpreter.h:106)
[task 2022-03-29T17:39:00.786Z] 17:39:00     INFO -  ==13876==    by 0xF11DF36: PromiseReactionJob(JSContext*, unsigned int, JS::Value*)+1926 (checkouts/gecko/js/src/builtin/Promise.cpp:2067)
[task 2022-03-29T17:39:00.787Z] 17:39:00     INFO -  ==13876==    by 0xEF9D780: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:425)
[task 2022-03-29T17:39:00.787Z] 17:39:00     INFO -  ==13876==    by 0xEF9E27C: 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-29T17:39:00.787Z] 17:39:00     INFO -  ==13876==    by 0xF022D3B: 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-29T17:39:00.787Z] 17:39:00     INFO -  ==13876==    by 0xC1D906B: mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&)+171 (PromiseBinding.cpp:35)
[task 2022-03-29T17:39:00.787Z] 17:39:00     INFO -  ==13876==    by 0xAF448A9: Call (dist/include/mozilla/dom/PromiseBinding.h:89)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xAF448A9: Call (dist/include/mozilla/dom/PromiseBinding.h:102)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xAF448A9: mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&)+265 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:213)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xAF385E9: mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool)+1289 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:674)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xAF38AD1: mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int)+33 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:463)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xB71F4C6: XPCJSContext::AfterProcessTask(unsigned int)+1270 (checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1485)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xAFE4B32: nsThread::ProcessNextEvent(bool, bool*)+2242 (checkouts/gecko/xpcom/threads/nsThread.cpp:1224)
[task 2022-03-29T17:39:00.788Z] 17:39:00     INFO -  ==13876==    by 0xAFE853A: NS_ProcessNextEvent(nsIThread*, bool)+74 (checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:465)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xB6655A7: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)+135 (checkouts/gecko/ipc/glue/MessagePump.cpp:85)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xB615A05: RunInternal (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:380)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xB615A05: RunHandler (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:373)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xB615A05: MessageLoop::Run()+85 (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:355)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xD989428: nsBaseAppShell::Run()+40 (checkouts/gecko/widget/nsBaseAppShell.cpp:137)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xEDF3466: nsAppStartup::Run()+118 (checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:295)
[task 2022-03-29T17:39:00.789Z] 17:39:00     INFO -  ==13876==    by 0xEEC73D7: XREMain::XRE_mainRun()+3399 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5739)
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -  ==13876==    by 0xEEC7B13: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&)+1187 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5924)
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -  ==13876==    by 0xEEC7E6E: XRE_main(int, char**, mozilla::BootstrapConfig const&)+158 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5991)
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -  ==13876==    by 0x12C493: do_main (checkouts/gecko/browser/app/nsBrowserApp.cpp:225)
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -  ==13876==    by 0x12C493: main+1059 (checkouts/gecko/browser/app/nsBrowserApp.cpp:395)
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -  ==13876==
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -  {
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -     <insert_a_suppression_name_here>
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -     Memcheck:Leak
[task 2022-03-29T17:39:00.790Z] 17:39:00     INFO -     match-leak-kinds: definite

Looks like bug 1748520 didn't catch it all.

Component: General → Graphics: Text
Flags: needinfo?(jkew)
Product: Firefox Build System → Core

Although this is also a dynamic atom that's not getting released, the stack here doesn't have anything to do with the nsLanguageAtomService or gfx font lookups, as seen in bug 1748520.... this appears to be an unrelated case, coming from DOMLocalization. Moving to the Localization component for further consideration.

Component: Graphics: Text → Internationalization: Localization
Flags: needinfo?(jkew)
See Also: → 1748520
Summary: Intermittent valgrind-test | 28 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize → High frequency valgrind-test | 28 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize

There have been 32 failures in the last 7 days.

Happens on:

  • linux64-qr opt

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

Whiteboard: [stockwell needswork:owner]

Hello Eemeli, could you please take a look or assign this to someone?

Flags: needinfo?(earo)

Andreea, thanks for the ping and apologies for the delay; was away for Easter.

Erik, could you take a look? Feeling rather out of my depth with the DOMLocalization C++ code.

Flags: needinfo?(earo) → needinfo?(enordin)

Thanks for the NI. Yes, I'll take a look, but given the low priority and severity, it may not be this week.

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

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

[task 2022-05-02T21:53:07.510Z] 21:53:07     INFO -  ==12254== ERROR SUMMARY: 26 errors from 26 contexts (suppressed: 1 from 1)
[task 2022-05-02T21:53:17.455Z] 21:53:17     INFO -  --12111-- Archiving syms at 0x2ff84500-0x3000e72a in /builds/worker/workspace/obj-build/security/nss/lib/freebl/freebl_freeblpriv3/libfreeblpriv3.so (have_dinfo 1)
[task 2022-05-02T21:53:17.455Z] 21:53:17     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:18.016Z] 21:53:18     INFO -  --12111-- Scanned 3,857,530 ExeContexts, archived 1,401 ExeContexts
[task 2022-05-02T21:53:18.043Z] 21:53:18     INFO -  --12111-- Archiving syms at 0x300b8460-0x300c511b in /builds/worker/workspace/obj-build/security/nss/lib/ckfw/builtins/builtins_nssckbi/libnssckbi.so (have_dinfo 1)
[task 2022-05-02T21:53:18.043Z] 21:53:18     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:18.575Z] 21:53:18     INFO -  --12111-- Scanned 3,857,761 ExeContexts, archived 1,410 ExeContexts
[task 2022-05-02T21:53:18.586Z] 21:53:18     INFO -  --12111-- Archiving syms at 0x2ff1a5f0-0x2ff4db06 in /builds/worker/workspace/obj-build/security/nss/lib/softoken/softoken_softokn3/libsoftokn3.so (have_dinfo 1)
[task 2022-05-02T21:53:18.586Z] 21:53:18     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:19.115Z] 21:53:19     INFO -  --12111-- Scanned 3,857,784 ExeContexts, archived 5,570 ExeContexts
[task 2022-05-02T21:53:19.758Z] 21:53:19     INFO -  --12111-- Archiving syms at 0x115c6f00-0x11604cee in /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:19.758Z] 21:53:19     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:20.387Z] 21:53:20     INFO -  --12111-- Scanned 3,862,192 ExeContexts, archived 5,472 ExeContexts
[task 2022-05-02T21:53:20.396Z] 21:53:20     INFO -  --12111-- Archiving syms at 0x1167a0b0-0x116824e5 in /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:20.396Z] 21:53:20     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:20.996Z] 21:53:20     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 23 ExeContexts
[task 2022-05-02T21:53:21.003Z] 21:53:21     INFO -  --12111-- Archiving syms at 0x1168e090-0x1168f1d5 in /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:21.003Z] 21:53:21     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:21.601Z] 21:53:21     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 7 ExeContexts
[task 2022-05-02T21:53:21.620Z] 21:53:21     INFO -  --12111-- Archiving syms at 0x11693fa0-0x11696878 in /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:21.620Z] 21:53:21     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:22.218Z] 21:53:22     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 9 ExeContexts
[task 2022-05-02T21:53:22.225Z] 21:53:22     INFO -  --12111-- Archiving syms at 0x1189b0c0-0x1189bfb3 in /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:22.225Z] 21:53:22     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:22.822Z] 21:53:22     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 7 ExeContexts
[task 2022-05-02T21:53:22.828Z] 21:53:22     INFO -  --12111-- Archiving syms at 0x118a0070-0x118a08d6 in /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:22.828Z] 21:53:22     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:23.425Z] 21:53:23     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 7 ExeContexts
[task 2022-05-02T21:53:23.432Z] 21:53:23     INFO -  --12111-- Archiving syms at 0x118a7120-0x118a91e2 in /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:23.432Z] 21:53:23     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:24.029Z] 21:53:24     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 7 ExeContexts
[task 2022-05-02T21:53:24.050Z] 21:53:24     INFO -  --12111-- Archiving syms at 0x118ae960-0x118aec2c in /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:24.050Z] 21:53:24     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:24.648Z] 21:53:24     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 8 ExeContexts
[task 2022-05-02T21:53:24.655Z] 21:53:24     INFO -  --12111-- Archiving syms at 0x11ab3080-0x11ab568a in /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0 (have_dinfo 1)
[task 2022-05-02T21:53:24.655Z] 21:53:24     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:25.251Z] 21:53:25     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 7 ExeContexts
[task 2022-05-02T21:53:25.258Z] 21:53:25     INFO -  --12111-- Archiving syms at 0x291b3300-0x291b9338 in /lib/x86_64-linux-gnu/libnss_files-2.31.so (have_dinfo 1)
[task 2022-05-02T21:53:25.258Z] 21:53:25     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:25.792Z] 21:53:25     INFO -  --12111-- Scanned 3,862,197 ExeContexts, archived 135 ExeContexts
[task 2022-05-02T21:53:25.800Z] 21:53:25     INFO -  --12111-- Archiving syms at 0x372571b0-0x3725a172 in /lib/x86_64-linux-gnu/libnss_dns-2.31.so (have_dinfo 1)
[task 2022-05-02T21:53:25.800Z] 21:53:25     INFO -  --12111-- Scanning and archiving ExeContexts ...
[task 2022-05-02T21:53:26.326Z] 21:53:26     INFO -  --12111-- Scanned 3,862,201 ExeContexts, archived 81 ExeContexts
[task 2022-05-02T21:53:26.472Z] 21:53:26     INFO -  ==12111==
[task 2022-05-02T21:53:26.474Z] 21:53:26     INFO -  ==12111== HEAP SUMMARY:
[task 2022-05-02T21:53:26.474Z] 21:53:26     INFO -  ==12111==     in use at exit: 10,897,907 bytes in 64,053 blocks
[task 2022-05-02T21:53:26.474Z] 21:53:26     INFO -  ==12111==   total heap usage: 5,777,299 allocs, 5,713,246 frees, 3,555,023,561 bytes allocated
[task 2022-05-02T21:53:26.475Z] 21:53:26     INFO -  ==12111==
[task 2022-05-02T21:53:26.511Z] 21:53:26     INFO -  ==12111== Searching for pointers to 62,890 not-freed blocks
[task 2022-05-02T21:53:27.107Z] 21:53:27     INFO -  ==12111== Checked 334,168,352 bytes
[task 2022-05-02T21:53:27.107Z] 21:53:27     INFO -  ==12111==
[task 2022-05-02T21:53:27.843Z] 21:53:27     INFO -  TEST-UNEXPECTED-FAIL | valgrind-test | 28 bytes in 1 blocks are definitely lost at malloc / moz_xmalloc / nsDynamicAtom::Create / nsAtomTable::Atomize
[task 2022-05-02T21:53:27.843Z] 21:53:27     INFO -  ==12111== 28 bytes in 1 blocks are definitely lost in loss record 5,420 of 21,361
[task 2022-05-02T21:53:27.843Z] 21:53:27     INFO -  ==12111==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:381)
[task 2022-05-02T21:53:27.843Z] 21:53:27     INFO -  ==12111==    by 0x12DFD0: moz_xmalloc+16 (checkouts/gecko/memory/mozalloc/mozalloc.cpp:52)
[task 2022-05-02T21:53:27.843Z] 21:53:27     INFO -  ==12111==    by 0xB036EEC: nsDynamicAtom::Create(nsTSubstring<char16_t> const&, unsigned int)+140 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:90)
[task 2022-05-02T21:53:27.843Z] 21:53:27     INFO -  ==12111==    by 0xB037FBB: nsAtomTable::Atomize(nsTSubstring<char16_t> const&)+315 (checkouts/gecko/xpcom/ds/nsAtomTable.cpp:595)
[task 2022-05-02T21:53:27.844Z] 21:53:27     INFO -  ==12111==    by 0xBF22AE2: nsAttrValue::ParseAtom(nsTSubstring<char16_t> const&)+34 (checkouts/gecko/dom/base/nsAttrValue.cpp:1202)
[task 2022-05-02T21:53:27.844Z] 21:53:27     INFO -  ==12111==    by 0xBE9BE7A: mozilla::dom::Element::ParseAttribute(int, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, nsAttrValue&)+90 (checkouts/gecko/dom/base/Element.cpp:0)
[task 2022-05-02T21:53:27.844Z] 21:53:27     INFO -  ==12111==    by 0xBE989EC: mozilla::dom::Element::SetAttr(int, nsAtom*, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, bool)+412 (checkouts/gecko/dom/base/Element.cpp:2432)
[task 2022-05-02T21:53:27.844Z] 21:53:27     INFO -  ==12111==    by 0xD9DDCE6: SetAttr (dist/include/mozilla/dom/Element.h:947)
[task 2022-05-02T21:53:27.844Z] 21:53:27     INFO -  ==12111==    by 0xD9DDCE6: SetAttr (dist/include/mozilla/dom/Element.h:943)
[task 2022-05-02T21:53:27.844Z] 21:53:27     INFO -  ==12111==    by 0xD9DDCE6: mozilla::dom::DOMLocalization::SetRootInfo(mozilla::dom::Element*)+230 (checkouts/gecko/dom/l10n/DOMLocalization.cpp:460)
[task 2022-05-02T21:53:27.845Z] 21:53:27     INFO -  ==12111==    by 0xD9DF8E0: mozilla::dom::DocumentL10n::InitialTranslationCompleted(bool)+48 (checkouts/gecko/dom/l10n/DocumentL10n.cpp:314)
[task 2022-05-02T21:53:27.845Z] 21:53:27     INFO -  ==12111==    by 0xD9E3BE9: L10nReadyHandler::ResolvedCallback(JSContext*, JS::Handle<JS::Value>, mozilla::ErrorResult&)+25 (checkouts/gecko/dom/l10n/DocumentL10n.cpp:75)
[task 2022-05-02T21:53:27.845Z] 21:53:27     INFO -  ==12111==    by 0xD78EBDD: mozilla::dom::(anonymous namespace)::PromiseNativeHandlerShim::ResolvedCallback(JSContext*, JS::Handle<JS::Value>, mozilla::ErrorResult&)+29 (checkouts/gecko/dom/promise/Promise.cpp:412)
[task 2022-05-02T21:53:27.845Z] 21:53:27     INFO -  ==12111==    by 0xD78EEC9: mozilla::dom::NativeHandlerCallback(JSContext*, unsigned int, JS::Value*)+441 (dist/include/js/RootingAPI.h:0)
[task 2022-05-02T21:53:27.845Z] 21:53:27     INFO -  ==12111==    by 0xF09BE21: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+769 (checkouts/gecko/js/src/vm/Interpreter.cpp:420)
[task 2022-05-02T21:53:27.846Z] 21:53:27     INFO -  ==12111==    by 0xF09C890: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+176 (checkouts/gecko/js/src/vm/Interpreter.cpp:574)
[task 2022-05-02T21:53:27.846Z] 21:53:27     INFO -  ==12111==    by 0xF1EE066: Call (checkouts/gecko/js/src/vm/Interpreter.h:105)
[task 2022-05-02T21:53:27.846Z] 21:53:27     INFO -  ==12111==    by 0xF1EE066: PromiseReactionJob(JSContext*, unsigned int, JS::Value*)+1926 (checkouts/gecko/js/src/builtin/Promise.cpp:2242)
[task 2022-05-02T21:53:27.846Z] 21:53:27     INFO -  ==12111==    by 0xF09BE21: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+769 (checkouts/gecko/js/src/vm/Interpreter.cpp:420)
[task 2022-05-02T21:53:27.846Z] 21:53:27     INFO -  ==12111==    by 0xF09C890: js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)+176 (checkouts/gecko/js/src/vm/Interpreter.cpp:574)
[task 2022-05-02T21:53:27.846Z] 21:53:27     INFO -  ==12111==    by 0xF0F2A83: JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)+547 (checkouts/gecko/js/src/vm/CallAndConstruct.cpp:117)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xC2AD51B: mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&)+171 (PromiseBinding.cpp:35)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xB0038A9: Call (dist/include/mozilla/dom/PromiseBinding.h:89)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xB0038A9: Call (dist/include/mozilla/dom/PromiseBinding.h:102)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xB0038A9: mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&)+265 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:213)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xAFF7FC9: mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool)+1289 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:674)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xAFF84B1: mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int)+33 (checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:463)
[task 2022-05-02T21:53:27.847Z] 21:53:27     INFO -  ==12111==    by 0xB7CFCD6: XPCJSContext::AfterProcessTask(unsigned int)+1270 (checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1483)
[task 2022-05-02T21:53:27.848Z] 21:53:27     INFO -  ==12111==    by 0xB09FF0C: nsThread::ProcessNextEvent(bool, bool*)+2172 (checkouts/gecko/xpcom/threads/nsThread.cpp:1217)
[task 2022-05-02T21:53:27.848Z] 21:53:27     INFO -  ==12111==    by 0xB0A369A: NS_ProcessNextEvent(nsIThread*, bool)+74 (checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:465)
[task 2022-05-02T21:53:27.848Z] 21:53:27     INFO -  ==12111==    by 0xB71CEC1: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)+129 (checkouts/gecko/ipc/glue/MessagePump.cpp:85)
[task 2022-05-02T21:53:27.848Z] 21:53:27     INFO -  ==12111==    by 0xB6D1175: RunInternal (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:380)
[task 2022-05-02T21:53:27.848Z] 21:53:27     INFO -  ==12111==    by 0xB6D1175: RunHandler (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:373)
[task 2022-05-02T21:53:27.848Z] 21:53:27     INFO -  ==12111==    by 0xB6D1175: MessageLoop::Run()+85 (checkouts/gecko/ipc/chromium/src/base/message_loop.cc:355)
[task 2022-05-02T21:53:27.849Z] 21:53:27     INFO -  ==12111==    by 0xDA2E0C8: nsBaseAppShell::Run()+40 (checkouts/gecko/widget/nsBaseAppShell.cpp:137)
[task 2022-05-02T21:53:27.849Z] 21:53:27     INFO -  ==12111==    by 0xEEC2D04: nsAppStartup::Run()+52 (checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:295)
[task 2022-05-02T21:53:27.849Z] 21:53:27     INFO -  ==12111==    by 0xEF944B7: XREMain::XRE_mainRun()+3399 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5740)
[task 2022-05-02T21:53:27.849Z] 21:53:27     INFO -  ==12111==    by 0xEF94BF3: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&)+1187 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5925)
[task 2022-05-02T21:53:27.849Z] 21:53:27     INFO -  ==12111==    by 0xEF94F8E: XRE_main(int, char**, mozilla::BootstrapConfig const&)+158 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5992)
[task 2022-05-02T21:53:27.849Z] 21:53:27     INFO -  ==12111==    by 0x12C92A: do_main (checkouts/gecko/browser/app/nsBrowserApp.cpp:225)
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -  ==12111==    by 0x12C92A: main+1050 (checkouts/gecko/browser/app/nsBrowserApp.cpp:395)
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -  ==12111==
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -  {
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     <insert_a_suppression_name_here>
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     Memcheck:Leak
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     match-leak-kinds: definite
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     fun:malloc
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     fun:moz_xmalloc
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     fun:_ZN13nsDynamicAtom6CreateERK12nsTSubstringIDsEj
[task 2022-05-02T21:53:27.850Z] 21:53:27     INFO -     fun:_ZN11nsAtomTable7AtomizeERK12nsTSubstringIDsE
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN11nsAttrValue9ParseAtomERK12nsTSubstringIDsE
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN7mozilla3dom7Element14ParseAttributeEiP6nsAtomRK12nsTSubstringIDsEP12nsIPrincipalR11nsAttrValue
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN7mozilla3dom7Element7SetAttrEiP6nsAtomS3_RK12nsTSubstringIDsEP12nsIPrincipalb
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:SetAttr
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:SetAttr
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN7mozilla3dom15DOMLocalization11SetRootInfoEPNS0_7ElementE
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN7mozilla3dom12DocumentL10n27InitialTranslationCompletedEb
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN16L10nReadyHandler16ResolvedCallbackEP9JSContextN2JS6HandleINS2_5ValueEEERN7mozilla11ErrorResultE
[task 2022-05-02T21:53:27.851Z] 21:53:27     INFO -     fun:_ZN7mozilla3dom12_GLOBAL__N_124PromiseNativeHandlerShim16ResolvedCallbackEP9JSContextN2JS6HandleINS5_5ValueEEERNS_11ErrorResultE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZN7mozilla3domL21NativeHandlerCallbackEP9JSContextjPN2JS5ValueE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EENS_10CallReasonE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:Call
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZL18PromiseReactionJobP9JSContextjPN2JS5ValueE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EENS_10CallReasonE
[task 2022-05-02T21:53:27.852Z] 21:53:27     INFO -     fun:_ZN2JS4CallEP9JSContextNS_6HandleINS_5ValueEEES4_RKNS_16HandleValueArrayENS_13MutableHandleIS3_EE
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN7mozilla3dom18PromiseJobCallback4CallERNS0_18BindingCallContextEN2JS6HandleINS4_5ValueEEERNS_11ErrorResultE
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:Call
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:Call
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN7mozilla18PromiseJobRunnable3RunERNS_17AutoSlowOperationE
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN7mozilla23CycleCollectedJSContext26PerformMicroTaskCheckPointEb
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN7mozilla23CycleCollectedJSContext16AfterProcessTaskEj
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN12XPCJSContext16AfterProcessTaskEj
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN8nsThread16ProcessNextEventEbPb
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_Z19NS_ProcessNextEventP9nsIThreadb
[task 2022-05-02T21:53:27.853Z] 21:53:27     INFO -     fun:_ZN7mozilla3ipc11MessagePump3RunEPN4base11MessagePump8DelegateE
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:RunInternal
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:RunHandler
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:_ZN11MessageLoop3RunEv
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:_ZN14nsBaseAppShell3RunEv
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:_ZN12nsAppStartup3RunEv
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:_ZN7XREMain11XRE_mainRunEv
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:_ZN7XREMain8XRE_mainEiPPcRKN7mozilla15BootstrapConfigE
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:_Z8XRE_mainiPPcRKN7mozilla15BootstrapConfigE
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:do_main
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -     fun:main
[task 2022-05-02T21:53:27.854Z] 21:53:27     INFO -  }
[task 2022-05-02T21:53:29.895Z] 21:53:29     INFO -  ==12111== LEAK SUMMARY:
[task 2022-05-02T21:53:29.895Z] 21:53:29     INFO -  ==12111==    definitely lost: 28 bytes in 1 blocks
[task 2022-05-02T21:53:29.895Z] 21:53:29     INFO -  ==12111==    indirectly lost: 395,062 bytes in 2,263 blocks
[task 2022-05-02T21:53:29.895Z] 21:53:29     INFO -  ==12111==      possibly lost: 231,038 bytes in 2,686 blocks
[task 2022-05-02T21:53:29.895Z] 21:53:29     INFO -  ==12111==    still reachable: 10,031,738 bytes in 57,862 blocks
[task 2022-05-02T21:53:29.895Z] 21:53:29     INFO -  ==12111==                       of which reachable via heuristic:
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111==                         stdstring          : 74 bytes in 2 blocks
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111==                         length64           : 7,912 bytes in 124 blocks
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111==                         newarray           : 128,048 bytes in 1,164 blocks
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111==                         multipleinheritance: 1,264 bytes in 8 blocks
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111==         suppressed: 93,921 bytes in 78 blocks
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111== Reachable blocks (those to which a pointer was found) are not shown.
[task 2022-05-02T21:53:29.896Z] 21:53:29     INFO -  ==12111== To see them, rerun with: --leak-check=full --show-leak-kinds=all
[task 2022-05-02T21:53:29.897Z] 21:53:29     INFO -  ==12111==
[task 2022-05-02T21:53:29.897Z] 21:53:29     INFO -  ==12111== ERROR SUMMARY: 559 errors from 559 contexts (suppressed: 36 from 36)
[task 2022-05-02T21:53:29.897Z] 21:53:29     INFO -  --12111--
[task 2022-05-02T21:53:29.897Z] 21:53:29     INFO -  --12111-- used_suppression:      3 gtk leaks from not using gdk_display_close because it causes crashes in _gtk_settings_get_style_cascade /builds/worker/checkouts/gecko/build/valgrind/x86_64-pc-linux-gnu.sup:239 suppressed: 381,577 bytes in 3 blocks
[task 2022-05-02T21:53:29.897Z] 21:53:29     INFO -  --12111-- used_suppression:      2 We intentionally leak TLS data in the global servo thread-pool until we can free it consistently (https://github.com/rayon-rs/rayon/issues/688) /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:159 suppressed: 55,488 bytes in 6 blocks
[task 2022-05-02T21:53:29.897Z] 21:53:29     INFO -  --12111-- used_suppression:      2 We intentionally leak TLS data in the global servo thread-pool until we can free it consistently (https://github.com/rayon-rs/rayon/issues/688) /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:148 suppressed: 24,672 bytes in 6 blocks
[task 2022-05-02T21:53:29.898Z] 21:53:29     INFO -  --12111-- used_suppression:      4 Bug 1187649 /builds/worker/checkouts/gecko/build/valgrind/x86_64-pc-linux-gnu.sup:25 suppressed: 16,189 bytes in 4 blocks
[task 2022-05-02T21:53:29.898Z] 21:53:29     INFO -  --12111-- used_suppression:      6 dtv-addr-init /usr/libexec/valgrind/default.supp:1468 suppressed: 7,914 bytes in 6 blocks
[task 2022-05-02T21:53:29.898Z] 21:53:29     INFO -  --12111-- used_suppression:     19 _g_io_module_get_default /builds/worker/checkouts/gecko/build/valgrind/x86_64-pc-linux-gnu.sup:204 suppressed: 1,642 bytes in 25 blocks
[task 2022-05-02T21:53:29.898Z] 21:53:29     INFO -  --12111-- used_suppression:      1 Bug 1187649 /builds/worker/checkouts/gecko/build/valgrind/x86_64-pc-linux-gnu.sup:33 suppressed: 288 bytes in 1 blocks
[task 2022-05-02T21:53:29.898Z] 21:53:29     INFO -  --12111-- used_suppression:      2 Bug 794369 /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:103 suppressed: 416 bytes in 2 blocks
[task 2022-05-02T21:53:29.898Z] 21:53:29     INFO -  --12111-- used_suppression:      1 PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793549.) /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:22 suppressed: 144 bytes in 1 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      1 Bug 794374 /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:130 suppressed: 128 bytes in 4 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      3 Bug 794370 /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:112 suppressed: 144 bytes in 3 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      8 PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793534.) /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:8 suppressed: 161 bytes in 8 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      5 Bug 794372 /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:121 suppressed: 160 bytes in 5 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      3 See bug 793535 /builds/worker/checkouts/gecko/build/valgrind/cross-architecture.sup:74 suppressed: 96 bytes in 3 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      1 Bug 1748520 /builds/worker/checkouts/gecko/build/valgrind/x86_64-pc-linux-gnu.sup:994 suppressed: 20 bytes in 1 blocks
[task 2022-05-02T21:53:29.899Z] 21:53:29     INFO -  --12111-- used_suppression:      2 dl-hack4-64bit-addr-1 /usr/libexec/valgrind/default.supp:1261
[task 2022-05-02T21:53:29.900Z] 21:53:29     INFO -  ==12111==
[task 2022-05-02T21:53:29.900Z] 21:53:29     INFO -  ==12111== ERROR SUMMARY: 559 errors from 559 contexts (suppressed: 36 from 36)
[task 2022-05-02T21:53:29.977Z] 21:53:29     INFO -  PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "valgrind", "value": 1819.54286122, "lowerIsBetter": true, "shouldAlert": false, "subtests": [], "extraOptions": ["taskcluster-c5d.4xlarge"]}]}
[task 2022-05-02T21:53:30.077Z] 21:53:30    ERROR - Return code: 1

Hi Erik, are there any updates here?

Flags: needinfo?(enordin)
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]

I'm still looking into this.

It may have something to do with these calls to ToString which doesn't appear to be a widely used function.

https://searchfox.org/mozilla-central/search?q=nsGkAtoms.*ToString&path=&case=false&regexp=true

Flags: needinfo?(enordin)

(In reply to Erik Nordin [:nordzilla] from comment #19)

It may have something to do with these calls to ToString which doesn't appear to be a widely used function.

https://searchfox.org/mozilla-central/search?q=nsGkAtoms.*ToString&path=&case=false&regexp=true

I don't think those are involved. Those are static atoms in the nsGkAtoms table. What's being reported here is a dynamic atom, created during parsing of an attribute (presumably lang), which is apparently not getting released before shutdown. But I'm not sure where the remaining reference(s) to it is being held.

(In reply to Jonathan Kew (:jfkthame) from comment #20)

(In reply to Erik Nordin [:nordzilla] from comment #19)

It may have something to do with these calls to ToString which doesn't appear to be a widely used function.

https://searchfox.org/mozilla-central/search?q=nsGkAtoms.*ToString&path=&case=false&regexp=true

I don't think those are involved. Those are static atoms in the nsGkAtoms table. What's being reported here is a dynamic atom, created during parsing of an attribute (presumably lang), which is apparently not getting released before shutdown. But I'm not sure where the remaining reference(s) to it is being held.

Yes, that makes sense. I thought that it would be strange for static atoms to have such an issue, and I realize now that I accidentally transposed the line number from the stack trace: DOMLocalization.cpp:456

I accidentally read 465, which happens to be those ToString() assignments.

I will continue looking for this dynamic atom.

Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]

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

  • linux64-qr
Attachment #9281467 - Attachment description: WIP: Bug 1762046 - Add valgrind suppression for the leak of a dynamic atom created by DocumentL10n r=jseward → Bug 1762046 - Add valgrind suppression for the leak of a dynamic atom created by DocumentL10n r=jseward
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b23f793dc86 Add valgrind suppression for the leak of a dynamic atom created by DocumentL10n r=jseward
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: