Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE

Mike Parson <[email protected]> Wed, 4 Sep 2002 21:03:22 -0500
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
On Wed, Sep 04, 2002 at 09:26:37PM -0400, George Schlossnagle wrote:
> Reading is fundamental!

Indeed. =)

> Scratch that part about httpd and replace it with spreadlogd everywhere 
> it appears.

Doesn't seem to be anything...

2# gdb /usr/local/bin/spreadlogd
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"...
(gdb) run
Starting program: /usr/local/bin/spreadlogd

Zeroing vhost hash for usage!

Zeroing vhost hash for usage!

Zeroing vhost hash for usage!

Zeroing vhost hash for usage!

Program exited normally.
(gdb) bt full
No stack.

> On Wednesday, September 4, 2002, at 09:23 PM, George Schlossnagle wrote:
>
>> I thought it was apache segfaulting, not spread.  You need to gdb 
>> apache (httpd) not spread.  I have one suspicion though - spread uses 
>> staticly sized vars for it's hostnames (MAX_PROC_NAME, 19 bytes + a 
>> null), and I think yours are too big.  There may be some sloppy code in 
>> m_l_s allowing that buffer to be overun, I will poke around.  That 
>> backtrace would be invaluable....

Any way I can make this run on just hostnames and not FQDNs?

-- 
Michael Parson
[email protected]