Closed Bug 1744212 Opened 3 years ago Closed 3 years ago

Intermittent valgrind-test | 24 bytes in 1 blocks are definitely lost at malloc / alloc / __rdl_alloc / alloc

Categories

(Core :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2021-12-03T10:35:36.530Z] 10:35:36     INFO -  33:27.60 TEST-UNEXPECTED-FAIL | valgrind-test | 24 bytes in 1 blocks are definitely lost at malloc / alloc / __rdl_alloc / alloc
[task 2021-12-03T10:35:36.530Z] 10:35:36     INFO -  33:27.60 ==11209== 24 bytes in 1 blocks are definitely lost in loss record 3,367 of 12,561
[task 2021-12-03T10:35:36.530Z] 10:35:36     INFO -  33:27.60 ==11209==    at 0x48397B5: malloc+117 (vg_replace_malloc.c:380)
[task 2021-12-03T10:35:36.533Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: alloc (library/std/src/sys/unix/alloc.rs:14)
[task 2021-12-03T10:35:36.533Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: __rdl_alloc (library/std/src/alloc.rs:355)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: alloc (alloc.rs:86)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: alloc_impl (alloc.rs:166)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: allocate (alloc.rs:226)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: exchange_malloc (alloc.rs:315)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: new<rayon_core::thread_pool::ThreadPool> (sync.rs:346)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x102CF564: wr_thread_pool_new+2212 (bindings.rs:1109)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xBD6BCCD: WebRenderThreadPool (checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:1082)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xBD6BCCD: RenderThread (checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:72)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xBD6BCCD: mozilla::wr::RenderThread::Start()+221 (checkouts/gecko/gfx/webrender_bindings/RenderThread.cpp:114)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xBCB2841: InitLayersIPC (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:1290)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xBCB2841: gfxPlatform::Init()+3041 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:956)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xBCB1C2F: gfxPlatform::GetPlatform()+31 (checkouts/gecko/gfx/thebes/gfxPlatform.cpp:466)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xD7F68D1: mozilla::widget::GfxInfoBase::GetContentBackend(nsTSubstring<char16_t>&)+33 (checkouts/gecko/widget/GfxInfoBase.cpp:1812)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xAF45E65: ??? (xptcinvoke_asm_x86_64_unix.S:101)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xB948F2C: Invoke (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1631)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xB948F2C: Call (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1184)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xB948F2C: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)+4060 (checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1130)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xB94A6B1: GetAttribute (checkouts/gecko/js/xpconnect/src/xpcprivate.h:1465)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xB94A6B1: XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*)+625 (checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:961)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED342D0: CallJSNative (checkouts/gecko/js/src/vm/Interpreter.cpp:388)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED342D0: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+768 (checkouts/gecko/js/src/vm/Interpreter.cpp:475)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34DCC: InternalCall (checkouts/gecko/js/src/vm/Interpreter.cpp:535)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34DCC: 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:552)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED35676: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:678)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: CallGetter (checkouts/gecko/js/src/vm/NativeObject.cpp:1959)
[task 2021-12-03T10:35:36.534Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: GetExistingProperty<js::CanGC> (checkouts/gecko/js/src/vm/NativeObject.cpp:1987)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: NativeGetPropertyInline<js::CanGC> (checkouts/gecko/js/src/vm/NativeObject.cpp:2133)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: 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:2164)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED2D3D5: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:115)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED2D3D5: GetObjectElementOperation (checkouts/gecko/js/src/vm/Interpreter-inl.h:413)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED2D3D5: GetElementOperationWithStackIndex (checkouts/gecko/js/src/vm/Interpreter-inl.h:497)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED2D3D5: Interpret(JSContext*, js::RunState&)+31717 (checkouts/gecko/js/src/vm/Interpreter.cpp:3042)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED257B1: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:357)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34607: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:507)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34DCC: InternalCall (checkouts/gecko/js/src/vm/Interpreter.cpp:535)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34DCC: 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:552)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED35676: js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)+150 (checkouts/gecko/js/src/vm/Interpreter.cpp:678)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: CallGetter (checkouts/gecko/js/src/vm/NativeObject.cpp:1959)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: GetExistingProperty<js::CanGC> (checkouts/gecko/js/src/vm/NativeObject.cpp:1987)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: NativeGetPropertyInline<js::CanGC> (checkouts/gecko/js/src/vm/NativeObject.cpp:2133)
[task 2021-12-03T10:35:36.535Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEF02591: 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:2164)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED372DE: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:115)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED372DE: GetProperty (checkouts/gecko/js/src/vm/ObjectOperations-inl.h:122)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED372DE: js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>)+1038 (checkouts/gecko/js/src/vm/Interpreter.cpp:4552)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED2BEB7: GetPropertyOperation (checkouts/gecko/js/src/vm/Interpreter.cpp:204)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED2BEB7: Interpret(JSContext*, js::RunState&)+26311 (checkouts/gecko/js/src/vm/Interpreter.cpp:2907)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED257B1: js::RunScript(JSContext*, js::RunState&)+657 (checkouts/gecko/js/src/vm/Interpreter.cpp:357)
[task 2021-12-03T10:35:36.536Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34607: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)+1591 (checkouts/gecko/js/src/vm/Interpreter.cpp:507)
[task 2021-12-03T10:35:36.537Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34DCC: InternalCall (checkouts/gecko/js/src/vm/Interpreter.cpp:535)
[task 2021-12-03T10:35:36.537Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xED34DCC: 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:552)
[task 2021-12-03T10:35:36.537Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEDFE2DE: 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 2021-12-03T10:35:36.537Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xB94460D: nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*)+2909 (checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:973)
[task 2021-12-03T10:35:36.537Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xAF46BE4: PrepareAndDispatch+548 (checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115)
[task 2021-12-03T10:35:36.537Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xAF4601E: SharedStub+90 (in /builds/worker/workspace/obj-build/toolkit/library/build/libxul.so)
[task 2021-12-03T10:35:36.538Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xAF0C8D2: NS_CreateServicesFromCategory(char const*, nsISupports*, char const*, char16_t const*)+1122 (checkouts/gecko/xpcom/components/nsCategoryManager.cpp:687)
[task 2021-12-03T10:35:36.538Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEC6BEBA: nsXREDirProvider::DoStartup()+442 (checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:976)
[task 2021-12-03T10:35:36.538Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEC5F013: XREMain::XRE_mainRun()+1491 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5045)
[task 2021-12-03T10:35:36.538Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEC5FFA5: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&)+1189 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5495)
[task 2021-12-03T10:35:36.538Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0xEC602F9: XRE_main(int, char**, mozilla::BootstrapConfig const&)+153 (checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5554)
[task 2021-12-03T10:35:36.538Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x12B3F5: do_main (checkouts/gecko/browser/app/nsBrowserApp.cpp:225)
[task 2021-12-03T10:35:36.539Z] 10:35:36     INFO -  33:27.60 ==11209==    by 0x12B3F5: main+1045 (checkouts/gecko/browser/app/nsBrowserApp.cpp:395)
Assignee: nobody → mh+mozilla

The upgrade of rustc added some frames between calls, either from better
debug info, or from changes in optimizations.

Set release status flags based on info from the regressing bug 1742749

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/ccf218f32ae1 Add ellipsis to valgrind suppressions. r=emilio
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

This is still happening: https://treeherder.mozilla.org/logviewer?job_id=360337619&repo=autoland&lineNumber=69463
Mike, should we reopen this bug or create a new one for it?

Flags: needinfo?(mh+mozilla)

(In reply to Alexandru Michis [:malexandru] from comment #6)

This is still happening: https://treeherder.mozilla.org/logviewer?job_id=360337619&repo=autoland&lineNumber=69463
Mike, should we reopen this bug or create a new one for it?

No, that would be a regression. I bet on e754af875d57e5ad3ce30e7aac0b8dd8f5918551. I backfilled.

Flags: needinfo?(mh+mozilla)

Looks like it was solved by backing out e754af875d57e5ad3ce30e7aac0b8dd8f5918551 earlier, the valgrind job above turned green.
Thank you for taking a look

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: