QKSMS always crashes on start
- /e/ version: 0.7-2019122535327
- Device model: LeEco Le2 https://doc.e.foundation/devices/s2/
- When it started to occur: around 2019-12-27
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS: not tested
Summary
QKSMS does no longer work. Tapping on the QKSMS-Icon results in a "QKSMS has stopped" message.
The problem
Steps to reproduce
Tap on the QKSMS Icon.
What is the current behavior?
A popup appears saying "QKSMS has stopped"
What is the expected correct behavior?
The QKSMS-App should work.
Technical informations
Relevant logs (adb logcat
)
12-31 00:59:59.324 1230 1561 E QCOM PowerHAL: Failed to acquire lock.
12-31 00:59:59.413 1230 3515 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.moez.QKSMS/.feature.main.MainActivity bnds=[0,1689][216,1899] (has extras)} from uid 10110 on display 0
12-31 00:59:59.416 1230 3515 E QCOM PowerHAL: Failed to acquire lock.
12-31 00:59:59.486 1230 3507 I ActivityManager: Start proc 28631:com.moez.QKSMS/u0a74 for activity com.moez.QKSMS/.feature.main.MainActivity
12-31 00:59:59.537 28631 28631 I art : Starting a blocking GC AddRemoveAppImageSpace
12-31 00:59:59.542 28631 28631 W art : JIT profile information will not be recorded: profile file does not exits.
12-31 00:59:59.548 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/cache: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.549 28631 28631 W ContextImpl: Failed to ensure /data/user_de/0/com.moez.QKSMS/code_cache: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.568 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/shared_prefs: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.574 28631 28631 E SharedPreferencesImpl: Couldn't create directory for SharedPreferences file /data/user/0/com.moez.QKSMS/shared_prefs/com.bugsnag.android.xml
12-31 00:59:59.575 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/cache: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.576 28631 28631 W Bugsnag : Could not prepare error storage directory
12-31 00:59:59.585 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.586 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.586 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.588 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.588 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.591 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.592 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.597 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.598 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.608 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.609 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.626 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.626 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.643 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.643 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.664 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.665 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.681 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.682 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.698 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.699 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.716 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.716 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.733 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.733 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.750 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.750 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.768 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.768 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.786 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.786 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.803 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.804 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.821 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.822 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.823 28631 28631 W ContextImpl: Failed to ensure /data/user/0/com.moez.QKSMS/files: mkdir failed: EACCES (Permission denied)
12-31 00:59:59.825 28631 28631 D AndroidRuntime: Shutting down VM
12-31 00:59:59.865 28631 28631 E AndroidRuntime: FATAL EXCEPTION: main
12-31 00:59:59.865 28631 28631 E AndroidRuntime: Process: com.moez.QKSMS, PID: 28631
12-31 00:59:59.865 28631 28631 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.moez.QKSMS.common.QKApplication: java.lang.IllegalStateException: Context.getFilesDir() returns /data/user/0/com.moez.QKSMS/files which is not an existing directory. See https://issuetracker.google.com/issues/36918154
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5451)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.app.ActivityThread.-wrap2(ActivityThread.java)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1564)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6186)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Context.getFilesDir() returns /data/user/0/com.moez.QKSMS/files which is not an existing directory. See https://issuetracker.google.com/issues/36918154
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at io.realm.Realm.checkFilesDirAvailable(Realm.java:382)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at io.realm.Realm.initializeRealm(Realm.java:321)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at io.realm.Realm.init(Realm.java:265)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at com.moez.QKSMS.common.QKApplication.onCreate(QKApplication.kt:75)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5448)
12-31 00:59:59.865 28631 28631 E AndroidRuntime: ... 8 more
12-31 00:59:59.868 1230 2935 W ActivityManager: Force finishing activity com.moez.QKSMS/.feature.main.MainActivity
12-31 00:59:59.933 1230 5213 I OpenGLRenderer: Initialized EGL, version 1.4
12-31 00:59:59.933 1230 5213 D OpenGLRenderer: Swap behavior 1
12-31 01:00:00.384 1230 1271 W ActivityManager: Activity pause timeout for ActivityRecord{d8f9388 u0 com.moez.QKSMS/.feature.main.MainActivity t13366 f}
12-31 01:00:00.392 1230 1271 I WindowManager: Failed to capture screenshot of Token{8457121 ActivityRecord{d8f9388 u0 com.moez.QKSMS/.feature.main.MainActivity t13366 f}} appWin=Window{5bc5b1e u0 Starting com.moez.QKSMS} drawState=4
12-31 01:00:00.462 1230 7461 E QCOM PowerHAL: Failed to acquire lock.