Closed Bug 1552663 Opened 5 years ago Closed 2 years ago

Intermittent dom/crypto/test/<test_name> | application crashed [@ mozilla::dom::WorkerThread::SetWorker(mozilla::dom::WorkerThreadFriendKey const&, mozilla::dom::WorkerPrivate*)]

Categories

(Core :: DOM: Web Crypto, defect, P3)

x86_64
Android
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure, regression, Whiteboard: [domsecurity-intermittent])

Crash Data

Filed by: aciure [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=247204218&repo=mozilla-inbound
Full log: https://queue.taskcluster.net/v1/task/RCqk3oiIRfKZqsuNZ-QEmQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-05-18T16:52:01.553Z] 16:52:01 INFO - 1781 INFO TEST-START | dom/crypto/test/test_WebCrypto_Reject_Generating_Keys_Without_Usages.html
[task 2019-05-18T16:52:22.078Z] 16:52:22 INFO - wait for org.mozilla.geckoview.test complete; top activity=com.android.launcher3
[task 2019-05-18T16:52:22.181Z] 16:52:22 INFO - remoteautomation.py | Application ran for: 0:00:44.193086
[task 2019-05-18T16:52:22.607Z] 16:52:22 INFO - mozcrash Copy/paste: /builds/worker/workspace/build/linux64-minidump_stackwalk /tmp/tmpoLUhKw/1ab3b855-de71-8091-ccd1-ac4fbc1b2776.dmp /builds/worker/workspace/build/symbols
[task 2019-05-18T16:52:28.049Z] 16:52:28 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/1ab3b855-de71-8091-ccd1-ac4fbc1b2776.dmp
[task 2019-05-18T16:52:28.050Z] 16:52:28 INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/1ab3b855-de71-8091-ccd1-ac4fbc1b2776.extra
[task 2019-05-18T16:52:28.052Z] 16:52:28 WARNING - PROCESS-CRASH | dom/crypto/test/test_WebCrypto_Reject_Generating_Keys_Without_Usages.html | application crashed [@ mozilla::dom::WorkerThread::SetWorker(mozilla::dom::WorkerThreadFriendKey const&, mozilla::dom::WorkerPrivate*)]
[task 2019-05-18T16:52:28.052Z] 16:52:28 INFO - Crash dump filename: /tmp/tmpoLUhKw/1ab3b855-de71-8091-ccd1-ac4fbc1b2776.dmp
[task 2019-05-18T16:52:28.052Z] 16:52:28 INFO - Operating system: Android
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - 0.0.0 Linux 3.10.0+ #1 PREEMPT Thu Jan 5 00:46:30 UTC 2017 x86_64
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - CPU: amd64
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - family 6 model 2 stepping 3
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - 1 CPU
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - GPU: UNKNOWN
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - Crash reason: SIGSEGV /SEGV_MAPERR
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - Crash address: 0x0
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - Process uptime: not available
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - Thread 29 (crashed)
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - 0 libxul.so!mozilla::dom::WorkerThread::SetWorker(mozilla::dom::WorkerThreadFriendKey const&, mozilla::dom::WorkerPrivate*) [WorkerThread.cpp:dad8b92996d58543ed200d08c8f733ff05bdaefc : 129 + 0x29]
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - rax = 0x00007976de2f90a6 rdx = 0x0000000000000004
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - rcx = 0x00007976e13e8a88 rbx = 0x00007976d225b100
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - rsi = 0x00007976d16fe3c0 rdi = 0x000000000000001b
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - rbp = 0x00007976d16feab0 rsp = 0x00007976d16fea70
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - r8 = 0x0000000000000000 r9 = 0x00007976fd7da090
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - r10 = 0x0000000000000022 r11 = 0x0000000000000246
[task 2019-05-18T16:52:28.053Z] 16:52:28 INFO - r12 = 0x00007976d240fc28 r13 = 0x00007976d240fc00
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - r14 = 0x00007976d16fea78 r15 = 0x00007976d16feac0
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - rip = 0x00007976db2d3468
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - Found by: given as instruction pointer in context
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - 1 libxul.so!mozilla::dom::WorkerPrivate::ResetWorkerPrivateInWorkerThread() [WorkerPrivate.cpp:dad8b92996d58543ed200d08c8f733ff05bdaefc : 4628 + 0x21]
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - rbx = 0x00007976d142b450 rbp = 0x00007976d16feb00
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - rsp = 0x00007976d16feac0 r12 = 0x00007976d240fc28
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - r13 = 0x00007976d240fc00 r14 = 0x00007976d225b100
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - r15 = 0x00007976d16feac0 rip = 0x00007976db2d3514
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - Found by: call frame info
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - 2 libxul.so!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() [RuntimeService.cpp:dad8b92996d58543ed200d08c8f733ff05bdaefc : 2351 + 0x5]
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - rbx = 0x0000000080004005 rbp = 0x00007976d16fed10
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - rsp = 0x00007976d16feb10 r12 = 0x00007976d240fc28
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - r13 = 0x00007976d240fc00 r14 = 0x0000000000000000
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - r15 = 0x00007976d240ea60 rip = 0x00007976db2b8d13
[task 2019-05-18T16:52:28.054Z] 16:52:28 INFO - Found by: call frame info
[task 2019-05-18T16:52:28.055Z] 16:52:28 INFO - 3 libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:dad8b92996d58543ed200d08c8f733ff05bdaefc : 1175 + 0x11]
[task 2019-05-18T16:52:28.055Z] 16:52:28 INFO - rbx = 0x00007976d16fed80 rbp = 0x00007976d16ff240
[task 2019-05-18T16:52:28.055Z] 16:52:28 INFO - rsp = 0x00007976d16fed20 r12 = 0x00007976d16fed68
[task 2019-05-18T16:52:28.055Z] 16:52:28 INFO - r13 = 0x00007976d225b1b8 r14 = 0x00007976d225b100
[task 2019-05-18T16:52:28.055Z] 16:52:28 INFO - r15 = 0x00007976d16fee08 rip = 0x00007976d92940cd
[task 2019-05-18T16:52:28.055Z] 16:52:28 INFO - Found by: call frame info

