GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
347 stars 19 forks source link

P9PXL stuck between users #3946

Open DifferentWaste opened 1 week ago

DifferentWaste commented 1 week ago

Build 2024083100 Succesfully Created new user. When switching back to owner profile, phone screen showed owner loading screen for approx. 20 seconds. No response to power button. Phone eventually restarted, not clear if from power button or on its own.

system_server crash 33da111738d7.txt

type: crash
SystemUptimeMs: 2010704
Process: system_server
Build: google/komodo/komodo:14/AD1A.240530.047/2024083100:user/release-keys
Crash-Handler: com.android.internal.os.RuntimeInit$KillApplicationHandler
Loading-Progress: 1.0
Dropped-Count: 0

java.util.concurrent.TimeoutException: android.window.WindowContext.finalize() timed out after 10 seconds
    at com.android.server.wm.WindowManagerService.detachWindowContext(WindowManagerService.java:2929)
    at android.window.WindowTokenClientController.detachIfNeeded(WindowTokenClientController.java:178)
    at android.window.WindowContextController.detachIfNeeded(WindowContextController.java:153)
    at android.window.WindowContext.release(WindowContext.java:114)
    at android.window.WindowContext.finalize(WindowContext.java:107)
    at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:362)
    at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:342)
    at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:314)
    at java.lang.Daemons$Daemon.run(Daemons.java:131)
    at java.lang.Thread.run(Thread.java:1012)
thestinger commented 1 week ago

Try adding a lock method to the secondary user if you don't have one. Having no lock method is known to sometimes cause issues when switching.

DifferentWaste commented 1 week ago

Will do.

DifferentWaste commented 1 week ago

Added screen lock and successfully switched profiles with no issues so far.

Xaddek commented 1 day ago

With "lock methode" you mean the setting that requires a pin before accessing the profile? Because my crash happend with a profile that has a pin.