Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE
Mike Parson <[email protected]> Fri, 13 Sep 2002 10:24:06 -0500
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
Okay, I got things working (kinda) using the $#hostname instead of the $#vhost
groups, but now it's doing what Jay's is doing, logs one line then spreadlogd
dumps core.
Here's the backtrace:
gdb spreadlogd spreadlogd.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"...
Core was generated by `spreadlogd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgnuregex.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x8049e11 in main (argc=1, argv=0xbfbffc2c) at spreadlogd.c:262
262 thissc->connected = 0;
(gdb) r -D
Starting program: /usr/local/bin/spreadlogd -D
Setting FD: 6
Program received signal SIGSEGV, Segmentation fault.
0x8049e11 in main (argc=2, argv=0xbfbffc04) at spreadlogd.c:262
262 thissc->connected = 0;
(gdb) bt full
#0 0x8049e11 in main (argc=2, argv=0xbfbffc04) at spreadlogd.c:262
thissc = (SpreadConfiguration *) 0x0
retval = 0
timeout = {tv_sec = 1, tv_usec = 0}
i = 32768
fd = 1024
tojoin = 1
readset = {fds_bits = {64, 0 <repeats 31 times>}}
exceptset = {fds_bits = {0 <repeats 32 times>}}
masterset = {fds_bits = {64, 0 <repeats 31 times>}}
lasttry = {sec = 1031930497, usec = 837254}
thistry = {sec = 1031930497, usec = 837254}
timediff = {sec = 6, usec = 60255}
service_type = 16777216
sender = "#user#web2", '\000' <repeats 21 times>
pmessage = 0x80c3000 "booya\n"
len = -11
num_groups = 1
endian = 0
logfd = 7
groups = {"web2.realfreeavs.com", '\000' <repeats 11 times>}
mess_type = 1
mver = 671454633
miver = -1077937156
pver = 671539712
configfile = 0x8052de0 "/etc/spreadlogd.conf"
message = 0x80c3000 "booya\n"
getoption = -1
debug = 1
signalaction = {__sigaction_u = {__sa_handler = 0x8049424 <sig_handler>, __sa_sigaction = 0x8049424 <sig_handler>}, sa_flags = 0, sa_mask = {
__bits = {0, 0, 0, 0}}}
ourmask = {__bits = {1, 0, 0, 0}}
#1 0x8049361 in _start ()
No symbol table info available.
--
Michael Parson
[email protected]