Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: SimpleX Chat hangs at launch #4154

Open
1 task done
pedrodelbosque opened this issue May 9, 2024 · 4 comments
Open
1 task done

[Bug]: SimpleX Chat hangs at launch #4154

pedrodelbosque opened this issue May 9, 2024 · 4 comments
Labels
bug Something isn't working triage

Comments

@pedrodelbosque
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Platform

Android

OS version

Android 13

App version

5.6

Current Behavior

Sometimes when launching SimpleX chat, it hangs on the boot screen, displaying the SimpleX logo indefinitely.

Expected Behavior

App launches

Steps To Reproduce

  1. Launch App
  2. App hangs :(

Relevant log output

--------- beginning of system
05-09 19:31:10.486  2158  3349 D PowerUI : can't show warning due to - plugged: true status unknown: false
05-09 19:31:12.069  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 161252188; UID 1010140; state: DISABLED
05-09 19:31:12.069  1199  7253 I ActivityTaskManager: START u10 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=chat.simplex.app/.MainActivity_default bnds=[643,1585][849,1954]} from uid 10115
05-09 19:31:12.070  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 265464455; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 265452344; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 266124927; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 265451093; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 265456536; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 255940284; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 236283604; UID 1010140; state: DISABLED
05-09 19:31:12.071  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 263959004; UID 1010140; state: DISABLED
05-09 19:31:12.072  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 264304459; UID 1010140; state: DISABLED
05-09 19:31:12.072  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 264301586; UID 1010140; state: DISABLED
05-09 19:31:12.072  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 254631730; UID 1010140; state: DISABLED
05-09 19:31:12.072  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 273509367; UID 1010140; state: DISABLED
05-09 19:31:12.072  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 263259275; UID 1010140; state: DISABLED
05-09 19:31:12.073  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 194480991; UID 1010140; state: ENABLED
05-09 19:31:12.073  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 174042980; UID 1010140; state: DISABLED
05-09 19:31:12.077  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 184838306; UID 1010140; state: DISABLED
05-09 19:31:12.077  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 185004937; UID 1010140; state: DISABLED
05-09 19:31:12.077  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 181136395; UID 1010140; state: DISABLED
05-09 19:31:12.077  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 174042936; UID 1010140; state: DISABLED
05-09 19:31:12.078  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 197654537; UID 1010140; state: ENABLED
05-09 19:31:12.079  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 205907456; UID 1010140; state: ENABLED
--------- beginning of main
05-09 19:31:12.081   842   842 I android.hardware.power-service-qti: Power setMode: 5 to: 1
05-09 19:31:12.084  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 194833441; UID 1010140; state: ENABLED
05-09 19:31:12.084   876   906 E ANDR-PERF-UTIL: Failed to read /sys/class/mmc_host/mmc0/clk_scaling/enable
05-09 19:31:12.084   876   906 E ANDR-PERF-OPTSHANDLER: Failed to read /sys/class/mmc_host/mmc0/clk_scaling/enable
05-09 19:31:12.084   876   906 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [11, 4]
05-09 19:31:12.086  2158  2536 W Parcel  : Expecting binder but got null!
05-09 19:31:12.088  1199  1432 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1010140; state: DISABLED
05-09 19:31:12.088  1199  1432 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 1010140; state: DISABLED
05-09 19:31:12.088  1199  1432 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 1010140; state: DISABLED
05-09 19:31:12.088  1199  1432 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1010140; state: ENABLED
05-09 19:31:12.088  1199  1442 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 1010140; state: ENABLED
05-09 19:31:12.096  1199 12548 D CoreBackPreview: Window{65b2c89 u10 Splash Screen chat.simplex.app}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@91440bc, mPriority=0}
05-09 19:31:12.103  2158  2536 E OpenGLRenderer: Unable to match the desired swap behavior.
05-09 19:31:12.111   708   708 D Zygote  : Forked child process 29799
05-09 19:31:12.114  1199  1442 I ActivityManager: Start proc 29799:chat.simplex.app/u10a140 for next-top-activity {chat.simplex.app/chat.simplex.app.MainActivity_default}
05-09 19:31:12.131 29799 29799 E hat.simplex.app: Not starting debugger since process cannot load the jdwp agent.
05-09 19:31:12.216 29799 29799 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 1010140 <<<<<<
05-09 19:31:12.217 29799 29799 W libc    : Access denied finding property "ro.debuggable"
05-09 19:31:12.213 29799 29799 W hat.simplex.app: type=1400 audit(0.0:10870): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=20736 scontext=u:r:untrusted_app:s0:c140,c256,c522,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
05-09 19:31:12.220 29799 29799 I AndroidRuntime: Using default boot image
05-09 19:31:12.221 29799 29799 I AndroidRuntime: Leaving lock profiling enabled
05-09 19:31:12.221 29799 29799 W libc    : Access denied finding property "odsign.verification.success"
05-09 19:31:12.213 29799 29799 W hat.simplex.app: type=1400 audit(0.0:10871): avc: denied { read } for name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=20660 scontext=u:r:untrusted_app:s0:c140,c256,c522,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0
05-09 19:31:12.221 29799 29799 W libc    : Access denied finding property "ro.debuggable"
05-09 19:31:12.213 29799 29799 W hat.simplex.app: type=1400 audit(0.0:10872): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=20736 scontext=u:r:untrusted_app:s0:c140,c256,c522,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
05-09 19:31:12.224 29799 29799 W chat.simplex.app: ART APEX data files are untrusted.
05-09 19:31:12.223 29799 29799 W hat.simplex.app: type=1400 audit(0.0:10873): avc: denied { getattr } for path="/apex/apex-info-list.xml" dev="tmpfs" ino=15983 scontext=u:r:untrusted_app:s0:c140,c256,c522,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0
05-09 19:31:12.223 29799 29799 W hat.simplex.app: type=1400 audit(0.0:10874): avc: denied { lock } for path="/system/framework/arm64/boot.art" dev="dm-0" ino=2312 scontext=u:r:untrusted_app:s0:c140,c256,c522,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
05-09 19:31:12.342 29799 29799 D chat.simplex.app: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
05-09 19:31:12.343 29799 29799 D chat.simplex.app: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt70l.dat
05-09 19:31:12.372 29799 29799 W libc    : Access denied finding property "ro.debuggable"
05-09 19:31:12.375 29799 29799 D AndroidRuntime: Calling main entry com.android.internal.os.ExecInit
05-09 19:31:12.375 29799 29799 D Zygote  : begin preload
05-09 19:31:12.375 29799 29799 I Zygote  : Calling ZygoteHooks.beginPreload()
05-09 19:31:12.378 29799 29799 D libEGL  : loaded /vendor/lib64/egl/libEGL_adreno.so
05-09 19:31:12.382 29799 29799 D libEGL  : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so
05-09 19:31:12.386 29799 29799 D libEGL  : loaded /vendor/lib64/egl/libGLESv2_adreno.so
05-09 19:31:12.409 29799 29799 I Zygote  : Preloading shared libraries...
05-09 19:31:12.411 29799 29799 E chat.simplex.app: Unable to find pattern file or unable to map it for am
05-09 19:31:12.412 29799 29799 I Zygote  : Called ZygoteHooks.endPreload()
05-09 19:31:12.426 29799 29799 I Zygote  : Installed AndroidKeyStoreProvider in 14ms.
05-09 19:31:12.426 29799 29799 D Zygote  : end preload
05-09 19:31:12.434  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 1010140; state: DISABLED
05-09 19:31:12.434  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 273564678; UID 1010140; state: DISABLED
05-09 19:31:12.436 29799 29828 W libc    : Access denied finding property "qemu.sf.lcd_density"
05-09 19:31:12.436 29799 29828 W libc    : Access denied finding property "qemu.sf.lcd_density"
05-09 19:31:12.443 29799 29799 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 1010140; state: ENABLED
05-09 19:31:12.443 29799 29799 I Typeface: Preloading /system/fonts/Roboto-Regular.ttf
05-09 19:31:12.444 29799 29799 I Typeface: Preloading /system/fonts/RobotoStatic-Regular.ttf
05-09 19:31:12.516 29799 29799 V GraphicsEnvironment: ANGLE Developer option for 'chat.simplex.app' set to: 'default'
05-09 19:31:12.516 29799 29799 V GraphicsEnvironment: ANGLE GameManagerService for chat.simplex.app: false
05-09 19:31:12.516 29799 29799 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
05-09 19:31:12.519 29799 29799 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-09 19:31:12.519 29799 29799 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-09 19:31:12.520 29799 29799 W chat.simplex.app: Method boolean androidx.compose.runtime.snapshots.SnapshotStateList.conditionalUpdate(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
05-09 19:31:12.520 29799 29799 W chat.simplex.app: Common causes for lock verification issues are non-optimized dex code
05-09 19:31:12.520 29799 29799 W chat.simplex.app: and incorrect proguard optimizations.
05-09 19:31:12.520 29799 29799 W chat.simplex.app: Method java.lang.Object androidx.compose.runtime.snapshots.SnapshotStateList.mutate(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
05-09 19:31:12.520 29799 29799 W chat.simplex.app: Method void androidx.compose.runtime.snapshots.SnapshotStateList.update(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
05-09 19:31:12.521 29799 29799 W chat.simplex.app: Method java.lang.Object androidx.compose.runtime.snapshots.SnapshotStateMap.mutate(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
05-09 19:31:12.521 29799 29799 W chat.simplex.app: Method void androidx.compose.runtime.snapshots.SnapshotStateMap.update(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
05-09 19:31:12.522 29799 29799 W chat.simplex.app: Method boolean androidx.compose.runtime.snapshots.SnapshotStateMap.removeIf$runtime_release(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
05-09 19:31:12.524 29799 29799 D WM-WrkMgrInitializer: Initializing WorkManager with default configuration.
05-09 19:31:12.524 29799 29799 W libc    : Access denied finding property "ro.debuggable"
05-09 19:31:12.530 29799 29832 D SIMPLEX : starting server
05-09 19:31:12.530 29799 29832 D SIMPLEX : started server
05-09 19:31:12.550 29799 29831 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 1010140; state: ENABLED
05-09 19:31:12.562 29799 29831 D CompatibilityChangeReporter: Compat change id reported: 194532703; UID 1010140; state: ENABLED
05-09 19:31:12.562  1199  7253 D CompatibilityChangeReporter: Compat change id reported: 194532703; UID 1010140; state: ENABLED
05-09 19:31:12.605  1199  1199 W AccessibilityManagerService:  wait for adding window timeout: 486
05-09 19:31:13.684  1199  3674 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
05-09 19:31:15.797   584 29657 I keystore2: keystore2::watchdog: Watchdog thread idle -> terminating. Have a great day.
05-09 19:31:16.890  1225  1526 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:16.891  1225  1286 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:17.504  2158  3346 D PowerUI : can't show warning due to - plugged: true status unknown: false
05-09 19:31:22.085  1199  1432 W ActivityTaskManager: Launch timeout has expired, giving up wake lock!
05-09 19:31:22.437   842   842 I android.hardware.power-service-qti: Power setMode: 5 to: 0
05-09 19:31:24.543  2158  3351 D PowerUI : can't show warning due to - plugged: true status unknown: false
05-09 19:31:27.701  1199  1453 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
05-09 19:31:28.092  1225  1526 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:28.095  1225  1286 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:30.951  2158  3355 D PowerUI : can't show warning due to - plugged: true status unknown: false
05-09 19:31:32.714  1225  1526 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:32.716  1225  1286 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:32.760  1037  1101 I ThermalEngine: Monitor : quiet_therm = 33970, msm_therm = 38802, xo_therm = 36354, battery_therm = 284,current_now = -17000 
05-09 19:31:35.012  1199  1736 W InputDispatcher: Not sending touch gesture to 87fd5b7 ActivityRecordInputSink chat.simplex.app/.MainActivity because it is not responsive
05-09 19:31:35.012  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.027  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.036  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.086  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.138  1199  1736 W InputDispatcher: Not sending touch gesture to 87fd5b7 ActivityRecordInputSink chat.simplex.app/.MainActivity because it is not responsive
05-09 19:31:35.138  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.147  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.155  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.172  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.181  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.189  1199  1736 I InputDispatcher: Dropping event because there is no touched window on display 0 to receive it: MotionEvent
05-09 19:31:35.560  1215 27584 E QMI_FW  : qmi_cci_get_ref: ref count increased 2
05-09 19:31:37.336  2158  2634 D PowerUI : can't show warning due to - plugged: true status unknown: false
@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link

Having the same issue on v5.6.1. Installed it from the Play store and the only thing im seeing on app startup is the app logo in the middle of the screen. Sometimes the app even quits. Lets me know if i can provide anything to help.

Edit: I'm on Android 12

@Narasimha-sc
Copy link
Collaborator

does this issue persist on v5.7.3+?

@efb4f5ff-1298-471a-8973-3d47447115dc

Just updated to v5.7.3 and issue still persists

@pedrodelbosque
Copy link
Author

Can also confirm issue persists in v5.7.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

3 participants