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

_/CaT\_ cat_roger22@hotmail.com
Tue, 30 Jul 2002 08:33:43 +0200


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)

-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of _/CaT\_
Sent: Friday, July 26, 2002 11:27 AM
To: syslog-ng@lists.balabit.hu
Subject: RE: [syslog-ng]FW: UNSTABLE syslog-ng 1.4.15 + redhat-7.3


On RH I've never got a core dump....Do you know a method for generate a
core dump file? Before all possible test, why you don't give me the your
best installation procedure? However, in the attachment I send you a BT
of FreeBSD:

gdb syslog-ng -c syslog-ng.core

GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-freebsd"...(no debugging symbols
found)... Core was generated by `syslog-ng'. Program terminated with
signal 6, Abort trap. Reading symbols from /usr/lib/libc.so.4...(no
debugging symbols found)...done. Reading symbols from
/usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0
0x280ae7b4 in kill () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280ae7b4 in kill () from /usr/lib/libc.so.4
#1  0x280eeb26 in abort () from /usr/lib/libc.so.4
#2  0x280cad7b in __assert () from /usr/lib/libc.so.4
#3  0x8052116 in io_iter ()
#4  0x8049b4e in main_loop ()
#5  0x8049e57 in main ()
#6  0x8049779 in _start ()
 

-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of Balazs Scheidler
Sent: Friday, July 26, 2002 10:22 AM
To: syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]FW: UNSTABLE syslog-ng 1.4.15 + redhat-7.3


On Fri, Jul 26, 2002 at 10:21:22AM +0200, _/CaT_ wrote:
> Hi *,
> When I start the application with  debug mode, apparently work
> normally, but I remember , in other session of debug , The debug 
> output consist in  a string, the following: "Garbage Collect..."
> do you think that is a real problem or a normal application job ?

it is normal that syslog-ng reports garbage collecting messages.

> The red-hat version I use is stable,You said that,my problem perhaps
> is due to a bad installation because i've got the same result in 
> another installation, Under Free-BSD.
> If you have an HOW-TO Installation,detailed please, send it to me by
> mail, or publish it on the mailing list.
> Another question...The last..I tried to "CHROOT" the application whit
> the following options :
>
> -C <> or --chroot=<> --user=<> --group=<> in the cage space, but The
> program unrecognized the options.

it is implemented in 1.5.x

> Now the application is working with debug mode and works
> normally..(since 15 hours)..

the problem should be fixed anyway. please do the following:

ulimit -c unlimited (to let the program dump core)
syslog-ng (dumps core)
gdb syslog-ng -c core (reference to core file)
gdb> bt (to get a backtrace where it aborted itself)

thanks,

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

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html


_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html