Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38905 - [glibc] many locale-related crashes after update to 2.19-1

Attached to Project: Arch Linux
Opened by stqn (stqn) - Thursday, 13 February 2014, 20:01 GMT
Last edited by Allan McRae (Allan) - Friday, 14 February 2014, 08:18 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After updating to glibc 2.19-1 today, many programs started to crash in locale-related functions. For example:

pacman -Qs test (crashes in towlower())
thunar (crashes in __collidx_table_lookup())
mousepad (crashes in __collidx_table_lookup())

I think I tried rebooting and it didn’t help, but I’m not 100% sure of this.

Downgrading to glibc 2.18-12 and running locale-gen fixed the problems.
The packages I had to downgrade to were:
binutils-2.24-2 [removal] binutils-multilib-2.24-1
gcc-go-multilib-4.8.2-7 gcc-libs-multilib-4.8.2-7
gcc-multilib-4.8.2-7 glibc-2.18-12 lib32-gcc-libs-4.8.2-7
valgrind-3.9.0-1

I’ve seen  FS#38840  that mentions a similar crash caused by not running locale-gen, but in my case locale-gen was run automatically after the update to glibc 2.19-1 and I didn’t change the locale afterwards. I haven’t tried re-running locale-gen manually just after pacman -Syu.

The enabled/generated locales on my system are:
en_GB.UTF-8
en_US.UTF-8
fr_FR.UTF-8

And the current locale:
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

I’ve attached the relevant pacman.log lines for the update that caused the problem.
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 14 February 2014, 08:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.19-2
Comment by stqn (stqn) - Thursday, 13 February 2014, 20:52 GMT
I’ve updated again my system (to glibc 2.19-1) and this time nothing crashes. Still good after a reboot. I don’t know what happened the first time…

Since there *was* a problem the first time, I’m not requesting a closure for this bug report, but obviously feel free to do as you see fit…
Comment by archuser_4573 (archuser_4573) - Friday, 14 February 2014, 00:33 GMT
Comment by Allan McRae (Allan) - Friday, 14 February 2014, 00:45 GMT
Fixed glibc on the way. The parallel generation of locales is a failure... (sometimes)

Loading...