Bug#174269: glibc: sigsegv on call to getprotobyname
Package: glibc
Version: unavailable; reported 2002-12-25
Severity: normal
Tags: sid
The problem reported for 2.3.1-7 is still present in 2.3.1-8, both in the
official binary package of libc6 and my 2.4-kernel build:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2549)]
_dl_catch_error (objname=0x40409c7c, errstring=0x40409c80, operate=0x4015d27e <do_dlsym>, args=0x40409c94)
at dl-error.c:157
157 old = *catchp;
(gdb) bt
#0 _dl_catch_error (objname=0x40409c7c, errstring=0x40409c80, operate=0x4015d27e <do_dlsym>, args=0x40409c94)
at dl-error.c:157
#1 0x4015d221 in dlerror_run (operate=0x4015d27e <do_dlsym>, args=0x40409b5c) at dl-libc.c:42
#2 0x4015d34d in __libc_dlsym (map=0x405ffd80, name=0x405ffd80 <Address 0x405ffd80 out of bounds>) at dl-libc.c:118
#3 0x40142222 in __nss_lookup_function (ni=0x84a1be0, fct_name=0x4017599e "getprotobyname_r") at nsswitch.c:379
#4 0x40141d95 in __nss_lookup (ni=0x40409d78, fct_name=0x4017599e "getprotobyname_r", fctp=0x40409d7c) at nsswitch.c:148
#5 0x401437c3 in *__GI___nss_protocols_lookup (ni=0x40409d78, fct_name=0x4017599e "getprotobyname_r", fctp=0x40409d7c)
at XXX-lookup.c:73
#6 0x401464a8 in __getprotobyname_r (name=0x84d4198 "tcp", resbuf=0x40180884, buffer=0x84c0210 "", buflen=1024,
result=0x40409b5c) at ../nss/getXXbyYY_r.c:183
#7 0x40146423 in getprotobyname (name=0x84d4198 "tcp") at ../nss/getXXbyYY.c:144
2.3.1-5 build for 2.4 and a (non-debian) 2.3.1 from cvs work.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cerebro 2.4.20-ac2 #2 SMP Mon Dec 16 13:15:59 CET 2002 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro
Reply to: