[syslog-ng]FW: UNSTABLE syslog-ng 1.4.15 + redhat-7.3

Balazs Scheidler bazsi@balabit.hu
Wed, 31 Jul 2002 09:50:57 +0200


On Tue, Jul 30, 2002 at 08:33:43AM +0200, _/CaT_ wrote:
> HI *,
> Thnkz
> 
> gdb syslog-ng -c core.17720
> GNU gdb Red Hat Linux (5.2-2)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i386-redhat-linux"...
> Core was generated by `/usr/local/sbin/syslog-ng'.
> Program terminated with signal 5, Trace/breakpoint trap.
> Reading symbols from /lib/libnsl.so.1...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/i686/libc.so.6...done.
> Loaded symbols for /lib/i686/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /lib/libnss_files.so.2...done.
> Loaded symbols for /lib/libnss_files.so.2
> Reading symbols from /lib/libnss_nisplus.so.2...done.
> Loaded symbols for /lib/libnss_nisplus.so.2
> Reading symbols from /lib/libnss_dns.so.2...done.
> Loaded symbols for /lib/libnss_dns.so.2
> Reading symbols from /lib/libresolv.so.2...done.
> Loaded symbols for /lib/libresolv.so.2
> #0  0x4000bd01 in _dl_debug_state_internal () from /lib/ld-linux.so.2
> (gdb) bt
> #0  0x4000bd01 in _dl_debug_state_internal () from /lib/ld-linux.so.2
> #1  0x421122f2 in dl_open_worker () from /lib/i686/libc.so.6
> #2  0x4000b4b3 in _dl_catch_error_internal () from /lib/ld-linux.so.2
> #3  0x42112761 in _dl_open () from /lib/i686/libc.so.6
> #4  0x42113491 in do_dlopen () from /lib/i686/libc.so.6
> #5  0x4000b4b3 in _dl_catch_error_internal () from /lib/ld-linux.so.2
> #6  0x4211333c in __libc_dlopen () from /lib/i686/libc.so.6
> #7  0x420f5157 in __nss_lookup_function () from /lib/i686/libc.so.6
> #8  0x420f5ae1 in __nss_next () from /lib/i686/libc.so.6
> #9  0x420f7b21 in gethostbyaddr_r@@GLIBC_2.1.2 () from
> /lib/i686/libc.so.6
> #10 0x420f78cb in gethostbyaddr () from /lib/i686/libc.so.6
> #11 0x0804a28f in get_source_hostname ()
> #12 0x0804a384 in do_add_source_name ()
> #13 0x0804f5de in do_handle_afinet_line ()
> #14 0x0804a004 in do_handle_line ()
> #15 0x0804a132 in do_read_line ()
> #16 0x0805144d in read_callback ()
> #17 0x08051198 in io_iter ()
> #18 0x08049c15 in main_loop ()
> #19 0x08049f51 in main ()
> #20 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
> (gdb)

This backtrace is very strange. it shows that syslog-ng hit a breakpoint in
libc while resolving names...

as it seems you compiled against glibc 2.1, and running on glibc 2.2?

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1