Argus memory issues

Peter Van Epp vanepp at sfu.ca
Thu Aug 23 11:37:10 EDT 2007


	While this may be my fault for starting the client again, the argus
just cored (no threads):

hcids:/scratch # ps auxwwww | grep argus
root     12174  0.0  0.0   3132   832 pts/0    S+   08:33   0:00 grep argus
[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
hcids:/scratch # ls
argus.conf         core           dave.eth1.tcp    debug.log.v1  rotate.pl
argus.conf.nopcap  current.html   debug.log        malloc.pl     sequence
argus.conf.pcap    dave.eth0.tcp  debug.log.new.1  rotate.log    t
hcids:/scratch # gdb64 argus core
GNU gdb 6.5
Copyright (C) 2006 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 "ppc64-suse-linux"...Using host libthread_db library "/lib64/power5+/libthread_db.so.1".


warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/local/lib/libpcap.so.0...done.
Loaded symbols for /usr/local/lib/libpcap.so.0
Reading symbols from /lib64/libwrap.so.0...done.
Loaded symbols for /lib64/libwrap.so.0
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/power5+/libm.so.6...done.
Loaded symbols for /lib64/power5+/libm.so.6
Reading symbols from /lib64/power5+/libc.so.6...done.
Loaded symbols for /lib64/power5+/libc.so.6
Reading symbols from /lib64/ld64.so.1...done.
Loaded symbols for /lib64/ld64.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_dns.so.2...done.
Loaded symbols for /lib64/libnss_dns.so.2
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Failed to read a valid object file image from memory.
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  0x0000000010019488 in .ArgusFree ()
(gdb) where
#0  0x0000000010019488 in .ArgusFree ()
#1  0x0000000010008360 in .ArgusCopyRecordStruct ()
#2  0x000000001001441c in .ArgusWriteSocket ()
#3  0x0000000010015b08 in .ArgusOutputProcess ()
#4  0x000000001000ce80 in .ArgusProcessPacket ()
#5  0x000000001000f6e4 in .ArgusEtherPacket ()
#6  0x000004000007c5f0 in .pcap_read_linux () from /usr/local/lib/libpcap.so.0
#7  0x000004000007cad8 in .pcap_dispatch () from /usr/local/lib/libpcap.so.0
#8  0x000000001000ef5c in .ArgusGetPackets ()
#9  0x0000000010005f8c in .main ()
#10 0x000004000021068c in .generic_start_main () from /lib64/power5+/libc.so.6
#11 0x0000040000210928 in .__libc_start_main () from /lib64/power5+/libc.so.6
#12 0x0000000000000000 in ?? ()

	I'll enable .debug .devel and .threads and restart.

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



More information about the argus mailing list