Closed phirz closed 2 years ago
Thanks for reporting. Any chance to get some log from logcat when the crash occurs? We can make the code robust against sensors failure, but logs may help. Or send a rageshake if it is possible.
Thanks for the quick response. I have no experience with logcat (or Android logging / programming) at all. But I will see what I can learn in the coming days.
As mentioned above, I have sent a rageshake some time ago (quite sure that it was October, 25th) but do not know how to refer to it here. However, I just sent a new one refering to this issue.
Here is some log. Sorry for the bloat, I simply do not know what is important to be filtered. Also, the app was started and crashed twice (each time by choosing the "settings" option in the rageshake dialog). So, there might be some redundant information.
12-25 15:59:04.188 623 850 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=im.vector.app/.features.Alias bnds=[528,723][697,920]} from uid 10027
12-25 15:59:04.361 623 641 I ActivityManager: Start proc 10070:im.vector.app/u0a139 for activity im.vector.app/.features.Alias
12-25 15:59:04.381 623 4221 D WificondControl: Scan result ready event
12-25 15:59:04.392 623 645 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true
12-25 15:59:04.428 623 635 W ActivityManager: Request to remove task ignored for non-existent task 13
12-25 15:59:04.510 10070 10070 I MultiDex: VM with version 2.1.0 has multidex support
12-25 15:59:04.510 10070 10070 I MultiDex: Installing application
12-25 15:59:04.510 10070 10070 I MultiDex: VM has multidex support, MultiDex support library is disabled.
12-25 15:59:04.611 370 370 I keystore: 1 0
12-25 15:59:04.777 370 370 I chatty : uid=1017(keystore) /system/bin/keystore identical 7 lines
12-25 15:59:04.824 370 370 I keystore: 1 0
12-25 15:59:04.916 10070 10070 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
12-25 15:59:04.956 10070 10083 D BluetoothHeadset: Proxy object connected
12-25 15:59:05.054 10070 10070 W im.vector.app: Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, linking)
12-25 15:59:05.055 10070 10070 W im.vector.app: Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, linking)
12-25 15:59:05.081 10070 10070 W im.vector.app: Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, reflection)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: Failed to retrieve rebase() method
12-25 15:59:05.082 10070 10070 I ResourcesCompat: java.lang.NoSuchMethodException: rebase []
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at java.lang.Class.getMethod(Class.java:2068)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at java.lang.Class.getDeclaredMethod(Class.java:2047)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at androidx.appcompat.app.AppCompatDelegateImpl.attachBaseContext2(AppCompatDelegateImpl.java:79)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at androidx.appcompat.app.AppCompatActivity.attachBaseContext(AppCompatActivity.java:1)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at im.vector.app.core.platform.VectorBaseActivity.attachBaseContext(VectorBaseActivity.kt:2)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.Activity.attach(Activity.java:7060)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2911)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.os.Handler.dispatchMessage(Handler.java:106)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.os.Looper.loop(Looper.java:193)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at android.app.ActivityThread.main(ActivityThread.java:6718)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at java.lang.reflect.Method.invoke(Native Method)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-25 15:59:05.082 10070 10070 I ResourcesCompat: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-25 15:59:05.123 623 4221 I ActivityManager: START u0 {cmp=im.vector.app/.features.login.LoginActivity (has extras)} from uid 10139
12-25 15:59:05.162 327 1295 D SurfaceFlinger: duplicate layer name: changing Splash Screen im.vector.app to Splash Screen im.vector.app#1
12-25 15:59:05.216 10070 10070 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6bf596b
12-25 15:59:05.404 10070 10070 D OpenGLRenderer: Skia GL Pipeline
12-25 15:59:05.482 10070 10118 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I741a3d36ca)
12-25 15:59:05.482 10070 10118 I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00
12-25 15:59:05.482 10070 10118 I Adreno-EGL: Build Date: 04/04/16 Mon
12-25 15:59:05.482 10070 10118 I Adreno-EGL: Local Branch: mybranch19053788
12-25 15:59:05.482 10070 10118 I Adreno-EGL: Remote Branch: quic/LA.BF.1.1.3_rb1.12
12-25 15:59:05.482 10070 10118 I Adreno-EGL: Local Patches: NONE
12-25 15:59:05.482 10070 10118 I Adreno-EGL: Reconstruct Branch: NOTHING
12-25 15:59:05.491 10070 10118 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-25 15:59:05.492 10070 10118 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-25 15:59:05.492 10070 10118 I OpenGLRenderer: Initialized EGL, version 1.4
12-25 15:59:05.492 10070 10118 D OpenGLRenderer: Swap behavior 1
12-25 15:59:05.502 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:05.515 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:05.516 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:05.588 10070 10118 D vndksupport: Loading /vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
12-25 15:59:05.590 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:05.634 623 638 I ActivityManager: Displayed im.vector.app/.features.login.LoginActivity: +1s420ms
12-25 15:59:05.773 327 1295 D SurfaceFlinger: duplicate layer name: changing im.vector.app/im.vector.app.features.login.LoginActivity to im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:05.779 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:05.782 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:05.797 327 1295 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen im.vector.app#1
12-25 15:59:05.797 327 1295 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen im.vector.app#1
12-25 15:59:06.016 327 451 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{985f103 token=Token{7b87db2 ActivityRecord{545a3bd u0 im.vector.app/.features.Alias t14}}}#0
12-25 15:59:08.348 10070 10118 D OpenGLRenderer: endAllActiveAnimators on 0x96c30080 (RippleDrawable) with handle 0x96c9b0f0
12-25 15:59:08.455 327 1295 D SurfaceFlinger: duplicate layer name: changing im.vector.app/im.vector.app.features.login.LoginActivity to im.vector.app/im.vector.app.features.login.LoginActivity#2
12-25 15:59:08.461 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:08.463 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:08.503 327 454 D SurfaceFlinger: duplicate layer name: changing Dim Layer for - Task=15 to Dim Layer for - Task=15#1
12-25 15:59:08.536 327 1087 W SurfaceFlinger: Attempting to set client state on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:08.536 327 1087 W SurfaceFlinger: Attempting to destroy on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:08.545 327 1087 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=15#0
12-25 15:59:08.545 327 1087 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=15#0
12-25 15:59:09.716 623 4221 I ActivityManager: START u0 {cmp=im.vector.app/.features.rageshake.BugReportActivity (has extras)} from uid 10139
12-25 15:59:09.775 10070 10118 D OpenGLRenderer: endAllActiveAnimators on 0x96ccb400 (RippleDrawable) with handle 0x96eff140
12-25 15:59:09.815 10070 10070 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@3437d72
12-25 15:59:09.959 327 1087 W SurfaceFlinger: Attempting to set client state on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#2
12-25 15:59:09.959 327 1087 W SurfaceFlinger: Attempting to destroy on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#2
12-25 15:59:09.970 327 715 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=15#1
12-25 15:59:09.970 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=15#1
12-25 15:59:09.978 10070 10082 I im.vector.app: Background concurrent copying GC freed 12033(683KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 2MB/4MB, paused 223us total 144.474ms
12-25 15:59:09.989 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:09.992 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:11.824 623 640 D AutofillManagerService: onBackKeyPressed()
12-25 15:59:11.909 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:11.910 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:12.256 327 715 D SurfaceFlinger: duplicate layer name: changing im.vector.app/im.vector.app.features.login.LoginActivity to im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:12.265 10070 10118 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:12.266 10070 10118 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:14.759 623 1245 I ActivityManager: START u0 {cmp=im.vector.app/.features.settings.VectorSettingsActivity (has extras)} from uid 10139
12-25 15:59:14.801 10070 10118 D OpenGLRenderer: endAllActiveAnimators on 0x963cf600 (RippleDrawable) with handle 0x96ce8590
12-25 15:59:14.861 10070 10070 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@e3500e4
12-25 15:59:14.868 10070 10070 D AndroidRuntime: Shutting down VM
12-25 15:59:14.869 10070 10070 E AndroidRuntime: FATAL EXCEPTION: main
12-25 15:59:14.869 10070 10070 E AndroidRuntime: Process: im.vector.app, PID: 10070
12-25 15:59:14.869 10070 10070 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{im.vector.app/im.vector.app.features.settings.VectorSettingsActivity}: java.lang.IllegalStateException: You should authenticate before using this
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: Caused by: java.lang.IllegalStateException: You should authenticate before using this
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at im.vector.app.core.di.ActiveSessionHolder.getActiveSession(ActiveSessionHolder.kt:2)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at im.vector.app.core.di.DaggerVectorComponent.currentSession(DaggerVectorComponent.java:3)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at im.vector.app.features.settings.VectorSettingsActivity.injectWith(VectorSettingsActivity.kt:2)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at im.vector.app.core.platform.VectorBaseActivity.onCreate(VectorBaseActivity.kt:8)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7144)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7135)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
12-25 15:59:14.869 10070 10070 E AndroidRuntime: ... 11 more
12-25 15:59:14.881 623 688 W ActivityManager: Force finishing activity im.vector.app/.features.settings.VectorSettingsActivity
12-25 15:59:14.895 623 688 W ActivityManager: Force finishing activity im.vector.app/.features.login.LoginActivity
12-25 15:59:14.908 10070 10070 I Process : Sending signal. PID: 10070 SIG: 9
12-25 15:59:14.948 623 1245 I ActivityManager: Process im.vector.app (pid 10070) has died: fore TOP
12-25 15:59:14.948 623 634 I WindowManager: WIN DEATH: Window{6309aeb u0 im.vector.app/im.vector.app.features.login.LoginActivity EXITING}
12-25 15:59:14.954 623 716 W InputDispatcher: channel '9979d3b im.vector.app/im.vector.app.features.login.LoginActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
12-25 15:59:14.954 623 716 E InputDispatcher: channel '9979d3b im.vector.app/im.vector.app.features.login.LoginActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
12-25 15:59:14.954 623 850 I WindowManager: WIN DEATH: Window{9979d3b u0 im.vector.app/im.vector.app.features.login.LoginActivity}
12-25 15:59:14.955 623 850 W InputDispatcher: Attempted to unregister already unregistered input channel '9979d3b im.vector.app/im.vector.app.features.login.LoginActivity (server)'
12-25 15:59:14.958 623 642 W libprocessgroup: kill(-10070, 9) failed: No such process
12-25 15:59:14.959 623 642 I libprocessgroup: Successfully killed process cgroup uid 10139 pid 10070 in 10ms
12-25 15:59:14.964 296 296 I Zygote : Process 10070 exited due to signal (9)
12-25 15:59:14.998 327 451 W SurfaceFlinger: Attempting to set client state on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:14.998 327 451 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=15#0
12-25 15:59:14.998 327 451 W SurfaceFlinger: Attempting to destroy on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:14.998 327 451 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=15#0
12-25 15:59:15.015 623 1245 W ActivityManager: Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://com.android.launcher3:10027?v=7&cv=9 pkg=com.google.android.googlequicksearchbox } U=0: not found
12-25 15:59:15.016 623 647 W ActivityManager: setHasOverlayUi called on unknown pid: 10070
12-25 15:59:15.029 1409 1542 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:15.031 1409 1542 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:15.076 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: Task=15#0
12-25 15:59:16.459 623 1405 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=im.vector.app/.features.Alias bnds=[528,723][697,920]} from uid 10027
12-25 15:59:16.623 623 641 I ActivityManager: Start proc 10270:im.vector.app/u0a139 for activity im.vector.app/.features.Alias
12-25 15:59:16.780 10270 10270 I MultiDex: VM with version 2.1.0 has multidex support
12-25 15:59:16.780 10270 10270 I MultiDex: Installing application
12-25 15:59:16.780 10270 10270 I MultiDex: VM has multidex support, MultiDex support library is disabled.
12-25 15:59:16.876 370 370 I keystore: 1 0
12-25 15:59:17.018 370 370 I chatty : uid=1017(keystore) /system/bin/keystore identical 7 lines
12-25 15:59:17.065 370 370 I keystore: 1 0
12-25 15:59:17.153 10270 10270 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
12-25 15:59:17.196 10270 10283 D BluetoothHeadset: Proxy object connected
12-25 15:59:17.303 10270 10270 W im.vector.app: Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, linking)
12-25 15:59:17.304 10270 10270 W im.vector.app: Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, linking)
12-25 15:59:17.328 10270 10270 W im.vector.app: Accessing hidden method Landroid/content/res/Resources$Theme;->rebase()V (dark greylist, reflection)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: Failed to retrieve rebase() method
12-25 15:59:17.329 10270 10270 I ResourcesCompat: java.lang.NoSuchMethodException: rebase []
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at java.lang.Class.getMethod(Class.java:2068)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at java.lang.Class.getDeclaredMethod(Class.java:2047)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at androidx.appcompat.app.AppCompatDelegateImpl.attachBaseContext2(AppCompatDelegateImpl.java:79)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at androidx.appcompat.app.AppCompatActivity.attachBaseContext(AppCompatActivity.java:1)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at im.vector.app.core.platform.VectorBaseActivity.attachBaseContext(VectorBaseActivity.kt:2)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.Activity.attach(Activity.java:7060)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2911)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.os.Handler.dispatchMessage(Handler.java:106)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.os.Looper.loop(Looper.java:193)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at android.app.ActivityThread.main(ActivityThread.java:6718)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at java.lang.reflect.Method.invoke(Native Method)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-25 15:59:17.329 10270 10270 I ResourcesCompat: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-25 15:59:17.364 623 4219 I ActivityManager: START u0 {cmp=im.vector.app/.features.login.LoginActivity (has extras)} from uid 10139
12-25 15:59:17.407 327 451 D SurfaceFlinger: duplicate layer name: changing Splash Screen im.vector.app to Splash Screen im.vector.app#1
12-25 15:59:17.461 10270 10270 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6bf596b
12-25 15:59:17.662 10270 10270 D OpenGLRenderer: Skia GL Pipeline
12-25 15:59:17.739 10270 10319 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I741a3d36ca)
12-25 15:59:17.739 10270 10319 I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00
12-25 15:59:17.739 10270 10319 I Adreno-EGL: Build Date: 04/04/16 Mon
12-25 15:59:17.739 10270 10319 I Adreno-EGL: Local Branch: mybranch19053788
12-25 15:59:17.739 10270 10319 I Adreno-EGL: Remote Branch: quic/LA.BF.1.1.3_rb1.12
12-25 15:59:17.739 10270 10319 I Adreno-EGL: Local Patches: NONE
12-25 15:59:17.739 10270 10319 I Adreno-EGL: Reconstruct Branch: NOTHING
12-25 15:59:17.756 10270 10319 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-25 15:59:17.756 10270 10319 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-25 15:59:17.756 10270 10319 I OpenGLRenderer: Initialized EGL, version 1.4
12-25 15:59:17.756 10270 10319 D OpenGLRenderer: Swap behavior 1
12-25 15:59:17.766 10270 10319 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:17.778 10270 10319 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:17.780 10270 10319 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:17.857 10270 10319 D vndksupport: Loading /vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
12-25 15:59:17.858 10270 10319 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:17.899 623 638 I ActivityManager: Displayed im.vector.app/.features.login.LoginActivity: +1s422ms
12-25 15:59:17.974 327 715 D SurfaceFlinger: duplicate layer name: changing im.vector.app/im.vector.app.features.login.LoginActivity to im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:17.981 10270 10319 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:17.982 10270 10319 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:18.069 327 1087 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen im.vector.app#1
12-25 15:59:18.069 327 1087 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen im.vector.app#1
12-25 15:59:18.209 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{ee0a19a token=Token{3b9c645 ActivityRecord{ba136bc u0 im.vector.app/.features.Alias t16}}}#0
12-25 15:59:19.434 623 4221 I ActivityManager: START u0 {cmp=im.vector.app/.features.settings.VectorSettingsActivity (has extras)} from uid 10139
12-25 15:59:19.492 10270 10319 D OpenGLRenderer: endAllActiveAnimators on 0x96a9e400 (RippleDrawable) with handle 0x96e7e550
12-25 15:59:19.554 10270 10270 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@1495937
12-25 15:59:19.563 10270 10270 D AndroidRuntime: Shutting down VM
12-25 15:59:19.564 10270 10270 E AndroidRuntime: FATAL EXCEPTION: main
12-25 15:59:19.564 10270 10270 E AndroidRuntime: Process: im.vector.app, PID: 10270
12-25 15:59:19.564 10270 10270 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{im.vector.app/im.vector.app.features.settings.VectorSettingsActivity}: java.lang.IllegalStateException: You should authenticate before using this
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: Caused by: java.lang.IllegalStateException: You should authenticate before using this
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at im.vector.app.core.di.ActiveSessionHolder.getActiveSession(ActiveSessionHolder.kt:2)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at im.vector.app.core.di.DaggerVectorComponent.currentSession(DaggerVectorComponent.java:3)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at im.vector.app.features.settings.VectorSettingsActivity.injectWith(VectorSettingsActivity.kt:2)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at im.vector.app.core.platform.VectorBaseActivity.onCreate(VectorBaseActivity.kt:8)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7144)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7135)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
12-25 15:59:19.564 10270 10270 E AndroidRuntime: ... 11 more
12-25 15:59:19.575 623 4219 W ActivityManager: Force finishing activity im.vector.app/.features.settings.VectorSettingsActivity
12-25 15:59:19.583 623 4219 W ActivityManager: Force finishing activity im.vector.app/.features.login.LoginActivity
12-25 15:59:19.595 623 640 I ActivityManager: Showing crash dialog for package im.vector.app u0
12-25 15:59:19.652 1022 1022 D ServiceStateProvider: subId=1
12-25 15:59:19.670 623 4668 I OpenGLRenderer: Initialized EGL, version 1.4
12-25 15:59:19.670 623 4668 D OpenGLRenderer: Swap behavior 1
12-25 15:59:19.687 327 715 W SurfaceFlinger: Attempting to set client state on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:19.687 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: im.vector.app/im.vector.app.features.login.LoginActivity#1
12-25 15:59:19.688 623 4668 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:19.710 623 4668 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:19.711 623 4668 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:19.795 623 640 W Looper : Slow dispatch took 116ms android.ui h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver@86f534e m=0
12-25 15:59:20.079 623 639 W ActivityManager: Activity pause timeout for ActivityRecord{9592bba u0 im.vector.app/.features.settings.VectorSettingsActivity t17 f}
12-25 15:59:20.130 623 1406 W ActivityManager: Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://com.android.launcher3:10027?v=7&cv=9 pkg=com.google.android.googlequicksearchbox } U=0: not found
12-25 15:59:20.148 1409 1542 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
12-25 15:59:20.149 1409 1542 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8226.so from current namespace instead of sphal namespace.
12-25 15:59:21.171 623 640 D AutofillManager: No AutofillClient for android on context android.app.ContextImpl@6a7eeaa
12-25 15:59:21.320 623 4219 W ActivityManager: Force finishing activity im.vector.app/.features.settings.VectorSettingsActivity
12-25 15:59:21.340 623 4219 W ActivityManager: Force finishing activity im.vector.app/.features.login.LoginActivity
12-25 15:59:21.363 623 4668 D OpenGLRenderer: endAllActiveAnimators on 0x95807980 (RippleDrawable) with handle 0x930e3400
12-25 15:59:21.397 623 4219 I ActivityManager: Killing 10270:im.vector.app/u0a139 (adj 900): crash
12-25 15:59:21.405 623 642 W libprocessgroup: kill(-10270, 9) failed: No such process
12-25 15:59:21.424 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{5915d20 token=Token{b6dc423 ActivityRecord{91d2952 u0 im.vector.app/.features.login.LoginActivity t17}}}#0
12-25 15:59:21.425 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: a40c214 im.vector.app/im.vector.app.features.login.LoginActivity#0
12-25 15:59:21.425 327 715 W SurfaceFlinger: Attempting to destroy on removed layer: Task=17#0
12-25 15:59:21.447 623 640 W Looper : Slow dispatch took 128ms android.ui h=com.android.server.am.AppErrorDialog$1 c=null m=1
12-25 15:59:21.449 623 642 W libprocessgroup: kill(-10270, 9) failed: No such process
12-25 15:59:21.467 623 647 W ActivityManager: setHasOverlayUi called on unknown pid: 10270
12-25 15:59:21.494 623 642 W libprocessgroup: kill(-10270, 9) failed: No such process
12-25 15:59:21.494 296 296 I Zygote : Process 10270 exited due to signal (9)
12-25 15:59:21.494 623 642 I libprocessgroup: Successfully killed process cgroup uid 10139 pid 10270 in 89ms
12-25 15:59:21.562 327 451 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - mAboveAppWindowsContainers#0
12-25 15:59:21.562 327 451 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - mAboveAppWindowsContainers#0
12-25 15:59:21.575 623 691 E AppOps : Operation not started: uid=1000 pkg=android op=SYSTEM_ALERT_WINDOW
12-25 15:59:21.606 327 1295 W SurfaceFlinger: Attempting to destroy on removed layer: 1ca6772 Application Error: im.vector.app#0
I just reproduced this crash by simply clean-installing the app, shaking my device and then selecting settings in the dialog. As the logcat indicates, the settings fragment cannot be accessed without authentication. Some possible approaches to solve this issue:
Thanks for pointing this out!
From my naive point of view it would also make sense to simply disable rageshake by default, at least until the user is authenticated. This would (as the first suggestion by @erikhuizinga) allow me (and other people experiencing sensor failure) to use the app.
Overall, I would absolutely not call rageshake an anti-feature (as might others #2576). But it probably should not complicate things like this.
Still happening for me. I'm using my Cosmo Communicator on a fresh install of the app. I can't disable the rageshake feature, nor go to settings without it crashing. I've disabled haptic feedback in the hopes that would fix it; no joy. I've also rebooted my phone several times.
Anything I can do? Logs might not be possible at the moment.
For my sensor-failing phone I have indeed found an (actually obvious) "workaround" by accident: Rotating the phone in a different position, the rageshake is not triggered. This allowed me to enter my credentials while holding the phone upside down and then disabling the feature.
Another "possibility" is of course to simply use another app. SchildiChat (as a fork of Element) appears to me to have all features of Element but with a more traditional interface (which I actually find more intuitive than the original). But most importantly for the topic discussed here, it has rageshake disabled.
Hope this helps until the problem is finally solved.
Since I'm affected by #3897 I had to reinstall the app from the CI and caught this bug, so can confirm. Shaking furiously and rotating the device until the dialog stopped popping up helped.
May be disabling rageshake straight from the dialogue could be considered as an alternative to disabling it by default for non-authenticated users?
Not sure since when (because I do not use the app very often anymore) but with the possibility to deactivate rageshakes in the welcome screen directly, this issue can be closed (though it would of course be ideal if Element was able to also detect and handle the sensor failure of my phone automatically). Thank you!
Describe the bug
Directly when opening the app, I get the message "shaking your phone in frustration" (which I am not doing at all) allowing to send a bug report. Sending the report works (and I have done it some time ago). Choosing the "no"-option, closes the message but immediately reopens it. Choosing the "Settings"-Option crashes the app.
Expected behavior
Normally starting the app without any messages.
Smartphone
Additional context
App version and store: [1.0.11 / F-Droid] (problem has been the same for all previous versions of Element)
There have been some hints in the past that at least one of the sensors of the phone does not work properly. However, other apps seem to be able to detect and compensate for that. It would be nice if Element could do so, too, because currently I am simply not able to use the app.