Closed Bug 1522448 Opened 5 years ago Closed 5 years ago

Intermittent PID 6896 | SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/build/src/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.4/../../../../include/c++/4.9.4/bits/stl_tree.h:518:64 in _M_begin

Categories

(Core :: WebRTC, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell fixed:other])

Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=223702458&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/HMFxQfAASJi0kn6mKJ-1bw/runs/0/artifacts/public/logs/live_backing.log

[task 2019-01-24T10:48:15.668Z] 10:48:15 INFO - TEST-START | /webrtc/no-media-call.html

[task 2019-01-24T10:48:20.722Z] 10:48:20 INFO - PID 6896 | =================================================================
[task 2019-01-24T10:48:20.723Z] 10:48:20 ERROR - PID 6896 | ==11983==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000020 (pc 0x7fd0d3ccaab0 bp 0x7ffc721ee510 sp 0x7ffc721ee4d0 T0)
[task 2019-01-24T10:48:20.724Z] 10:48:20 INFO - PID 6896 | ==11983==The signal is caused by a READ memory access.
[task 2019-01-24T10:48:20.725Z] 10:48:20 INFO - PID 6896 | ==11983==Hint: address points to the zero page.
[task 2019-01-24T10:48:20.726Z] 10:48:20 INFO - PID 6896 | #42 0x7f8bcdff1ef1 in mozilla::dom::TabChild::RecvLoadRemoteScript(nsTString<char16_t> const&, bool const&) /builds/worker/workspace/build/src/dom/ipc/TabChild.cpp:2057:3
[task 2019-01-24T10:48:20.732Z] 10:48:20 INFO - PID 6896 | #43 0x7f8bc7f36f47 in mozilla::dom::PBrowserChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PBrowserChild.cpp:4742:20

[task 2019-01-24T10:48:22.047Z] 10:48:22 INFO - PID 6896 | AddressSanitizer can not provide additional info.
[task 2019-01-24T10:48:22.048Z] 10:48:22 INFO - PID 6896 | SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/build/src/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.4/../../../../include/c++/4.9.4/bits/stl_tree.h:518:64 in _M_begin
[task 2019-01-24T10:48:22.048Z] 10:48:22 INFO - PID 6896 | ==11983==ABORTING

Whiteboard: [stockwell needswork]

There are 45 total failures all on linux64 asan.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=225146730&repo=autoland&lineNumber=253102

