[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1040452: libc6: upgrading libc6 to version 2.37-3 break almost every program (especially in a shell)



Package: libc6
Version: 2.37-3
Severity: important

Dear maintainers,
I've just upgraded to libc6 2.37-3 and now I have an almost broken system. But broken in a very weird way: the graphical user interface (KDE Plasma) is coming up, I can start big programs like Firefox, Thunderbird, etc., but as soon as I go to a shell — it doesn't matter if I'm inside or outside the graphical session, ie. tty2 vs. tty3 — I can execute almost no program. ldd works, surprisingly gdb works as well, but eg. man or apt-get or perl do not. They all end with

$ man apt-get
Segmentation fault (core dumped)

Since gdb is working, I got a backtrace, even though that is not that helpful, I fear.

$ gdb --args man apt-get
GNU gdb (Debian 13.2-1) 13.2
[...]
Reading symbols from man...
(No debugging symbols found in man)
(gdb) r
Starting program: /usr/bin/man apt-get
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffa2b4f8f36 in towlower () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x00007ffa2b4f8f36 in towlower () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007ffa2b4c6d49 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00007ffa2b4c826d in fnmatch () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3  0x0000561538c0ca49 in ?? ()
No symbol table info available.
#4  0x0000561538c0d042 in ?? ()
No symbol table info available.
#5  0x0000561538c1018c in ?? ()
No symbol table info available.
#6  0x0000561538c1329b in ?? ()
No symbol table info available.
#7  0x0000561538c0b786 in ?? ()
No symbol table info available.
#8  0x00007ffa2b4136ca in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#9 0x00007ffa2b413785 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#10 0x0000561538c0bca1 in ?? ()
No symbol table info available.
(gdb) info registers
rax            0x7ffa2b084e98      140712440516248
rbx            0x7ffca64594a0      140723098064032
rcx            0x7ffa2b084e98      140712440516248
rdx            0x30                48
rsi            0x2010201           33620481
rdi            0x61                97
rbp            0x10                0x10
rsp            0x7ffca6456748      0x7ffca6456748
r8             0x10                16
r9             0x0                 0
r10            0x7ffca6458e70      140723098062448
r11            0x7ffca64594a0      140723098064032
r12            0x7ffca6459090      140723098062992
r13            0x61                97
r14            0x10                16
r15            0x7ffca6459094      140723098062996
rip            0x7ffa2b4f8f36      0x7ffa2b4f8f36 <towlower+70>
eflags         0x10246             [ PF ZF IF RF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0

Perl was failing with a call to towupper().

The KDE session is also incomplete, eg. audio devices are no longer found.

During the update I saw errors towards the end (post-install scripts) for libc6 (and some others, which should not matter here). Ie. the post-install script could not be executed with the core dumped/segmentation fault.

It also doesn't matter what shell I use, I've tried bash and dash.

This might be related to #1040140

reportbug is not working either, so you have to do without the automatically generated system information, but I do try to reproduce it here as close as I can.

Now I will try to downgrade my system and get it fully functional again.

Cheers,
Kai


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.3.7-1 (2023-06-12) x86_64 GNU/Linux
Locale: LANG=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)


Reply to: