new small memory argus and clients

Peter Van Epp vanepp at sfu.ca
Sun Aug 26 21:43:45 EDT 2007


	Seem to have some time issues too the time stamps in the debug log are
bogus as well as a core on HUP again:

hcids:/scratch # ps auxwwww | grep argus
root     15122  5.0  0.7  94724 29904 pts/0    SLl  18:28   0:02 argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root     15125  0.0  0.0   3132   832 pts/0    S+   18:29   0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root     15122  5.0  0.8  96780 34024 pts/0    SLl  18:28   0:02 argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root     15127  0.0  0.0   3132   832 pts/0    S+   18:29   0:00 grep argus
hcids:/scratch # kill -HUP 15122
hcids:/scratch # tail debug.log
  ArgusWarning: argus[15122.0000040000026f50]: (null) started
  ArgusWarning: argus[15122.0000040000026f50]: 09 Jul 78 14:29:20.210396 ArgusGetInterfaceStatus: interface eth1 is up
  ArgusWarning: argus[15122.0000040000026f50]: 09 Jul 78 14:29:20.459432 ArgusGetInterfaceStatus: interface eth0 is up
     ArgusInfo: argus[15122.0000040002b98230]: 31 Dec 69 20:33:04.314032 connect from test4.ucs.sfu.ca
    ArgusError: argus[15122.0000040002b98230]: 31 Dec 69 16:00:00.000000 ArgusFree: buffer error 0x1000d044
[1]+  Segmentation fault      (core dumped) argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf >/scratch/debug.log 2>&1


core was generated by `argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf '.
Program terminated with signal 11, Segmentation fault.
#0  0x000000001002c46c in ArgusFree (buf=0x1000d044) at argus_util.c:1355
1355                mem->prv->nxt = mem->nxt;
(gdb) where
#0  0x000000001002c46c in ArgusFree (buf=0x1000d044) at argus_util.c:1355
#1  0x0000000010011684 in ArgusCopyRecordStruct (rec=0x1051b610)
    at ArgusModeler.c:2753
#2  0x000000001001eca8 in ArgusWriteSocket (output=0x10250630,
    client=0x103aa8e0, rec=0x1051b610) at ArgusUtil.c:1460
#3  0x0000000010023244 in ArgusOutputProcess (arg=0x10250630)
    at ArgusOutput.c:525
#4  0x000004000010cd9c in .start_thread () from /lib64/power5+/libpthread.so.0
#5  0x0000040000302c2c in .__clone () from /lib64/power5+/libc.so.6
Previous frame inner to this frame (corrupt stack?)

(gdb) print *mem
$1 = {nxt = 0x78000020e93f0118, prv = 0x900900cce93f0118, frame = {
    0xe80900e8f81f00b0, 0xe81f00b02fa00000, 0x409e012c38600001},
  tag = 947912740, len = 18433, offset = 61473}

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list