http://bugzilla.novell.com/show_bug.cgi?id=598158
http://bugzilla.novell.com/show_bug.cgi?id=598158#c0
Summary: Crash in glibc in openSUSE:Factory as well as in
openSUSE:11.1
Classification: openSUSE
Product: openSUSE 11.3
Version: Factory
Platform: i586
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: pbaudis@novell.com
ReportedBy: werner@novell.com
QAContact: qa@suse.de
CC: coolo@novell.com, ro@novell.com
Found By: Development
Blocker: No
Simply use tcsh and type in
source /etc/profile.d/complete.tcsh
finger rm<TAB>
and you'll see a crash of the tcsh but *within* the libc:
boole:tcsh-6.17.00 # gdb --args ./tcsh
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 27, in <module>
ImportError: No module named os.path
GNU gdb (GDB) SUSE (7.1-1.1)
Copyright (C) 2010 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 "i586-suse-linux".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/src/packages/BUILD/tcsh-6.17.00/tcsh...done.
(gdb) run
Starting program: /usr/src/packages/BUILD/tcsh-6.17.00/tcsh
Missing separate debuginfo for /lib/libncurses.so.5
Try: zypper install -C
"debuginfo(build-id)=c4b62dfe1b7016ae71c23ff3ff6f7452fe24aab6"
Detaching after fork from child process 25549.
Detaching after fork from child process 25551.
boole BUILD/tcsh-6.17.00# source complete.tcsh
Detaching after fork from child process 25570.
Detaching after fork from child process 25575.
Detaching after fork from child process 25576.
boole BUILD/tcsh-6.17.00# finger rm
Program received signal SIGSEGV, Segmentation fault.
0xb7e65a2d in __libc_free (mem=0x829b708) at malloc.c:3736
3736 (void)mutex_lock(&ar_ptr->mutex);
(gdb) up
#1 0xb7dcef58 in init () at nss-default.c:113
113 free (line);
(gdb) print line
$1 = 0x829b708 "#SPLIT_GROUPS=TRUE\n"
(gdb) up
#2 0xb7dcf08a in _nsl_default_nss () at nss-default.c:125
125 __libc_once (once, init);
(gdb) up
#3 0xb7db7d6d in _nss_nis_setpwent (stayopen=0) at nss_nis/nis-pwd.c:180
180 if (_nsl_default_nss () & NSS_FLAG_SETENT_BATCH_READ)
(gdb) up
#4 0xb7ddb183 in internal_setpwent (ent=0xb7de10c0, stayopen=0, needent=1) at
nss_compat/compat-pwd.c:288
288 ent->setent_status = nss_setpwent (stayopen);
(gdb) up
#5 0xb7ddc5fe in _nss_compat_setpwent (stayopen=0) at
nss_compat/compat-pwd.c:304
304 result = internal_setpwent (&ext_ent, stayopen, 1);
(gdb) up
#6 0xb7ed82b7 in __nss_setent (func_name=0xb7f1d7b0 "setpwent",
lookup_fct=0xb7ed90d0 <__nss_passwd_lookup2>, nip=0xb7f5ac48,
startp=0xb7f5ac4c,
last_nip=0xb7f5ac50, stayopen=0, stayopen_tmp=0x0, res=0) at
getnssent_r.c:81
81 status = DL_CALL_FCT (fct.f, (0));
(gdb) up
#7 0xb7e8d1fd in setpwent () at ../nss/getXXent_r.c:127
127 __nss_setent (SETFUNC_NAME_STRING, DB_LOOKUP_FCT, &nip, &startp,
(gdb) up
#8 0x0806fc69 in tw_collect (command=RECOGNIZE, looking=7, exp_dir=0xbfffe978,
exp_name=0xbfffe960, target=0x80e4e28 L"rm", pat=0x80a535c L"",
flags=64, dir_fd=0x0) at tw.parse.c:1322
1322 (*tw_start_entry[looking])(dir_fd, pat);
(gdb)
..
and it seems that the crash has nothing todo with the tcsh its self but
with the setpwent(3) function.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.