[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test-getlogin_r segfaults with glibc 2.12
From: |
Richard W.M. Jones |
Subject: |
test-getlogin_r segfaults with glibc 2.12 |
Date: |
Wed, 5 May 2010 16:35:49 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
$ EXEEXT='' srcdir='.' LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8'
LOCALE_JA='ja_JP' LOCALE_ZH_CN='zh_CN.GB18030' LOCALE_FR_UTF8='fr_FR.UTF-8'
LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_JA='ja_JP'
LOCALE_ZH_CN='zh_CN.GB18030' gdb --args ./test-getlogin_r
GNU gdb (GDB) Fedora (7.0-8.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/rjones/d/libguestfs-symlinks/daemon/tests/test-getlogin_r...done.
(gdb) run
Starting program:
/home/rjones/d/libguestfs-symlinks/daemon/tests/test-getlogin_r
warning: the debug information found in
"/usr/lib/debug//lib64/libselinux.so.1.debug" does not match
"/lib64/libselinux.so.1" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug/lib64/libselinux.so.1.debug" does not match
"/lib64/libselinux.so.1" (CRC mismatch).
warning: Unable to open "librpm.so.0" (librpm.so.0: cannot open shared object
file: No such file or directory), missing debuginfos notifications will not be
displayed
Missing separate debuginfo for /lib64/libselinux.so.1
Try: yum --enablerepo='*-debuginfo' install
/usr/lib/debug/.build-id/4c/4b1ca2393197e6658f351112ec2ea2f32f9ced.debug
Missing separate debuginfo for /usr/lib64/libaugeas.so.0
Try: yum --enablerepo='*-debuginfo' install
/usr/lib/debug/.build-id/e7/0f89cc8a352c8b209dc809fe2b38905bc0cabd.debug
Missing separate debuginfo for /usr/lib64/libfa.so.1
Try: yum --enablerepo='*-debuginfo' install
/usr/lib/debug/.build-id/f9/a30854413577b7b15c216c1db96da99a271bb7.debug
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ae77fe in __strncpy_sse2 (s1=<value optimized out>,
s2=<value optimized out>, n=<value optimized out>) at ./strncpy.c:83
83 *++s1 = '\0';
(gdb) bt
#0 0x00007ffff7ae77fe in __strncpy_sse2 (s1=<value optimized out>,
s2=<value optimized out>, n=<value optimized out>) at ./strncpy.c:83
#1 0x00007ffff7b071d2 in __getlogin_r_loginuid (name=0x7fffffffda90 "rjones",
namesize=0) at ../sysdeps/unix/sysv/linux/getlogin_r.c:84
#2 0x00007ffff7b07299 in getlogin_r (name=0x7fffffffda90 "rjones", namesize=0)
at ../sysdeps/unix/sysv/linux/getlogin_r.c:103
#3 0x0000000000400948 in getlogin_r (__buflen=<value optimized out>,
__buf=<value optimized out>) at /usr/include/bits/unistd.h:323
#4 main (__buflen=<value optimized out>, __buf=<value optimized out>)
at test-getlogin_r.c:76
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
- test-getlogin_r segfaults with glibc 2.12,
Richard W.M. Jones <=