WebView crash in clean tree, unable to find resource
Reported by
adwig...@gmail.com,
Mar 20 2017
|
|||
Issue descriptionTHIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE! Device name: ViewSonic VSD242 Android version: 5.1.1 WebView version (from system settings -> Apps -> Android System WebView): AndroidWebView:59.0.3042.0 Application: android_webview_apk Application version: 59.0.3042.0 URLs (if applicable): https://sfgc.smrtapp.com/POS/login.php?page=index.php Steps to reproduce: (1) Build webview test app by following https://www.chromium.org/developers/how-tos/android-build-instructions (2) Open url sfgc.smrtapp.com (3) Type a character in password field Expected result: Character is entered in input field. Actual result: Fatal signal 6 (SIGABRT), code -6 [FATAL:resource_bundle.cc(544)] Check failed: false. unable to find resource: 15070
,
Mar 21 2017
Each build takes about two hours on my computer and there are no public instructions on how to compile from a TAG/ bisected commit. I did a reset to origin/master again Mar 21 12:57:48 2017 -0700, latest commit 21e62ae7504024888b56ae4e42d810d94812e0ae. Still crashing and also reproducible on Nexus 5X (android 7.1.1). Stack Trace: RELADDR FUNCTION FILE:LINE 000a2d45 ~LogMessage /home/mansion/Src/chromium/project/src/base/logging.cc:537 00023619 GetLocalizedString /home/mansion/Src/chromium/project/src/ui/base/resource/resource_bundle.cc:544 00019bf7 l10n_util::GetStringUTF16(int) /home/mansion/Src/chromium/project/src/ui/base/l10n/l10n_util.cc:683 00177e87 autofill::CreditCardField::LikelyCardTypeSelectField(autofill::AutofillScanner*) /home/mansion/Src/chromium/project/src/components/autofill/core/browser/credit_card_field.cc:317
,
Mar 22 2017
Following the trace, I found that it was connected to DCHECK (NOTREACHED()). Workaround is to run it in release mode. Related bug: https://bugs.chromium.org/p/chromium/issues/detail?id=540009
,
Mar 22 2017
Is there a way to run debug mode and turn off DCHECK? I only see the dcheck_always_on as an option, nothing for turning it off.
,
Mar 23 2017
adwigren@, these WebView instructions may be a little out of date. I'll try to update these to be more helpful. I don't know if we actually pack any resources into the android_webview_apk target (it's not actually WebView, btw). You should be compiling the system_webview_apk target (WebView for AOSP)--if that is missing a necessary resource, then this is indeed a bug.
,
Mar 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/29a7adabb37e14293b305cc7d07aea54261d2ada commit 29a7adabb37e14293b305cc7d07aea54261d2ada Author: ntfschr <ntfschr@chromium.org> Date: Thu Mar 23 21:17:08 2017 WebView: update outdated docs for test shell WebView no longer supports the android_webview_apk target for anything other than automated testing. Keeping docs for building an unsupported target is misleading, especially since android_webview_apk is not actually a WebView. This CL keeps the description about WebView, but removes the parts about the test shell. It has a pointer to our team's chromium wiki page for building and installing AOSP WebView. This renames the section to "Build WebView" instead of "Build WebView shell" to reflect the update. BUG= 703376 Review-Url: https://codereview.chromium.org/2770983007 Cr-Commit-Position: refs/heads/master@{#459221} [modify] https://crrev.com/29a7adabb37e14293b305cc7d07aea54261d2ada/docs/android_build_instructions.md
,
Mar 24 2017
I don't think this is an issue with a real WebView, so I'm closing this. Please file a bug if the same issue occurs for building AOSP webview. |
|||
►
Sign in to add a comment |
|||
Comment 1 by aluo@chromium.org
, Mar 21 2017