Bug 2070823 - Anaconda crashed on signal 11 - keyboard layout encryption password prompt
Summary: Anaconda crashed on signal 11 - keyboard layout encryption password prompt
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 36
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F37BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2022-04-01 05:22 UTC by Douglas
Modified: 2022-08-15 15:58 UTC (History)
11 users (show)

Fixed In Version: anaconda-37.12-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-15 15:56:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journalctl log (1.68 MB, text/plain)
2022-04-01 05:22 UTC, Douglas
no flags Details
A small fragment copied from the journalctl log showing the exact moment of the crash (4.06 KB, text/plain)
2022-04-01 05:32 UTC, Douglas
no flags Details
anaconda log (35.21 KB, text/plain)
2022-04-01 05:37 UTC, Douglas
no flags Details
dmesg (84.37 KB, text/plain)
2022-04-01 05:46 UTC, Douglas
no flags Details

Description Douglas 2022-04-01 05:22:39 UTC
Created attachment 1869847 [details]
journalctl log

Created attachment 1869847 [details]
journalctl log

Description of problem:
On the popup window where you set a LUKS decryption password, there is a keyboard layout switch. Clicking it a couple of times makes Anaconda crash.

Version-Release number of selected component (if applicable):
36.16.2

How reproducible:
Always

Steps to Reproduce:
1. Boot the F36 installer and start Anaconda.
2. Through the settings app, add a new keyboard layout and move it to the top of the list. I use Portuguese (Brazil).
3. Perform an encrypted installation using the default/autogenerated partitioning scheme. Get to the step where you set the decryption password.

Comment 1 Douglas 2022-04-01 05:32:38 UTC
Created attachment 1869848 [details]
A small fragment copied from the journalctl log showing the exact moment of the crash

This is, I believe, the exact moment of the crash.

In the live system I have two keyboard layouts available: 'en' and 'pt'. My keyboard physically matches the 'pt' layout.

So, the keyboard layout switch near the decryption password input displays 'EN' by default. When I click it, I expect it to change to 'PT', but instead it shows an empty label.

Anaconda crashes a few seconds after you reproduce this glitch.

Comment 2 Douglas 2022-04-01 05:37:08 UTC
Created attachment 1869849 [details]
anaconda log

Comment 3 Douglas 2022-04-01 05:44:09 UTC
The anaconda core log (~800 MB) is here: https://drive.google.com/drive/folders/1rAwNeKJueiqV7yOuUyv26wv9fIQpJwNc?usp=sharing

Comment 4 Douglas 2022-04-01 05:46:29 UTC
Created attachment 1869851 [details]
dmesg

Comment 5 Douglas 2022-04-05 19:20:33 UTC
Here's a workaround.

1. In the settings app, add another language (e.g. Portuguese Brazil) and remove the default (English US) from the list, so now you only have one keyboard layout available to choose from.
2. Start Anaconda and get to the part where you set the decryption password. This time it will no longer crash when you press the keyboard layout switch.

However, the switch will still have "EN" as its default state. If you press the switch once, it changes to an empty label (null). Leave it null, and you will get the expected keyboard layout when decrypting your disk.

Comment 6 Kamil Páral 2022-05-11 07:04:08 UTC
Sigh, I can reproduce. Proposing as a blocker for F37.

Comment 7 Jiri Konecny 2022-05-11 14:54:11 UTC
Sorry, we missed this bug before I will take a look on this to have it fixed on F37.

Comment 8 Adam Williamson 2022-06-27 15:50:41 UTC
Any news?

Comment 9 Vendula Poncova 2022-07-26 11:43:21 UTC
Fixed in https://github.com/rhinstaller/anaconda/pull/4237.

Comment 10 Adam Williamson 2022-07-26 21:34:25 UTC
Awesome, thanks.

Comment 11 Adam Williamson 2022-08-02 23:38:38 UTC
37.12-1 was built today, so fix for this should be in tomorrow's compose if someone can confirm. Thanks!

Comment 12 Adam Williamson 2022-08-08 19:21:35 UTC
I tried to confirm the fix for this myself but couldn't reproduce the bug with a mid-July netinst image. Can someone who *can* reproduce the bug please confirm the fix? Thanks.

Comment 13 Vendula Poncova 2022-08-09 13:24:03 UTC
Hi Adam, the bug should be reproducible with the Fedora Workstation Live ISO.

Comment 14 Adam Williamson 2022-08-09 15:26:25 UTC
Ah, OK, think I was testing on a netinst. I'll try again.

Comment 15 Kamil Páral 2022-08-15 15:56:39 UTC
Tested with Fedora-Workstation-Live-x86_64-37-20220814.n.0.iso. The language switcher is no longer displayed when choosing the disk encryption passphrase, so there's nothing to click on, and therefore it doesn't crash. That seems to work as intended. I think we can close this.


Note You need to log in before you can comment on or make changes to this bug.