Perma tier2 dom/credentialmanagement/tests/mochitest/test_credman_iframes.html - mozrunner-startup | application crashed [@ mozilla::jni::NativeStub<mozilla::java::WebAuthnTokenManager::WebAuthnMakeCredentialReturnError_t, mozilla::WebAuthnTokenManager
Categories
(Core :: DOM: Web Authentication, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: jcj)
References
(Regression)
Details
(Keywords: crash, intermittent-failure, regression, Whiteboard: [stockwell fixed:patch])
Crash Data
Attachments
(3 files)
Filed by: aciure [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=246211475&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/VGgdHe4RTEqxlAWpCTETxg/runs/0/artifacts/public/logs/live_backing.log
[task 2019-05-13T22:05:03.461Z] 22:05:03 INFO - 1725 INFO TEST-START | dom/credentialmanagement/tests/mochitest/test_credman_iframes.html
[task 2019-05-13T22:05:03.461Z] 22:05:03 INFO - wait for org.mozilla.geckoview.test complete; top activity=com.android.launcher3
[task 2019-05-13T22:05:03.564Z] 22:05:03 INFO - remoteautomation.py | Application ran for: 0:00:13.344955
[task 2019-05-13T22:05:03.993Z] 22:05:03 INFO - mozcrash Downloading symbols from: https://queue.taskcluster.net/v1/task/GTjGxa3eSkS1mc4yN8RAAA/artifacts/public/build/target.crashreporter-symbols.zip
[task 2019-05-13T22:05:07.109Z] 22:05:07 INFO - mozcrash Copy/paste: /builds/worker/workspace/build/linux64-minidump_stackwalk /tmp/tmpa3idUw/087bc35a-d48a-6e57-407c-fb5aff86c30f.dmp /tmp/tmpqAcOmC
[task 2019-05-13T22:05:10.917Z] 22:05:10 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/087bc35a-d48a-6e57-407c-fb5aff86c30f.dmp
[task 2019-05-13T22:05:10.917Z] 22:05:10 INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/087bc35a-d48a-6e57-407c-fb5aff86c30f.extra
[task 2019-05-13T22:05:10.920Z] 22:05:10 WARNING - PROCESS-CRASH | dom/credentialmanagement/tests/mochitest/test_credman_iframes.html | application crashed [@ mozilla::jni::NativeStub<mozilla::java::WebAuthnTokenManager::WebAuthnMakeCredentialReturnError_t, mozilla::WebAuthnTokenManager, mozilla::jni::Args<mozilla::jni::StringParam const&> >::Wrap<&mozilla::WebAuthnTokenManager::WebAuthnMakeCredentialReturnError>(_JNIEnv*, _jclass*, _jstring*)]
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - Crash dump filename: /tmp/tmpa3idUw/087bc35a-d48a-6e57-407c-fb5aff86c30f.dmp
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - Operating system: Android
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - 0.0.0 Linux 3.10.0+ #1 PREEMPT Thu Jan 5 00:46:30 UTC 2017 x86_64
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - CPU: amd64
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - family 6 model 2 stepping 3
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - 1 CPU
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - GPU: UNKNOWN
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - Crash reason: SIGSEGV /SEGV_MAPERR
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - Crash address: 0x0
[task 2019-05-13T22:05:10.920Z] 22:05:10 INFO - Process uptime: not available
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - Thread 11 (crashed)
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - 0 libxul.so!void mozilla::jni::NativeStub<mozilla::java::WebAuthnTokenManager::WebAuthnMakeCredentialReturnError_t, mozilla::WebAuthnTokenManager, mozilla::jni::Args<mozilla::jni::StringParam const&> >::Wrap<&mozilla::WebAuthnTokenManager::WebAuthnMakeCredentialReturnError>(_JNIEnv*, _jclass*, _jstring*) [Natives.h:edd79d65116b36e10075a90726bb657f93daf26c : 710 + 0x11]
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - rax = 0x00007a5d6b52993f rdx = 0x00007a5d6e3fcd68
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - rcx = 0x00007a5d6daf84a0 rbx = 0x0000000000001aee
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - rsi = 0x00007a5d6e3fcd64 rdi = 0x00007a5d7c5c00c0
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - rbp = 0x00007a5d6e3fcd20 rsp = 0x00007a5d6e3fcce0
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - r8 = 0x00007a5d6e3fd190 r9 = 0x00007a5d6eca5897
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - r10 = 0x00007a5d6eca589a r11 = 0x00007a5d6e3fcfb0
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - r12 = 0x00007a5d6e3fcf70 r13 = 0x00007a5d6e615c18
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - r14 = 0x00007a5d6e3fcd68 r15 = 0x00007a5d7c5c00c0
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - rip = 0x00007a5d696895b8
[task 2019-05-13T22:05:10.921Z] 22:05:10 INFO - Found by: given as instruction pointer in context
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - 1 base.odex + 0x767709
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rbx = 0x00007a5d85b1be00 rbp = 0x00007a5d6e3fcde8
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rsp = 0x00007a5d6e3fcd30 r12 = 0x00007a5d6e3fcf70
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - r13 = 0x00007a5d6e615c18 r14 = 0x00007a5d6e3fd190
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - r15 = 0x00007a5d6e3fd190 rip = 0x00007a5d6eed8709
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - Found by: call frame info
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - 2 0x7a5d6e3fd190
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rbp = 0x00007a5d6e3fd190 rsp = 0x00007a5d6e3fcdf8
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rip = 0x00007a5d6e3fd190
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - Found by: previous frame's frame pointer
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - 3 dalvik-LinearAlloc (deleted) + 0x9c18
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rbp = 0x00007a5d6e3fd190 rsp = 0x00007a5d6e3fce00
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rip = 0x00007a5d6e615c18
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - Found by: stack scanning
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - 4 base.odex + 0x534897
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rbp = 0x00007a5d6e3fd190 rsp = 0x00007a5d6e3fce18
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - rip = 0x00007a5d6eca5897
[task 2019-05-13T22:05:10.927Z] 22:05:10 INFO - Found by: stack scanning
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
This crash happens on geckoview-based wpt runs as well: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246339913&repo=mozilla-central&lineNumber=5672
Assignee | ||
Comment 4•5 years ago
|
||
Yeah, we just need to update the tests to pref off the now-on Android code. I was out sick today, but I'll prepare a patch now.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 6•5 years ago
|
||
Patch is in bug 1551342. Assuming that works, I'll be duping this on that.
Assignee | ||
Comment 7•5 years ago
|
||
The new Android functionality can conflict with the tests' expected behavior,
so it should be generally disabled, like the Rust module.
Pushed by jjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9a6ddf12288 Update U2F, WebAuthn, and CredMan tests for Android r=keeler
Assignee | ||
Comment 9•5 years ago
|
||
Discussion with :dvarga shows there's more to do here, another patch incoming.
Assignee | ||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 13•5 years ago
|
||
Hi J.C. can you take a look at Bug 1552102 and Bug 1552076 too?
Updated•5 years ago
|
Assignee | ||
Comment 14•5 years ago
|
||
https://phabricator.services.mozilla.com/D31366 isn't going to fix those crashes, but it helps yet more tests, so going to land it, too. Leaving this open still, for now.
Comment 15•5 years ago
|
||
Pushed by jjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/862aa43181c3 Fix conflicts w/ Android FIDO2 and Rust u2f-hid-rs r=keeler
Assignee | ||
Comment 16•5 years ago
|
||
The mozilla::java::WebAuthnTokenManager asserts its return-to-C++ callbacks as
being run on the main Android UI thread, but since these methods are called
directly from the Fido2PendingIntent listeners, there's no guarantee of that.
We don't actually care what thread was tasked with returning us data, just that
it gets done, so let's not assert the thread here.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 20•5 years ago
|
||
The try run for https://phabricator.services.mozilla.com/D31497, https://treeherder.mozilla.org/#/jobs?repo=try&revision=8332eab8cd720bccb7d40a1ef68e0e11b49f7ce3, is very clean w/ multiple retriggers. Hopefully that is the fix.
Comment 21•5 years ago
|
||
Pushed by jjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5fae8054799f Don't assert the thread calling JNI WebAuthn functions r=snorp
Comment 23•5 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 26•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 29•5 years ago
|
||
I believe this is resolved; the oranges from the last several days marked as this bug are not crashes, they all appear to be instead miscategorizations of a web platform test intermittent:
INFO - TEST-UNEXPECTED-FAIL | /webauthn/createcredential-pubkeycredparams.https.html | Bad pubKeyCredParams: first param has bad alg (42) - assert_throws: Expected bad parameters to fail function "function() { throw e }" threw object "UnknownError: The operation failed for an unknown transient reason" that is not a DOMException NotSupportedError: property "code" is equal to 0, expected 9
Comment 30•5 years ago
|
||
(In reply to J.C. Jones [:jcj] (he/him) from comment #29)
I believe this is resolved; the oranges from the last several days marked as this bug are not crashes, they all appear to be instead miscategorizations of a web platform test intermittent:
INFO - TEST-UNEXPECTED-FAIL | /webauthn/createcredential-pubkeycredparams.https.html | Bad pubKeyCredParams: first param has bad alg (42) - assert_throws: Expected bad parameters to fail function "function() { throw e }" threw object "UnknownError: The operation failed for an unknown transient reason" that is not a DOMException NotSupportedError: property "code" is equal to 0, expected 9
I reopened Bug 1551382, as it was marked a duplicate of this bug, and has the same failure that you mention here as not being related to this bug.
Updated•5 years ago
|
Comment 33•5 years ago
|
||
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 35•5 years ago
|
||
No instances in the last 6 days... and the last erroring patchset didn't have https://hg.mozilla.org/mozilla-central/rev/5fae8054799f
in it. I think this is still closed.
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Description
•