This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Glibc 2.12 segfaults under certain conditions
- From: Daniele Stanzani <daniele dot stanzani at fcp dot it>
- To: libc-help at sourceware dot org
- Date: Wed, 18 Aug 2010 13:43:19 +0200
- Subject: Glibc 2.12 segfaults under certain conditions
Hi all,
I need help to understand whether report or not this bug to my
distribution bug tracker or the glibc one.
My distribution in Arch linux;
This is my architecture:
Linux 2.6.34-ARCH #1 SMP PREEMPT Wed Aug 11 00:23:15 CEST 2010 x86_64
AMD Phenom(tm) II X4 920 Processor AuthenticAMD GNU/Linux
The issue i've found is when you have such /etc/nsswitch.conf under
certain circumstances (please note the winbind and wins keywords)
# Begin /etc/nsswitch.conf
passwd: files compat winbind
group: files compat winbind
shadow: files
publickey: files
hosts: files dns wins
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
When I have the samba deamons stopped, some application crashes, for
example /usr/bin/passwd and /usr/bin/xterm:
xterm[5722]: segfault at 7fffd6a2d7bf ip 00007f46abf6a068 sp
00007fffd6a21e80 error 6 in libnss_files-2.12.1.so[7f46abf64000+c000]
passwd[14613]: segfault at 7fff7e587cff ip 00007f9db47a1068 sp
00007fff7e5823d0 error 6 in libnss_files-2.12.1.so[7f9db479b000+c000]
A generated backtrace for the second row:
(gdb) backtrace
#0 0x00007f83eff66068 in ?? () from /lib/libnss_files.so.2
#1 0x00007f83eff66531 in _nss_files_getpwuid_r ()
from /lib/libnss_files.so.2
#2 0x00007f83f0837ebd in getpwuid_r () from /lib/libc.so.6
#3 0x00007f83f083a26a in ?? () from /lib/libc.so.6
#4 0x00007f83f0839f45 in getlogin () from /lib/libc.so.6
#5 0x0000000000403513 in ?? ()
#6 0x00000000004024bd in ?? ()
#7 0x00007f83f07b7c4d in __libc_start_main () from /lib/libc.so.6
#8 0x00000000004018d9 in ?? ()
#9 0x00007fff744fa328 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007fff744fa8fe in ?? ()
#13 0x0000000000000000 in ?? ()
Should I report this issue to my distribution or to the glibc bugzilla?
Thanks
--
Daniele Stanzani <daniele.stanzani@fcp.it>
Franco Cosimo Panini Editore S.p.A.