Unlocking fails randomly after a while
What problem did you encounter
I noticed that after a while, Phosh randomly fails to unlock. This happens rarely and is difficult to reproduce, however, I managed to get the logs:
(phosh:2986): phosh-lockscreen-manager-CRITICAL **: 07:37:08.147: lockscreen_unlock_cb: assertion 'lockscreen == PHOSH_LOCKSCREEN (self->lockscreen)' failed
Only this is logged when trying to unlock when the bug appears.
What is the current behaviour?
Sometimes you cannot unlock the lockscreen, even with the right PIN entered.
What is the expected behaviour?
Unlock always works
How to reproduce
- Use the device
- Sleep/resume
- Randomly, the lockscreen cannot be unlocked anymore
Which version did you encounter the bug in?
-
I Compiled it myself. If you compiled phosh from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below. -
I used the precompiled Debian package (e.g. by running a prebuilt image). Please paste the output oof dpkg -s phosh
below.
Phosh Version: 0.6.0
What hardware are you running phosh on?
-
amd64 qemu image -
Librem5 devkit -
nested compositor. If so please give the full command you start phosh with. -
other: PinePhone pmOS 3GB with pmOS edge.
Releveant logfiles
(phosh:2986): phosh-lockscreen-manager-CRITICAL **: 07:37:08.147: lockscreen_unlock_cb: assertion 'lockscreen == PHOSH_LOCKSCREEN (self->lockscreen)' failed