App Support crashes while using Android Apps

REPRODUCIBILITY:
OS VERSION: 5.0.0.76 / 5.0.0.77
HARDWARE: X10 III
UI LANGUAGE:DE
REGRESSION:

DESCRIPTION:

App Support crashes while using Android Apps. While typing more or less text eg. in a signal chat app support crashes. Immediate crashes if an emoji is entered. The bug occured intially shortly after the changeover to daylight saving time while the device was not in use.

PRECONDITIONS:

App support started, apps like Firefox, Molly or Signal installed

STEPS TO REPRODUCE:

  1. Open app like Signal
  2. open any chat
  3. start typing
  4. while typing more or less text the appsupport crashes and restarts

EXPECTED RESULT:

Not chrashing

ACTUAL RESULT:

App support chrashes and restarts

MODIFICATIONS:

MicroG is installed

ADDITIONAL INFORMATION:

Additional descriptions can be found here:

A typical log of crash looks like this

appsupport-attach /system/bin/logcat | grep -E 'system_server|AndroidRuntime'
03-31 22:18:23.398    62    62 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
03-31 22:18:23.633    61    61 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
03-31 22:18:23.997    62    62 I AndroidRuntime: Using default boot image
03-31 22:18:23.997    62    62 I AndroidRuntime: Leaving lock profiling enabled
03-31 22:18:24.089    61    61 I AndroidRuntime: Using default boot image
03-31 22:18:24.089    61    61 I AndroidRuntime: Leaving lock profiling enabled
03-31 22:18:27.593   313   313 W system_server: Failed to upload odrefresh metrics: metrics file '/data/misc/odrefresh/odrefresh-metrics.txt' could not be opened: No such file or directory
03-31 22:18:27.593   313   313 E system_server: Not starting debugger since process cannot load the jdwp agent.
03-31 22:18:28.137   313   313 E system_server: Disallowing getting service: android.hardware.memtrack@1.0::IMemtrack
03-31 22:18:28.211   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.212   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.212   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.213   313   350 E system_server: Cannot read thread CPU times for PID 313
03-31 22:18:28.328   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.329   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.329   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.330   313   350 E system_server: Cannot read thread CPU times for PID 313
03-31 22:18:28.899   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.899   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.900   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.901   313   350 E system_server: Cannot read thread CPU times for PID 313
03-31 22:18:28.902   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.903   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.904   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:28.905   313   350 E system_server: Cannot read thread CPU times for PID 313
03-31 22:18:29.011   313   313 I system_server: Created attach input device service listener
03-31 22:18:29.204   313   344 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
03-31 22:18:29.317   313   344 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
03-31 22:18:29.321   313   344 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
03-31 22:18:29.327   313   344 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
03-31 22:18:29.330   313   344 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
03-31 22:18:29.331   313   344 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
03-31 22:18:29.654   313   313 I system_server: Waiting for a blocking GC ClassLinker
03-31 22:18:29.672   313   313 I system_server: WaitForGcToComplete blocked ClassLinker on Background for 18.530ms
03-31 22:18:29.737   313   313 W ActivityManager: Too early to start/bind service in system_server: Phase=550 ComponentInfo{com.android.server.telecom/com.android.server.telecom.components.TelecomService}
03-31 22:18:29.738   313   313 W ActivityManager: Too early to start/bind service in system_server: Phase=550 ComponentInfo{com.android.server.telecom/com.android.server.telecom.components.TelecomService}
03-31 22:18:29.910   313   325 W system_server: Suspending all threads took: 5.902ms
03-31 22:18:29.915   313   325 I system_server: Background young concurrent copying GC freed 69396(4768KB) AllocSpace objects, 16(448KB) LOS objects, 27% free, 13MB/17MB, paused 850us,6.148ms total 26.756ms
03-31 22:18:29.998   313   313 D ConnectivityModuleConnector: Starting networking module in system_server process
03-31 22:18:29.999   313   313 D ConnectivityModuleConnector: Starting networking module in system_server process
03-31 22:18:31.053   516   516 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
03-31 22:18:31.236   517   517 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
03-31 22:18:31.329   313   343 I system_server: Using smaps_rollup for pss collection
03-31 22:18:31.353   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:31.353   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:31.354   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:18:31.358   313   350 E system_server: Cannot read thread CPU times for PID 313
03-31 22:18:38.854   313   325 I system_server: Background concurrent copying GC freed 109325(5879KB) AllocSpace objects, 4(96KB) LOS objects, 25% free, 17MB/23MB, paused 101us,216us total 200.613ms
03-31 22:19:24.540   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:19:24.540   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:19:24.541   313   350 E system_server: Cannot obtain CPU frequency count
03-31 22:19:24.541   313   350 E system_server: Cannot read thread CPU times for PID 313
03-31 22:20:33.388   313   313 D AndroidRuntime: Shutting down VM
03-31 22:20:33.389   313   313 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
03-31 22:20:33.389   313   313 E AndroidRuntime: java.lang.IllegalArgumentException: event time must not be in the future
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.server.power.PowerManagerService$BinderService.userActivity(PowerManagerService.java:5713)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at android.os.PowerManager.userActivity(PowerManager.java:1401)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at android.os.PowerManager.userActivity(PowerManager.java:1366)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.server.accessibility.AccessibilityInputFilter.handleMotionEvent(AccessibilityInputFilter.java:360)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.server.accessibility.AccessibilityInputFilter.processMotionEvent(AccessibilityInputFilter.java:342)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.server.accessibility.AccessibilityInputFilter.onInputEvent(AccessibilityInputFilter.java:278)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at android.view.InputFilter$H.handleMessage(InputFilter.java:250)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.server.SystemServer.run(SystemServer.java:972)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.server.SystemServer.main(SystemServer.java:665)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:555)
03-31 22:20:33.389   313   313 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:914)
03-31 22:20:33.397   313   313 I DropBoxManagerService: add tag=system_server_crash isTagEnabled=true flags=0x2
03-31 22:20:33.490    61    61 E Zygote  : Zygote failed to write to system_server FD: Connection refused
03-31 22:20:34.446   548   548 D AndroidRuntime: Shutting down VM
03-31 22:20:34.446   548   548 E AndroidRuntime: FATAL EXCEPTION: main
03-31 22:20:34.446   548   548 E AndroidRuntime: Process: com.android.phone, PID: 548
03-31 22:20:34.446   548   548 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
[root@Xperia10III defaultuser]#