[syslog-ng]1.6.0rc3 dumps core on gc when listening on TCP?

Michaelmas syslog-ng@lists.balabit.hu
Thu, 6 Nov 2003 17:27:18 -0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a known issue with syslog-ng-1.6.0rc3 dumping core when reaping
an idle TCP listener?

I've had a high-volume syslog-ng server installed and running fine for
a couple of months now with rc3, I just started to install syslog-ng
on client hosts recently, so I added TCP listener options on the server.


If TCP is enabled, syslog-ng dies (dumps core with signal 6) apparently
when doing gc on an idle TCP listener.  The problem does not happen if
I comment out the TCP line:
#     source s_tcp { tcp( ip(192.168.192.92)); };


I don't see anything in the ChangeLog for rc4 to suggest upgrading would
fix this?

$ gdb /usr/local/sbin/syslog-ng ./syslog-ng.core
. . .
Core was generated by `syslog-ng'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libc.so.29.0...done.
#0  0x400a4fcf in _thread_sys_kill ()
(gdb) bt
#0  0x400a4fcf in _thread_sys_kill ()
#1  0x400a48bb in abort ()
#2  0x11014 in do_object_queue_mark ()
#3  0x120a5 in dont_free_live_resource ()
#4  0x11f7c in do_resource_free ()
#5  0x11625 in gc_sweep ()
#6  0x116fd in gc ()
#7  0x117a4 in gc_maybe ()
#8  0xeebe in io_iter ()
#9  0x1e1a in main_loop (backend=0x1b000) at main.c:255
#10 0x2b7b in main (argc=2, argv=0xcfbfd994) at main.c:545
(gdb) quit
$ exit

I run "syslog-ng -F" under DJB's daemontools, so when the application
dies I get an alert message and svscan restarts it immediately, but in
the interim I lose some (UDP) log data...

mas
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.3

wkYEARECAAYFAj+q9O0ACgkQKo6Jkwn+K0gNvQCeNfzvOSzM0aaI+YENoQSTC1dqvwYA
njjCWIFA1klWjZHDvyZWFozJr6sm
=38xg
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427