17

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?

sajas
  • 1,599
  • 1
  • 17
  • 39
Jerome
  • 173
  • 7

1 Answers1

55

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

Kirill Bubochkin
  • 5,868
  • 2
  • 31
  • 50