FS#76351 - [readline] 8.2.0-1 causes bash coredump when invalid locale

Attached to Project: Arch Linux
Opened by Toolybird (Toolybird) - Sunday, 30 October 2022, 20:39 GMT
Last edited by Toolybird (Toolybird) - Monday, 31 October 2022, 22:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Felix Yan (felixonmars)
Levente Polyak (anthraxx)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


There seems to be multiple reports [1][2][3] around the place where bash is crashing upon login. Having a misconfigured locale appears to be the cause. Nevertheless, an upstream patch [4] is available to solve the issue.

[1] https://old.reddit.com/r/archlinux/comments/yhfqoi/warning_program_binbash_crashed/
[2] https://bbs.archlinux.org/viewtopic.php?id=280847
[3] https://bbs.archlinux.org/viewtopic.php?id=280850
[4] https://git.savannah.gnu.org/cgit/readline.git/commit/?id=7274faabe97ce53d6b464272d7e6ab6c1392837b

This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 31 October 2022, 22:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  readline 8.2.001-1
Comment by Felix Yan (felixonmars) - Sunday, 30 October 2022, 21:57 GMT
Please try readline 8.2.001-1 in [testing].
Comment by Toolybird (Toolybird) - Monday, 31 October 2022, 06:14 GMT
LGTM. Thanks!

Will leave ticket open until it hits [core] (for some visibility).
Comment by Stefan Kain (stkain) - Monday, 31 October 2022, 06:24 GMT

temporary "fix" until the new version hits [core]
is to downgrade back to readline 8.1.002-1

Comment by znerk (znerk) - Monday, 31 October 2022, 15:49 GMT
any estimate when this will be published/done testing? I want to update using discover in KDE as neither bash nor konsole is working.
Comment by znerk (znerk) - Monday, 31 October 2022, 15:50 GMT
and could you also advise how to fix the locale? I followed the installation guide and have both ran # locale-gen and set the locale in /etc/locale.conf

I have not set the keyboard console layout. Thought one didn't have to?
Comment by Doug Newgard (Scimmia) - Monday, 31 October 2022, 19:02 GMT
KDE likes to screw up locales. See the KDE wiki page.
Comment by znerk (znerk) - Monday, 31 October 2022, 20:17 GMT
you mean 6.3.3 Doug?