On time startup crash on O |
|||||
Issue descriptionSteps to reproduce the problem: no concrete rep step, app was just opened What is the expected behavior? What went wrong? 03-29 16:06:09.714 11899 11899 E AndroidRuntime: FATAL EXCEPTION: main 03-29 16:06:09.714 11899 11899 E AndroidRuntime: Process: com.android.chrome, PID: 11899 03-29 16:06:09.714 11899 11899 E AndroidRuntime: java.lang.reflect.UndeclaredThrowableException 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at $Proxy0.dispatchKeyEvent(Unknown Source) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:320) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4499) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4373) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3915) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3968) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3934) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4061) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3942) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4118) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3915) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3968) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3934) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3942) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3915) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3968) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3934) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4094) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4255) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2424) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1987) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1978) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2401) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:323) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.os.Looper.loop(Looper.java:136) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6408) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:232) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at org.chromium.base.BaseChromiumApplication$WindowCallbackProxy.invoke(BaseChromiumApplication.java:89) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at java.lang.reflect.Proxy.invoke(Proxy.java:913) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: ... 31 more 03-29 16:06:09.714 11899 11899 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for void org.chromium.base.metrics.RecordUserAction.nativeRecordUserAction(java.lang.String) (tried Java_org_chromium_base_metrics_RecordUserAction_nativeRecordUserAction and Java_org_chromium_base_metrics_RecordUserAction_nativeRecordUserAction__Ljava_lang_String_2) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at org.chromium.base.metrics.RecordUserAction.nativeRecordUserAction(Native Method) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at org.chromium.base.metrics.RecordUserAction.record(RecordUserAction.java:36) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at org.chromium.chrome.browser.ChromeActivity.onBackPressed(ChromeActivity.java:1596) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.app.Activity.onKeyUp(Activity.java:2799) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.view.KeyEvent.dispatch(KeyEvent.java:2711) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.app.Activity.dispatchKeyEvent(Activity.java:3089) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:547) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at org.chromium.chrome.browser.ChromeTabbedActivity.dispatchKeyEvent(ChromeTabbedActivity.java:1580) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:57) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:315) 03-29 16:06:09.714 11899 11899 E AndroidRuntime: ... 34 more Crashed report ID: no How much crashed? Whole browser Is it a problem with a plugin? No Did this work before? N/A Chrome version: 57 Channel: stable OS Version: o Flash Version:
,
Apr 4 2017
java.lang.UnsatisfiedLinkError: No implementation found for void org.chromium.base.metrics.RecordUserAction.nativeRecordUserAction(java.lang.String) Seems to indicate native library failed to be loaded. Can we get more information like logcat or a crash report id from chrome://crashes?
,
Apr 5 2017
no, this is everything what we have
,
Apr 5 2017
+changwan@ in case this is an issue with IME and input events. Feel free to close as WontFix if not. Otherwise I don't think this is actionable without more information. Removing Stability-Sheriff-Android.
,
Apr 5 2017
This may happen if onBackPressed() is called before native initialization is done. But I'm not sure if we need to wait for every static native methods or not. At least we decided to wait in https://codereview.chromium.org/2727873002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java and in https://codereview.chromium.org/2744623002/ Ted, do we need to have more such checks in static methods / classes?
,
Apr 7 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/87f32deba6f0a1a629f55d3a57d4d52cba412427 commit 87f32deba6f0a1a629f55d3a57d4d52cba412427 Author: tedchoc <tedchoc@chromium.org> Date: Fri Apr 07 01:08:46 2017 Fix crash on startup if you hit back before native. We are attempting to log metrics before native is initialized. BUG= 706400 Review-Url: https://codereview.chromium.org/2803943005 Cr-Commit-Position: refs/heads/master@{#462724} [modify] https://crrev.com/87f32deba6f0a1a629f55d3a57d4d52cba412427/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
,
Jul 21 2017
,
Jan 25 2018
according to #6 seems to be fixed |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by candr...@chromium.org
, Mar 31 2017