Skip to content

[Bug]: Keyboard crashes when launching it #123

@execberry

Description

@execberry

CleverKeys Version

v1.3.0-arm64-v8a

Device Information

Android Phone

Android Version

Android 10

Bug Category

Performance (lag, memory, battery)

Bug Description

  1. Was trying to enable and use the keyboard
  2. It crashes instead
  3. Expected it to function

Steps to Reproduce

  1. Enable the keyboard
  2. Select the keyboard
  3. Open it in testing field or wherever, face crash whenever doing it

Neural Configuration (if applicable)

Everything is on default.

Logs

03-28 18:26:21.025 26148 26148 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:26:21.032 26148 26148 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:26:21.057 26148 26148 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:427)
03-28 18:26:30.332 26207 26207 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:326 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:274 android.app.ActivityThread$H.handleMessage:2118
03-28 18:26:30.455 26207 26207 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:397)
03-28 18:26:30.488 26207 26207 D NeuralSwipeTypingEngine: NeuralSwipeTypingEngine created - using persistent singleton predictor
03-28 18:26:30.488 26207 26207 D NeuralSwipeTypingEngine: Initializing pure neural swipe engine...
03-28 18:26:30.488 26207 26207 D SwipePredictorOrchestrator: Starting ONNX model initialization...
03-28 18:26:31.124 26207 26207 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:26:31.125 26207 26207 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:26:31.131 26207 26207 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:427)
03-28 18:26:35.011 26261 26261 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:326 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:274 android.app.ActivityThread$H.handleMessage:2118
03-28 18:26:35.147 26261 26261 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:397)
03-28 18:26:35.183 26261 26261 D NeuralSwipeTypingEngine: NeuralSwipeTypingEngine created - using persistent singleton predictor
03-28 18:26:35.183 26261 26261 D NeuralSwipeTypingEngine: Initializing pure neural swipe engine...
03-28 18:26:35.183 26261 26261 D SwipePredictorOrchestrator: Starting ONNX model initialization...
03-28 18:26:35.847 26261 26261 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:26:35.854 26261 26261 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:26:35.864 26261 26261 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:427)
03-28 18:26:39.609 26370 26370 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:326 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:274 android.app.ActivityThread$H.handleMessage:2118
03-28 18:26:39.725 26370 26370 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:397)
03-28 18:26:39.757 26370 26370 D NeuralSwipeTypingEngine: NeuralSwipeTypingEngine created - using persistent singleton predictor
03-28 18:26:39.757 26370 26370 D NeuralSwipeTypingEngine: Initializing pure neural swipe engine...
03-28 18:26:39.757 26370 26370 D SwipePredictorOrchestrator: Starting ONNX model initialization...
03-28 18:26:40.413 26370 26370 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:26:40.415 26370 26370 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:26:40.419 26370 26370 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:427)
03-28 18:30:39.246   971  1060 D InputMethodManagerService: Checking tribixbite.cleverkeys/.CleverKeysService
03-28 18:30:39.249   971  1060 D InputMethodManagerService: Found an input method InputMethodInfo{tribixbite.cleverkeys/.CleverKeysService, settings: tribixbite.cleverkeys.SettingsActivity}
03-28 18:30:44.715   971   971 D InputMethodUtils: putSelectedInputMethodStr: tribixbite.cleverkeys/.CleverKeysService, 0com.android.server.inputmethod.InputMethodManagerService.setSelectedInputMethodAndSubtypeLocked:5801 com.android.server.inputmethod.InputMethodManagerService.setInputMethodLocked:3564 com.android.server.inputmethod.InputMethodManagerService$4.onClick:5427 com.android.internal.app.AlertController$AlertParams$3.onItemClick:1463 android.widget.AdapterView.performItemClick:374 android.widget.AbsListView.performItemClick:1736 android.widget.AbsListView$PerformClick.run:4207 android.widget.AbsListView$7.run:6692 android.os.Handler.handleCallback:883 android.os.Handler.dispatchMessage:100
03-28 18:30:44.716   971  1055 D InputManager: Trying to switch keyboard layout for subtype: InputMethodSubtypeHandle{mInputMethodId=tribixbite.cleverkeys/.CleverKeysService, mLanguageTag=sv, mSubtypeId=-1042682529}
03-28 18:30:44.727 25031 25031 I HBD     : j defaultInputMethod :  tribixbite.cleverkeys/.CleverKeysService
03-28 18:30:44.750 28464 28464 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:299 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:274 android.app.ActivityThread$H.handleMessage:2118
03-28 18:30:44.849 28464 28464 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:367)
03-28 18:30:44.894 28464 28464 D NeuralSwipeTypingEngine: NeuralSwipeTypingEngine created - using persistent singleton predictor
03-28 18:30:44.895 28464 28464 D NeuralSwipeTypingEngine: Initializing pure neural swipe engine...
03-28 18:30:44.895 28464 28464 D SwipePredictorOrchestrator: Starting ONNX model initialization...
03-28 18:30:47.124 28464 28464 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:30:47.127 28464 28464 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:30:47.133 28464 28464 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:396)
03-28 18:30:47.133 28464 28464 D CleverKeysService: Neural engine initialized - dimensions and key positions will be set after layout
03-28 18:30:47.351   971   971 V InputMethodManagerService: Service disconnected: ComponentInfo{tribixbite.cleverkeys/tribixbite.cleverkeys.CleverKeysService} mCurIntent=Intent { act=android.view.InputMethod cmp=tribixbite.cleverkeys/.CleverKeysService (has extras) }
03-28 18:30:47.364   971  1617 W ActivityManager: Scheduling restart of crashed service tribixbite.cleverkeys/.CleverKeysService in 13171ms
03-28 18:31:00.564   971  1062 I ActivityManager: Start proc 28770:tribixbite.cleverkeys/u0a461 for service {tribixbite.cleverkeys/tribixbite.cleverkeys.CleverKeysService}
03-28 18:31:00.848 28770 28770 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:299 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:274 android.app.ActivityThread$H.handleMessage:2118
03-28 18:31:01.170 28770 28770 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:367)
03-28 18:31:01.298 28770 28770 D NeuralSwipeTypingEngine: NeuralSwipeTypingEngine created - using persistent singleton predictor
03-28 18:31:01.299 28770 28770 D NeuralSwipeTypingEngine: Initializing pure neural swipe engine...
03-28 18:31:01.299 28770 28770 D SwipePredictorOrchestrator: Starting ONNX model initialization...
03-28 18:31:03.778 28770 28770 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:31:03.789 28770 28770 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:31:03.802 28770 28770 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:396)
03-28 18:31:03.802 28770 28770 D CleverKeysService: Neural engine initialized - dimensions and key positions will be set after layout
03-28 18:31:16.903   971   971 V InputMethodManagerService: Service disconnected: ComponentInfo{tribixbite.cleverkeys/tribixbite.cleverkeys.CleverKeysService} mCurIntent=Intent { act=android.view.InputMethod cmp=tribixbite.cleverkeys/.CleverKeysService (has extras) }
03-28 18:31:21.242   971  1062 I ActivityManager: Start proc 28959:tribixbite.cleverkeys/u0a461 for service {tribixbite.cleverkeys/tribixbite.cleverkeys.CleverKeysService}
03-28 18:31:21.373 28959 28959 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:299 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:274 android.app.ActivityThread$H.handleMessage:2118
03-28 18:31:21.458 28959 28959 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:367)
03-28 18:31:21.494 28959 28959 D NeuralSwipeTypingEngine: NeuralSwipeTypingEngine created - using persistent singleton predictor
03-28 18:31:21.494 28959 28959 D NeuralSwipeTypingEngine: Initializing pure neural swipe engine...
03-28 18:31:21.494 28959 28959 D SwipePredictorOrchestrator: Starting ONNX model initialization...
03-28 18:31:22.168 28959 28959 D NeuralSwipeTypingEngine: Neural engine initialized successfully - pure neural mode
03-28 18:31:22.170 28959 28959 D PredictionCoordinator: NeuralSwipeTypingEngine initialized successfully
03-28 18:31:22.173 28959 28959 E PredictionCoordinator:         at tribixbite.cleverkeys.CleverKeysService.onCreate(CleverKeysService.kt:396)
03-28 18:31:22.173 28959 28959 D CleverKeysService: Neural engine initialized - dimensions and key positions will be set after layout
03-28 18:31:23.159   971   971 V InputMethodManagerService: Service disconnected: ComponentInfo{tribixbite.cleverkeys/tribixbite.cleverkeys.CleverKeysService} mCurIntent=Intent { act=android.view.InputMethod cmp=tribixbite.cleverkeys/.CleverKeysService (has extras) }
03-28 18:31:24.596   971   971 V InputMethodManagerService: Current IME: tribixbite.cleverkeys/.CleverKeysService
03-28 18:33:21.716  1800  1800 D TaskIconCache: WorkAround reload title =CleverKeys
03-28 18:33:39.895   971  1060 I InputMethodManagerService: Input method uninstalled, disabling: ComponentInfo{tribixbite.cleverkeys/tribixbite.cleverkeys.CleverKeysService}
03-28 18:34:08.521   971  1060 D InputMethodManagerService: Checking tribixbite.cleverkeys/.CleverKeysService
03-28 18:34:08.537   971  1060 D InputMethodManagerService: Found an input method InputMethodInfo{tribixbite.cleverkeys/.CleverKeysService, settings: tribixbite.cleverkeys.SettingsActivity}
03-28 18:34:57.188   971   971 D InputMethodUtils: putSelectedInputMethodStr: tribixbite.cleverkeys/.CleverKeysService, 0com.android.server.inputmethod.InputMethodManagerService.setSelectedInputMethodAndSubtypeLocked:5801 com.android.server.inputmethod.InputMethodManagerService.setInputMethodLocked:3564 com.android.server.inputmethod.InputMethodManagerService$4.onClick:5427 com.android.internal.app.AlertController$AlertParams$3.onItemClick:1463 android.widget.AdapterView.performItemClick:374 android.widget.AbsListView.performItemClick:1736 android.widget.AbsListView$PerformClick.run:4207 android.widget.AbsListView$7.run:6692 android.os.Handler.handleCallback:883 android.os.Handler.dispatchMessage:100
03-28 18:34:57.190   971  1055 D InputManager: Trying to switch keyboard layout for subtype: InputMethodSubtypeHandle{mInputMethodId=tribixbite.cleverkeys/.CleverKeysService, mLanguageTag=sv, mSubtypeId=-1042682529}
03-28 18:34:57.196 25031 25031 I HBD     : j defaultInputMethod :  tribixbite.cleverkeys/.CleverKeysService
03-28 18:34:57.222 30371 30371 D InputMethodService: updateNavigationBarColor android.inputmethodservice.InputMethodService.onCreate:1517 tribixbite.cleverkeys.CleverKeysService.onCreate:326 android.app.ActivityThread.handleCreateService:4400 android.app.ActivityThread.access$1800:

Troubleshooting Steps

  • I have restarted the CleverKeys app
  • I have tried disabling and re-enabling the keyboard
  • I have checked if this happens with neural predictions disabled
  • I have tried clearing the app cache/data (if safe to do so)

Additional Context

When ticking every accessible option off, however, keyboard finally appears, but just freezes on screen before crashing again.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions