[Bug 459123] New: getent aliases crash (abort in glibc realloc)
https://bugzilla.novell.com/show_bug.cgi?id=459123 User koenig@linux.de added comment https://bugzilla.novell.com/show_bug.cgi?id=459123#c458737 Summary: getent aliases crash (abort in glibc realloc) Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- triggered through tests in for bug #458737 I've been told that getent aliases crashes in our network since suse 10.2 (including 11.1)! unfortuneately the fix in bug 448702 doesn't help here, so here are some details: using glibc-2.9-4 and debuginfo from bug 448702 I get the following trace getent aliases [ ... 1705 lines of output deleted ... ] *** glibc detected *** getent: realloc(): invalid next size: 0x0000000000608e50 *** ======= Backtrace: ========= /lib64/libc.so.6[0x7f345a80d118] /lib64/libc.so.6[0x7f345a811081] /lib64/libc.so.6(realloc+0x138)[0x7f345a811e38] /lib64/libc.so.6[0x7f345a87c0c3] /lib64/libc.so.6(getaliasent+0x52)[0x7f345a889982] getent[0x40390d] getent[0x40352b] /lib64/libc.so.6(__libc_start_main+0xe6)[0x7f345a7b7586] getent[0x402029] ======= Memory map: ======== Program received signal SIGABRT, Aborted. 0x00007ffff7ab9645 in *__GI_raise (sig=<value optimized out>) at ./nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) where #0 0x00007ffff7ab9645 in *__GI_raise (sig=<value optimized out>) at ./nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007ffff7abac33 in *__GI_abort () at abort.c:88 #2 0x00007ffff7af58e8 in __libc_message (do_abort=2, fmt=0x7ffff7ba9f80 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #3 0x00007ffff7afb118 in malloc_printerr (action=2, str=0x7ffff7ba7616 "realloc(): invalid next size", ptr=<value optimized out>) at malloc.c:5994 #4 0x00007ffff7aff081 in _int_realloc (av=0x0, oldmem=0x0, bytes=<value optimized out>) at malloc.c:4983 #5 0x00007ffff7affe38 in *__GI___libc_realloc (oldmem=0x608e50, bytes=2048) at malloc.c:3708 #6 0x00007ffff7b6a0c3 in __nss_getent (func=0x7ffff7b77600 <__getaliasent_r>, resbuf=0x7ffff7dde700, buffer=0x7ffff7ddaee8, buflen=<value optimized out>, buffer_size=0x7ffff7dde720, h_errnop=0x0) at getnssent.c:42 #7 0x00007ffff7b77982 in getaliasent () at ../nss/getXXent.c:84 #8 0x000000000040390d in aliases_keys (number=0, key=<value optimized out>) at getent.c:117 #9 0x000000000040352b in main (argc=<value optimized out>, argv=0x7fffffffe038) at getent.c:882 (gdb) Quit s111 > MALLOC_CHECK_=0 getent aliases | wc 2835 9837 176345 s111 > MALLOC_CHECK_=1 getent aliases | wc *** glibc detected *** getent: realloc(): invalid pointer: 0x0000000000608f70 *** 1635 5334 98304 s111 > MALLOC_CHECK_=2 getent aliases | wc 1705 5545 102139 s111 > MALLOC_CHECK_=3 getent aliases | wc *** glibc detected *** getent: realloc(): invalid pointer: 0x0000000000608f70 *** 1635 5334 98304 this bug is not mission critical (as #458737 is/was), but it would be nice to get that one fixed too;) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=459123
Marcus Meissner
participants (1)
-
bugzilla_noreply@novell.com