Whiteboard: [domsecurity-intermittent]
Summary: Intermittent dom/crypto/test/test_WebCrypto_Reject_Generating_Keys_Without_Usages.html | application crashed [@ mozilla::dom::WorkerThread::SetWorker(mozilla::dom::WorkerThreadFriendKey const&, mozilla::dom::WorkerPrivate*)] → Intermittent dom/crypto/test/<test_name> | application crashed [@ mozilla::dom::WorkerThread::SetWorker(mozilla::dom::WorkerThreadFriendKey const&, mozilla::dom::WorkerPrivate*)]

The priority flag is not set for this bug.
:ckerschb, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ckerschb)

(In reply to Release mgmt bot [:sylvestre / :calixte] from comment #4)

The priority flag is not set for this bug.
:ckerschb, could you have a look please?

For more information, please visit auto_nag documentation.

@baku, could you please take a look because it's worker related.
@JC, could you please take a look because it's crypto related.

Thanks!

Flags: needinfo?(jjones)
Flags: needinfo?(ckerschb)
Flags: needinfo?(amarchesini)

Yaron, do you have time?

Flags: needinfo?(amarchesini) → needinfo?(ytausky)

Hmm, all of these are android x86-64.

OS: Unspecified → Android
Hardware: Unspecified → x86_64

Unfortunately I don't have bandwidth for anything new right now.

Flags: needinfo?(ytausky)

Whatever this is, it's subtle. And I don't necessarily mean window.SubtleCrypto.

Given the log here, it looks like it happens after WebCryptoTask produces a task object and dispatches it to the nsThreadPool, but before the worker calls Run back on the task.

ResetWorkerPrivateInWorkerThread / SetWorker do null checking properly AFAICT so I wonder if this crash is a hardware issue in the TC instance.

Flags: needinfo?(jjones)

JC, the importance still says critical. Is that he case? If so, we need to assign it to someone and get if fixed. Alterantively, could you please lower the priority of this bug? Thanks!

Flags: needinfo?(jjones)

Doesn't seem critical.

Severity: critical → normal
Component: DOM: Security → DOM: Web Crypto
Flags: needinfo?(jjones)
Priority: -- → P3
Severity: normal → S3

haven't seen failures since 2020

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