FS#38840 - segfault of packages with some locale/LANG settings

Attached to Project: Arch Linux
Opened by Tobias (tobias_) - Saturday, 08 February 2014, 15:02 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 09 February 2014, 10:26 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Some packages segfault with some locale settings. So far I have seen fakeroot and pavucontrol have this behaviour. For me they segfault on de_DE.utf8, while they don't with en_US.utf8 or C.

% env
LANG=de_DE.UTF-8
% gdb pavucontrol
(gdb) run
(gdb) bt

#0 0x00007ffff4e652ca in __collidx_table_lookup () from /usr/lib/libc.so.6
#1 0x00007ffff4edb225 in get_next_seq () from /usr/lib/libc.so.6
#2 0x00007ffff4edbed7 in wcscoll_l () from /usr/lib/libc.so.6
#3 0x00007ffff5dde3f7 in g_utf8_collate () from /usr/lib/libglib-2.0.so.0
#4 0x0000000000424328 in ?? ()
#5 0x00007ffff59324b2 in ?? () from /usr/lib/libpulse.so.0
#6 0x00007ffff14eb93e in ?? () from /usr/lib/pulseaudio/libpulsecommon-4.0.so
#7 0x00007ffff14ebcbb in pa_pdispatch_run () from /usr/lib/pulseaudio/libpulsecommon-4.0.so
#8 0x00007ffff5927b32 in ?? () from /usr/lib/libpulse.so.0
#9 0x00007ffff14efc45 in ?? () from /usr/lib/pulseaudio/libpulsecommon-4.0.so
#10 0x00007ffff5b64b37 in ?? () from /usr/lib/libpulse-mainloop-glib.so.0
#11 0x00007ffff5db0296 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0x00007ffff5db05e8 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00007ffff5db09ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff6459725 in gtk_main () from /usr/lib/libgtk-3.so.0
#15 0x00007ffff7a0273d in Gtk::Main::run(Gtk::Window&) () from /usr/lib/libgtkmm-3.0.so.1
#16 0x000000000040f02e in ?? ()
#17 0x00007ffff4e58b05 in __libc_start_main () from /usr/lib/libc.so.6
#18 0x000000000040f319 in ?? ()

This also came up here: https://bbs.archlinux.org/viewtopic.php?id=175847
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 09 February 2014, 10:26 GMT
Reason for closing:  Not a bug
Comment by Tobias (tobias_) - Saturday, 08 February 2014, 23:55 GMT
I found the source of the issue: I did not generate locales with locale-gen for de-DE.UTF-8 :(
I'm not sure if segfaulting applications is a wanted or buggy behaviour then…

Loading...