[task 2019-01-31T06:10:58.578Z] 06:10:58 INFO - PID 6837 | Direct leak of 400 byte(s) in 13 object(s) allocated from:
[task 2019-01-31T06:10:58.579Z] 06:10:58 INFO - PID 6837 | #25 0x7fc3de613751 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:561:13
[task 2019-01-31T06:10:58.581Z] 06:10:58 INFO - PID 6837 | #0 0x55588e4db953 in malloc /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
[task 2019-01-31T06:10:58.581Z] 06:10:58 INFO - PID 6837 | #26 0x7fc3de6153d2 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:604:8
[task 2019-01-31T06:10:58.581Z] 06:10:58 INFO - PID 6837 | #1 0x7f0c985a51bb in js_arena_malloc /builds/worker/workspace/build/src/obj-firefox/dist/include/js/Utility.h:353:10
[task 2019-01-31T06:10:58.582Z] 06:10:58 INFO - PID 6837 | #2 0x7f0c985a51bb in js_pod_arena_malloc<unsigned char> /builds/worker/workspace/build/src/obj-firefox/dist/include/js/Utility.h:535
[task 2019-01-31T06:10:58.583Z] 06:10:58 INFO - PID 6837 | #27 0x7fc3dec9c7e0 in js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/SelfHosting.cpp:1857:10
[task 2019-01-31T06:10:58.584Z] 06:10:58 INFO - PID 6837 | #28 0x7fc3df760953 in js::jit::InterpretResume(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/jit/VMFunctions.cpp:842:10
[task 2019-01-31T06:10:58.584Z] 06:10:58 INFO - PID 6837 | #29 0x243b4e0196f3 (<unknown module>)
[task 2019-01-31T06:10:58.585Z] 06:10:58 INFO - PID 6837 | #3 0x7f0c985a51bb in maybe_pod_malloc<unsigned char> /builds/worker/workspace/build/src/js/src/vm/MallocProvider.h:53
[task 2019-01-31T06:10:58.586Z] 06:10:58 INFO - PID 6837 | #4 0x7f0c985a51bb in unsigned char* js::MallocProvider<JSContext>::pod_malloc<unsigned char>(unsigned long, unsigned long) /builds/worker/workspace/build/src/js/src/vm/MallocProvider.h:89
[task 2019-01-31T06:10:58.586Z] 06:10:58 INFO - PID 6837 | #5 0x7f0c98644173 in new_ /builds/worker/workspace/build/src/js/src/vm/JSScript.cpp:3074:19
[task 2019-01-31T06:10:58.588Z] 06:10:58 INFO - PID 6837 | #6 0x7f0c98644173 in JSScript::createPrivateScriptData(JSContext*, JS::Handle<JSScript*>, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) /builds/worker/workspace/build/src/js/src/vm/JSScript.cpp:3267
[task 2019-01-31T06:10:58.588Z] 06:10:58 INFO - PID 6837 | #7 0x7f0c9865d5d9 in JSScript::fullyInitFromEmitter(JSContext*, JS::Handle<JSScript*>, js::frontend::BytecodeEmitter*) /builds/worker/workspace/build/src/js/src/vm/JSScript.cpp:3402:8
[task 2019-01-31T06:10:58.589Z] 06:10:58 INFO - PID 6837 | #8 0x7f0c98f05783 in js::frontend::BytecodeEmitter::emitFunctionScript(js::frontend::CodeNode*, js::frontend::BytecodeEmitter::TopLevelFunction) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:2478:8
[task 2019-01-31T06:10:58.589Z] 06:10:58 INFO - PID 6837 | #9 0x7f0c98f3b087 in js::frontend::BytecodeEmitter::emitFunction(js::frontend::CodeNode*, bool) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:5604:17
[task 2019-01-31T06:10:58.591Z] 06:10:58 INFO - PID 6837 | #10 0x7f0c98f1a68d in js::frontend::BytecodeEmitter::emitTree(js::frontend::ParseNode*, js::frontend::ValueUsage, js::frontend::BytecodeEmitter::EmitLineNumberNote) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8621:12
[task 2019-01-31T06:10:58.592Z] 06:10:58 INFO - PID 6837 | #11 0x7f0c98f1ca8b in js::frontend::BytecodeEmitter::emitHoistedFunctionsInList(js::frontend::ListNode*) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:4707:12
[task 2019-01-31T06:10:58.593Z] 06:10:58 INFO - PID 6837 | #12 0x7f0c98f2f99d in emitLexicalScopeBody /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:4723:10
[task 2019-01-31T06:10:58.593Z] 06:10:58 INFO - PID 6837 | #13 0x7f0c98f2f99d in js::frontend::BytecodeEmitter::emitLexicalScope(js::frontend::LexicalScopeNode*) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:4740
[task 2019-01-31T06:10:58.594Z] 06:10:58 INFO - PID 6837 | #14 0x7f0c98f19e8d in js::frontend::BytecodeEmitter::emitTree(js::frontend::ParseNode*, js::frontend::ValueUsage, js::frontend::BytecodeEmitter::EmitLineNumberNote) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8962:12
[task 2019-01-31T06:10:58.596Z] 06:10:58 INFO - PID 6837 | #15 0x7f0c98f541c4 in js::frontend::BytecodeEmitter::emitFunctionBody(js::frontend::ParseNode*) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8386:8
[task 2019-01-31T06:10:58.597Z] 06:10:58 INFO - PID 6837 | #16 0x7f0c98f50b8d in js::frontend::BytecodeEmitter::emitFunctionFormalParametersAndBody(js::frontend::ListNode*) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8207:8
[task 2019-01-31T06:10:58.597Z] 06:10:58 INFO - PID 6837 | #17 0x7f0c98f1a7d7 in js::frontend::BytecodeEmitter::emitTree(js::frontend::ParseNode*, js::frontend::ValueUsage, js::frontend::BytecodeEmitter::EmitLineNumberNote) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8627:12
[task 2019-01-31T06:10:58.598Z] 06:10:58 INFO - PID 6837 | #18 0x7f0c98f053eb in js::frontend::BytecodeEmitter::emitFunctionScript(js::frontend::CodeNode*, js::frontend::BytecodeEmitter::TopLevelFunction) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:2450:8
[task 2019-01-31T06:10:58.600Z] 06:10:58 INFO - PID 6837 | #19 0x7f0c98f3b087 in js::frontend::BytecodeEmitter::emitFunction(js::frontend::CodeNode*, bool) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:5604:17
[task 2019-01-31T06:10:58.601Z] 06:10:58 INFO - PID 6837 | #20 0x7f0c98f1a68d in js::frontend::BytecodeEmitter::emitTree(js::frontend::ParseNode*, js::frontend::ValueUsage, js::frontend::BytecodeEmitter::EmitLineNumberNote) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:8621:12
[task 2019-01-31T06:10:58.602Z] 06:10:58 INFO - PID 6837 | #21 0x7f0c98f1ca8b in js::frontend::BytecodeEmitter::emitHoistedFunctionsInList(js::frontend::ListNode*) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:4707:12
[task 2019-01-31T06:10:58.603Z] 06:10:58 INFO - PID 6837 | #22 0x7f0c98f2f99d in emitLexicalScopeBody /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:4723:10
[task 2019-01-31T06:10:58.603Z] 06:10:58 INFO - PID 6837 | #23 0x7f0c98f2f99d in js::frontend::BytecodeEmitter::emitLexicalScope(js::frontend::LexicalScopeNode*) /builds/worker/workspace/build/src/js/src/frontend/BytecodeEmitter.cpp:4740
[task 2019-01-31T06:10:58.604Z] 06:10:58 INFO - PID 6837 | #28 0x2160ebba44de (<unknown module>)
[task 2019-01-31T06:10:58.611Z] 06:10:58 INFO - PID 6837 | #29 0x7ff8e49207d2 in EnterJit /builds/worker/workspace/build/src/js/src/jit/Jit.cpp:103:5
[task 2019-01-31T06:10:58.611Z] 06:10:58 INFO - PID 6837 | #30 0x7ff8e49207d2 in js::jit::MaybeEnterJit(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/jit/Jit.cpp:168
[task 2019-01-31T06:10:58.612Z] 06:10:58 INFO - PID 6837 | #31 0x7ff8e32df19b in js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:406:32
[task 2019-01-31T06:10:58.612Z] 06:10:58 INFO - PID 6837 | #32 0x7ff8e3313751 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:561:13
[task 2019-01-31T06:10:58.613Z] 06:10:58 INFO - PID 6837 | #30 0x7fd771025d72 in mozilla::PeerConnectionImpl::SetRemoteDescription(int, nsTSubstring<char16_t> const&, mozilla::ErrorResult&) /builds/worker/workspace/build/src/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h:287:10
[task 2019-01-31T06:10:58.614Z] 06:10:58 INFO - PID 6837 | #33 0x7ff8e33153d2 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:604:8
[task 2019-01-31T06:10:58.615Z] 06:10:58 INFO - PID 6837 | #31 0x7fd77102523b in mozilla::dom::PeerConnectionImpl_Binding::setRemoteDescription(JSContext*, JS::Handle<JSObject*>, mozilla::PeerConnectionImpl*, JSJitMethodCallArgs const&) /builds/worker/workspace/build/src/obj-firefox/dom/bindings/PeerConnectionImplBinding.cpp:273:9
[task 2019-01-31T06:10:58.616Z] 06:10:58 INFO - PID 6837 | #34 0x7ff8e399c7e0 in js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/SelfHosting.cpp:1857:10
[task 2019-01-31T06:10:58.619Z] 06:10:58 INFO - PID 6837 | #32 0x7fd772aa5b2a in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/dom/bindings/BindingUtils.cpp:3124:13
[task 2019-01-31T06:10:58.619Z] 06:10:58 INFO - PID 6837 | #35 0x7ff8e34ec05c in AsyncFunctionResume(JSContext*, JS::Handle<js::PromiseObject*>, JS::Handle<JS::Value>, ResumeKind, JS::Handle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/AsyncFunction.cpp:202:8
[task 2019-01-31T06:10:58.620Z] 06:10:58 INFO - PID 6837 | #33 0x7fd779612dad in CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:441:13
[task 2019-01-31T06:10:58.621Z] 06:10:58 INFO - PID 6837 | #34 0x7fd779612dad in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:533
[task 2019-01-31T06:10:58.621Z] 06:10:58 INFO - PID 6837 | #36 0x7ff8e34903a8 in AsyncFunctionPromiseReactionJob /builds/worker/workspace/build/src/js/src/builtin/Promise.cpp:1480:10
[task 2019-01-31T06:10:58.622Z] 06:10:58 INFO - PID 6837 | #37 0x7ff8e34903a8 in PromiseReactionJob(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/js/src/builtin/Promise.cpp:1603
[task 2019-01-31T06:10:58.623Z] 06:10:58 INFO - PID 6837 | #35 0x7fd77a6dc9a7 in js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/jit/BaselineIC.cpp:3896:10
[task 2019-01-31T06:10:58.624Z] 06:10:58 INFO - PID 6837 | #22 0x55ac4ea83aa8 in _start (/builds/worker/workspace/build/application/firefox/firefox+0x2aaa8)
[task 2019-01-31T06:10:58.624Z] 06:10:58 INFO - PID 6837 | AddressSanitizer can not provide additional info.
[task 2019-01-31T06:10:58.625Z] 06:10:58 INFO - PID 6837 | SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/build/src/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.4/../../../../include/c++/4.9.4/bits/stl_tree.h:518:64 in _M_begin
[task 2019-01-31T06:10:58.627Z] 06:10:58 INFO - PID 6837 | #38 0x7ff8e3312dad in CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:441:13
[task 2019-01-31T06:10:58.627Z] 06:10:58 INFO - PID 6837 | #39 0x7ff8e3312dad in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:533
[task 2019-01-31T06:10:58.628Z] 06:10:58 INFO - PID 6837 | #40 0x7ff8e33153d2 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:604:8
[task 2019-01-31T06:10:58.629Z] 06:10:58 INFO - PID 6837 | ==11980==ABORTING

Rank: 25
Priority: P5 → P3

I should note that the push in comment 1 contained the wpt sync that is causing intermittents elsewhere like bug 1522773.

See Also: → 1522773

There are 92 failures in the last 7 days all on Linux64 asan.

Any updates on this?

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

This seems to have gone to 0 in the last couple of days. I would say that this is likely a dupe of bug 1523795, but the decline started sooner than that bug was fixed. I don't think it is a dupe of bug 1522773 either, because this one did not start declining until two days after that was fixed. Is there something else that might have fixed this sometime late on the 8th?

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

Still happening a little on beta, so definitely not bug 1522773. Maybe uplifting bug 1523795 would take care of this?

Byron, you can try requesting uplift directly on bug 1523795.

Removing ni for James, since this appears to be fixed.

Flags: needinfo?(james)
Whiteboard: [stockwell fixed:other]

It looks like some of the remaining occurrences on m-b are bug 1533261. I will request uplift and see if it helps.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.