Closed Bug 1710798 Opened 5 years ago Closed 3 years ago

Intermittent 6:54.35 SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:246:5 in mozilla::(anonymous namespace)::RunWatchdog(void*)

Categories

(Toolkit :: Async Tooling, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

Filed by: fbraun [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=339474833&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dsPuRv74TO2ZdD-x8-EY8w/runs/0/artifacts/public/logs/live_backing.log



 AddressSanitizer:DEADLYSIGNAL
 =================================================================
 ==1762==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7fc97ac830df bp 0x7fc93e965dd0 sp 0x7fc93e965d20 T85)
 ==1762==The signal is caused by a WRITE memory access.
 ==1762==Hint: address points to the zero page.
     #0 0x7fc97ac830df in mozilla::(anonymous namespace)::RunWatchdog(void*) /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:246:5
     #1 0x7fc9915d7bfe in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
     #2 0x7fc9953d96da in start_thread /build/glibc-2ORdQG/glibc-2.27/nptl/pthread_create.c:463
     #3 0x7fc9943b7a3e in clone /build/glibc-2ORdQG/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 AddressSanitizer can not provide additional info.
 SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:246:5 in mozilla::(anonymous namespace)::RunWatchdog(void*)
 Thread T85 (Shutdow~minator) created by T0 here:
     #0 0x55f5036dc32a in pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cpp:214:3
     #1 0x7fc9915c7f24 in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14
     #2 0x7fc9915b8fde in PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12
     #3 0x7fc97ac828e2 in CreateSystemThread /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:116:7
     #4 0x7fc97ac828e2 in mozilla::nsTerminator::StartWatchdog() /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:469:7
     #5 0x7fc97ac82bcb in Start /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:383:3
     #6 0x7fc97ac82bcb in mozilla::nsTerminator::AdvancePhase(mozilla::ShutdownPhase) /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:517:5
     #7 0x7fc9702cd811 in mozilla::AdvanceShutdownPhaseInternal(mozilla::ShutdownPhase, bool, char16_t const*, nsCOMPtr<nsISupports> const&) /builds/worker/checkouts/gecko/xpcom/base/AppShutdown.cpp:318:18
     #8 0x7fc97aaced57 in nsAppStartup::Quit(unsigned int, int, bool*) /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:447:5
     #9 0x7fc9705384c1 in NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101
     #10 0x7fc971ef7d1a in Invoke /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1623:10
     #11 0x7fc971ef7d1a in Call /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1176:19
     #12 0x7fc971ef7d1a in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1142:23
     #13 0x7fc971efcd49 in XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:925:10
     #14 0x7fc97af03644 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:437:13
     #15 0x7fc97af03644 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:522:12
     #16 0x7fc97af05469 in InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:582:10
     #17 0x7fc97bcbdcb3 in js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jit/BaselineIC.cpp:1840:10
     #18 0x1376f2bd8d87  (<unknown module>)
     #19 0x62100340cbbf  (<unknown module>)
     #20 0x1376f2bd656e  (<unknown module>)
     #21 0x7fc97c076566 in EnterJit /builds/worker/checkouts/gecko/js/src/jit/Jit.cpp:109:5
(snip)

This specific report is moot now for 6 months (I am sure we still see other flavors of shutdown hangs, of course).

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