new clients rc.58 / radium segfaults

Carter Bullard carter at qosient.com
Thu Oct 4 10:40:23 EDT 2007


Man, ...,  Wolfgang,
You sure do find the bugs!!!   Now, that is a very good thing, except
that there aren't suppose to be any bugs    :o)

OK, so why would you be failing adding to the host list?  I suspect
the error message is bogus, but we'll see.

How many remote sources are you collecting from?  Are any of
them actually live? reachable?  radium should not fail here, of
course, but I suspect it maybe either a bogus return code, or
a radium.conf problem???!!!

Carter

On Oct 4, 2007, at 4:10 AM, Wolfgang Barth wrote:

> Hi Carter,
>
>> Of the bug fixes, one in particular is an unreported bug where  
>> radium()
>> would/could eat as much CPU as it could get.
>
> Oh yeah, now it consumes no more CPU, but memory ;-) (see below)
>
> With version rc.58 I get a segfault:
>
>  /usr/local/sbin/radium -f /etc/radium.conf
>
> strace output:
>
> ...
> mmap2(NULL, 397312, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
> MAP_ANONYMOUS, -1, 0)
> = 0xb7acf000
> gettimeofday({1191482968, 288485}, NULL) = 0
> read(3, "uivalent\n#\n  \n#RADIUM_FILTER=\"\"\n"..., 4096) = 3402
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> Process 5530 detached
>
> radium in the foreground works, so the debbuging output is not really
> helpful...
>
> compiled with .debug:
>
> % ./radium/radium -D8 -f /etc/radium.conf
>
> ... very long output ...
>
> radium[15272]: 2007-10-04 10:06:57 ArgusCalloc (1, 394576) returning
> 0xbfe4b008
> radium[15272]: 2007-10-04 10:06:57 ArgusCalloc (1, 394576) returning
> 0xbfeac008
> radium[15272]: 2007-10-04 10:06:57 ArgusCalloc (1, 394576) returning
> 0xbff0d008
> radium[15272]: 2007-10-04 10:06:57 ArgusCalloc (1, 394576) returning
> 0xbff6e008
> radium[15272]: 2007-10-04 10:06:57 ArgusCalloc (1, 394576)  
> returning 0x0
> radium[15272]: 2007-10-04 10:06:57 ArgusAddHostList((null))  
> ArgusCalloc
> Cannot allocate memory
> ^^^^^^^^^^^^^^^^^^^^^^^^
> radium[15272]: 2007-10-04 10:06:57 ArgusShutDown (3)
> radium[15272]: 2007-10-04 10:06:57 ArgusFree (0x81fa080)
> radium[15272]: 2007-10-04 10:06:57 ArgusDeleteQueue (0x81fa080)  
> returning
> radium[15272]: 2007-10-04 10:06:57 RaParseComplete(0)
> radium[15272]: 2007-10-04 10:06:57 ArgusCloseInput(0xb7cfc008) closing
> radium[15272]: 2007-10-04 10:06:57 ArgusWriteConnection(0xb7cfc008,
> 0x80a6689, 6) returning 6
> radium[15272]: 2007-10-04 10:06:57 ArgusCloseInput(0xb7cfc008) done
> radium[15272]: 2007-10-04 10:06:57 ArgusFree (0xb7cfc008)
> radium[15272]: 2007-10-04 10:06:57 ArgusCloseInput(0xb7c88008) closing
> radium[15272]: 2007-10-04 10:06:57 ArgusWriteConnection(0xb7c88008,
> 0x80a6689, 6) returning 6
> radium[15272]: 2007-10-04 10:06:57 ArgusCloseInput(0xb7c88008) done
> *** glibc detected *** double free or corruption (fasttop):  
> 0x081fa780 ***
> Abort
>
> Wolfgang
> -- 
> <wob (at) swobspace de> * http://www.swobspace.de
>



More information about the argus mailing list