- Edited
Hello, I have been facing an issue for a few weeks: when I click on the icon to launch some applications, the application opens up and then sterminates immediately, returning me to the main screen of GrapheneOS. However, if I click on the application again, it works perfectly fine.
There is no error message. I checked the logs but did not observe anything obvious (I am not an expert). It is very intermittent—not often enough to be a real issue, but frequent enough to be a bit irritating—maybe 3-4 times a day. This issue is happening only with a subset of applications, such as WhatsApp, Proton Mail, Proton Drive, or Aegis. There is no particular pattern.
If it were caused by MTE or some security features, I would expect a popup with a crash report, but there is nothing. "Notify about system process crashes" is activated, as well as "Show notifications about detected errors" in Memory Tagging.
I am wondering if I might have changed some parameters while testing GrapheneOS. I may try a factory reset and full reconfiguration if I don't find a solution.
Are there people on this forum who are facing similar symptoms?
A sample of logs from AEGIS:
--------- switch to events
01-19 18:13:33.369 26523 26523 I wm_on_stop_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
--------- switch to main
01-19 18:15:47.673 26523 26523 I Choreographer: Skipped 4511 frames! The application may be doing too much work on its main thread.
--------- switch to events
01-19 18:15:47.683 26523 26523 I wm_on_restart_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=performRestart,time=0ms]
01-19 18:15:47.728 26523 26523 I wm_on_start_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=handleStartActivity,time=44ms]
01-19 18:15:47.732 26523 26523 I wm_on_resume_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=RESUME_ACTIVITY,time=0ms]
01-19 18:15:47.732 26523 26523 I wm_on_top_resumed_gained_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=topWhenResuming]
01-19 18:15:47.766 26523 26523 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
01-19 18:15:47.880 26523 26523 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
01-19 18:15:47.881 26523 26523 I wm_on_top_resumed_lost_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=topStateChangedWhenResumed]
01-19 18:15:47.883 26523 26523 I wm_on_paused_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=performPause,time=1ms]
--------- switch to main
01-19 18:15:48.927 26523 26523 D VRI[MainActivity]: visibilityChanged oldVisibility=true newVisibility=false
--------- switch to events
01-19 18:15:48.958 26523 26523 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible. Reason=!mAppVisible && !mForceDecorViewVisibility]
--------- switch to main
01-19 18:15:48.959 26523 26523 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=false callback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@6e5c75
--------- switch to events
01-19 18:15:48.985 26523 26523 I wm_on_stop_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=LIFECYCLER_STOP_ACTIVITY,time=1ms]
--------- switch to main
01-19 18:15:48.988 26523 26523 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=false callback=android.app.Activity$$ExternalSyntheticLambda0@eb110dc
--------- switch to events
01-19 18:15:48.997 26523 26523 I wm_on_destroy_called: [Token=246813922,Component Name=com.beemdevelopment.aegis.ui.MainActivity,Reason=performDestroy,time=9ms]
--------- switch to main
01-19 18:15:48.999 26523 26523 D AutofillManager: view not autofillable - not passing ime action check
A sample from Whatsapp:
--------- switch to events
01-20 12:05:12.656 18201 18201 I auditd : avc=type=1400 audit(0.0:8339): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.656 18201 18201 W app_process64: type=1400 audit(0.0:8339): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.668 18201 18201 I auditd : avc=type=1400 audit(0.0:8340): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.668 18201 18201 W app_process64: type=1400 audit(0.0:8340): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.668 18201 18201 I auditd : avc=type=1400 audit(0.0:8341): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.668 18201 18201 W app_process64: type=1400 audit(0.0:8341): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.668 18201 18201 I auditd : avc=type=1400 audit(0.0:8342): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.668 18201 18201 W app_process64: type=1400 audit(0.0:8342): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.668 18201 18201 I auditd : avc=type=1400 audit(0.0:8343): avc: denied { read } for comm="eneos.logviewer" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.668 18201 18201 W eneos.logviewer: type=1400 audit(0.0:8343): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.672 18201 18201 I auditd : avc=type=1400 audit(0.0:8344): avc: denied { read } for comm="eneos.logviewer" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=290 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.672 18201 18201 W eneos.logviewer: type=1400 audit(0.0:8344): avc: denied { read } for name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=290 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.672 18201 18201 I auditd : avc=type=1400 audit(0.0:8345): avc: denied { read } for comm="eneos.logviewer" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.672 18201 18201 W eneos.logviewer: type=1400 audit(0.0:8345): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.676 18201 18201 I auditd : avc=type=1400 audit(0.0:8346): avc: denied { getattr } for comm="eneos.logviewer" path="/apex/apex-info-list.xml" dev="tmpfs" ino=89 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.676 18201 18201 W eneos.logviewer: type=1400 audit(0.0:8346): avc: denied { getattr } for path="/apex/apex-info-list.xml" dev="tmpfs" ino=89 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.752 18201 18201 I auditd : avc=type=1400 audit(0.0:8347): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.752 18201 18201 W main : type=1400 audit(0.0:8347): avc: denied { read } for name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.752 18201 18201 I auditd : avc=type=1400 audit(0.0:8348): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.752 18201 18201 W main : type=1400 audit(0.0:8348): avc: denied { read } for name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.752 18201 18201 I auditd : avc=type=1400 audit(0.0:8349): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.752 18201 18201 W main : type=1400 audit(0.0:8349): avc: denied { read } for name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.752 18201 18201 I auditd : avc=type=1400 audit(0.0:8350): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.752 18201 18201 W main : type=1400 audit(0.0:8350): avc: denied { read } for name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.752 18201 18201 I auditd : avc=type=1400 audit(0.0:8351): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.752 18201 18201 W main : type=1400 audit(0.0:8351): avc: denied { read } for name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=112 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.752 18201 18201 I auditd : avc=type=1400 audit(0.0:8352): avc: denied { read } for comm="main" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.752 18201 18201 W main : type=1400 audit(0.0:8352): avc: denied { read } for name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=385 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.788 18201 18201 I auditd : avc=type=1400 audit(0.0:8353): avc: denied { read } for comm="binder:18201_2" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=314 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.788 18201 18201 W binder:18201_2: type=1400 audit(0.0:8353): avc: denied { read } for name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=314 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to events
01-20 12:05:12.788 18201 18201 I auditd : avc=type=1400 audit(0.0:8354): avc: denied { read } for comm="binder:18201_2" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=314 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.whatsapp
--------- switch to main
01-20 12:05:12.788 18201 18201 W binder:18201_2: type=1400 audit(0.0:8354): avc: denied { read } for name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=314 scontext=u:r:logviewer_app:s0:c52,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.whatsapp