https://bugzilla.novell.com/show_bug.cgi?id=464181
User loose@astron.nl added comment
https://bugzilla.novell.com/show_bug.cgi?id=464181#c2
--- Comment #2 from Marcel Loose 2009-01-22 08:38:03 MST ---
Here's another backtrace and valgrind run, I made after I installed the debug
libraries. They provide a bit more information. Hope this helps.
Command: gdb --args traceroute www.astron.nl
Backtrace:
(gdb) bt full
#0 0x00007ffff7af6c43 in *__GI___libc_free (mem=0x7ffff8359b6f)
at malloc.c:3614
ar_ptr = (struct malloc_state *) 0x7ffff7dd5a00
p = (struct malloc_chunk *) 0x7ffff8000000
hook = <value optimized out>
#1 0x00007ffff7879709 in _nss_nis_gethostbyname4_r (
name=0x7fffffffe34b "www.astron.nl", pat=0x7fffffff2a48,
buffer=0x7fffffff2470 "dop40", buflen=1024, errnop=0x7fffffff2a5c,
herrnop=0x7fffffff2a40, ttlp=0x0) at nss_nis/nis-hosts.c:537
domain = 0x7ffff8359b82 "www.euska.org"
i = <value optimized out>
result = 0x7ffff8359b6f "www.astronomium.nl"
len = 32767
yperr = <value optimized out>
data = {
entdata = {
host_addr = "\nW\002(me4_r\000.so.2",
h_addr_ptrs = {0x7fffffff23d0 "\nW\002(me4_r", 0x0}
},
linebuffer = 0x7fffffff23f0 "a\2335��\177"
}
host = {
h_name = 0x7ffff8359b5b "dop40",
h_aliases = 0x7fffffff23f0,
h_addrtype = 2,
h_length = 4,
h_addr_list = 0x7fffffff23e0
}
parse_res = <value optimized out>
__PRETTY_FUNCTION__ = "_nss_nis_gethostbyname4_r"
#2 0x0000000000000000 in ?? ()
No symbol table info available.
Command: valgrind --tool=memcheck --num-callers=50 --leak-check=yes
--track-fds=yes traceroute www.astron.nl
Relevant output snippet:
==19723== Invalid free() / delete / delete[]
==19723== at 0x4C243AF: free (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==19723== by 0x5586708: _nss_nis_gethostbyname4_r (nis-hosts.c:537)
==19723== Address 0x51956e7 is 31 bytes inside a block of size 176 alloc'd
==19723== at 0x4C256AE: malloc (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==19723== by 0x57940DD: yp_match (ypclnt.c:474)
==19723== by 0x558660C: _nss_nis_gethostbyname4_r (nis-hosts.c:472)
==19723== by 0x4EE72A5: gaih_inet (getaddrinfo.c:714)
==19723== by 0x4EE95B1: getaddrinfo (getaddrinfo.c:2154)
==19723== by 0x4A84: (within /usr/sbin/traceroute)
==19723== by 0x3578: main (in /usr/sbin/traceroute)
==19723==
==19723== Process terminating with default action of signal 11 (SIGSEGV)
==19723== Bad permissions for mapped region at address 0x1
==19723== at 0x47: (within /usr/sbin/traceroute)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.