Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InputConnectionWrapper.commitText StackOverflowError in HTC devices

Tags:

android

Debug in HTC D820U, found StackOverflowError. Device: HTC D820u, Android 6.0 ,HTC version:1.0.0.D820u See log:

01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport: java.lang.StackOverflowError: stack size 8MB at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:42) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.j 01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport:

++++++++++++++++++++++++++++++++++++++++++

About log, No crash about my app. Is this an Android bug? or HTC Rom bug?

like image 896
Jerome Avatar asked Jan 11 '18 03:01

Jerome


1 Answers

I'm getting the same error Nexus 5. Looks like it's Android profiler bug. You can fix it by disabling advanced profiling in Run configuration: enter image description here

UPDATE: According to issue this should be fixed in Android Studio 3.1 beta 1.

UPDATE 2: @ilyamuromets confirms issue to be solved in AS 3.1.1

like image 174
Kirill Bubochkin Avatar answered Nov 05 '22 20:11

Kirill Bubochkin