Frequent crashing on boot immediately after login keyring prompt
Affected version
I have been encountering this issue ever since I upgraded to Fedora Silverblue 34 with GNOME 40.
Specifically, I have used Fedora Silverblue 34.20210719.0
as well as Fedora Silverblue 34.202107.24.0
, both of which are running gnome-shell 40.3-1.fc34.x86_64
.
I am using the modern Wayland session. I haven't tested in XOrg.
Bug summary
I have my computer setup to automatically login with no user password entry. I also use full disk encryption, with the encryption password being required on boot.
Back when I was using Fedora Silverblue 33 with the previous version of GNOME, I would power on my computer, enter my disk encryption password, and then GNOME would start up and automatically log in. I would not be asked for any login keyring password, as this would be unlocked automatically, behind the scenes, using the same password as for disk encryption.
After upgrading to Fedora Silverblue 34 with GNOME 40, things have changed. When I boot up my computer, I enter my disk encryption password, GNOME starts up, and automatically logs in. But then roughly 90% of the time I get a prompt asking me to enter my login keyring password. At this point, I enter my disk encryption password, and it has a roughly 50% chance of accepting it or a 50% chance of saying it's wrong. If it says it's wrong, I then enter my user password and it accepts that instead. But then within a second of accepting it, GNOME crashes entirely and goes to the GDM login screen.
Rarely, it'll automatically login with no issues. Sometimes my user password is accepted on the keyring prompt. Sometimes my disk encryption password is accepted. Either way, it frequently crashes after submitting the login keyring password.
All this basically means I have to go through a number of login attempts and crashes every time I turn on my computer, until it finally works. Usually it's about five crashes until I can get a successful login.
Steps to reproduce
- Boot the computer with disk encryption and automatic login.
- Enter the disk encryption password.
- Enter a login keyring password.
What happened
- Step 3 should not be required, as the login keyring should be unlocked automatically.
- The login keyring seems to vary between requiring the user password or the disk encryption password.
- After accepting a login keyring password, GNOME very frequently crashes.
What did you expect to happen
- I expected step 3 to be unnecessary. The computer should just automatically login and not require any keyring password to be entered.
- If a keyring password is required, for some reason, then the password should be consistent and GNOME should not crash.
Relevant logs, screenshots, screencasts etc.
I have attached three stack traces that I found via GNOME Logs and/or journalctl -b 0
.