[syslog-ng] SIGHUP kills syslog-ng on FreeBSD 3-STABLE

Lowkrantz, Goran Goran.Lowkrantz@infologigruppen.se
Mon, 6 Dec 1999 00:44:20 +0100


Hi again,

I rebuilt it with debug and here is the full backtrace.

> gdb -c syslog-ng.core src/syslog-ng
GNU gdb 4.18
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"...
Core was generated by `syslog-ng'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280a546c in kill () from /usr/lib/libc.so.3
(gdb) bt
#0  0x280a546c in kill () from /usr/lib/libc.so.3
#1  0x280d9818 in abort () from /usr/lib/libc.so.3
#2  0x280b53ba in __assert () from /usr/lib/libc.so.3
#3  0x804a284 in do_add_source_name (c=0x8069448, logmsg=0x806d30c)
    at sources.c:185
#4  0x8051c48 in write_internal_message (level=3, length=71, 
    data=0xbfbfd498 "io.c: bind_inet_socket() bind failed 0.0.0.0:514
Address already in use\n\\b\005\b\204Ú¿¿L\001") at afinter.c:55
#5  0x8055229 in msg_vformat ()
#6  0x805525e in werror ()
#7  0x80549cd in bind_inet_socket ()
#8  0x8054eb4 in io_open_socket ()
#9  0x80514f9 in do_init_afinet_source (c=0x805e908, cfg=0x805e608, 
    persistent=0x805c668) at afinet.c:246
#10 0x804a3e8 in do_init_group (c=0x8069448, cfg=0x805e608, 
    persistent=0x805c668) at sources.c:222
#11 0x804bd88 in do_init_config (self=0x805e608, p=0x805c668) at
cfgfile.c:149
#12 0x8049716 in do_reread_config (c=0x805a014) at main.c:71
#13 0x8053fd9 in io_iter ()
#14 0x80498b1 in main_loop (backend=0x805d008) at main.c:139
#15 0x8049d13 in main (argc=1, argv=0xbfbfdabc) at main.c:292
#16 0x8049555 in _start ()

Cheers,
	GLZ

---
Goran Lowkrantz         Email    : goran.lowkrantz@infologigruppen.se
Infologigruppen Alfa AB Telephone: Nat    070-587 8782 Fax: Nat    070-615
8782
Box 202                            Int +46 70-587 8782      Int +46 70-615
8782
941 25 Pitea,  Sweden