Looks like a new bug in argus
Peter Van Epp
vanepp at sfu.ca
Sun Aug 19 22:38:47 EDT 2007
On Sun, Aug 19, 2007 at 10:00:41PM -0400, Carter Bullard wrote:
> Well, I interpret that to mean that a pointer to the data is held in
> some
> structure somewhere. Did you add the patch to remove the output
> processor and you're still getting large memory holdings?
>
> Carter
>
Yep this patch is in (I had to recreate it because of email formatting
issues so hopefully it is correct):
*** argus/ArgusModeler.c.orig 2007-08-19 16:39:18.000000000 -0700
--- argus/ArgusModeler.c 2007-08-19 16:43:06.000000000 -0700
***************
*** 2940,2945 ****
--- 2940,2948 ----
} while (frag != (struct ArgusFlowStruct *)flow->frag.start);
}
+ model->ArgusTotalSends++;
+ /*
+
if (flow->canon.metric.src.pkts || flow->canon.metric.dst.pkts) {
if ((flow->canon.trans.seqnum = model->ArgusSeqNum++) == 0xFFFFFFFF)
flow->canon.trans.seqnum = model->ArgusSeqNum++;
***************
*** 2958,2963 ****
--- 2961,2967 ----
}
} else
model->ArgusTotalBadSends++;
+ */
}
#ifdef ARGUSDEBUG
and I'm still seeing memory growth. Here is one with no user data being
collected and --leak-check=full --show-reachable=yes in on valgrind:
hcids:/scratch # valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf &
[1] 23861
hcids:/scratch # ==23861== Memcheck, a memory error detector.
==23861== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==23861== Using LibVEX rev 1732, a library for dynamic binary translation.
==23861== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==23861== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==23861== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==23861== For more details, rerun with: -v
==23861==
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23861-- WARNING: unhandled syscall: 233
--23861-- You may be able to write your own handler.
--23861-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
==23861== Syscall param socketcall.bind(my_addr.) points to uninitialised byte(s)
==23861== at 0x42FB50C: bind (in /lib64/power5+/libc-2.5.so)
==23861== by 0x40B8E3C: pfring_open (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40A6700: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861== Address 0x7FEFFF487 is on thread 1's stack
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B5518: __tzfile_compute (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DBC: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B3294: localtime_r (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B5538: __tzfile_compute (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DBC: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B3294: localtime_r (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B554C: __tzfile_compute (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DBC: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B3294: localtime_r (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2A64: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2A94: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2AAC: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2ABC: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2B74: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2B98: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2BA4: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2CE8: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2D00: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2D50: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2D64: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA558: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA558: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405055C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002D498: print_time (argus_util.c:1770)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002D498: print_time (argus_util.c:1770)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42694BC: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Use of uninitialised value of size 8
==23861== at 0x42675B8: _itoa_word (in /lib64/power5+/libc-2.5.so)
==23861== by 0x426A160: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42675C0: _itoa_word (in /lib64/power5+/libc-2.5.so)
==23861== by 0x426A160: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x4269A20: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x426A204: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x426A224: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x426A240: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x426A25C: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D4D0: print_time (argus_util.c:1771)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405055C: strlen (mc_replace_strmem.c:246)
==23861== by 0x426BA84: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002CDD4: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x426BA84: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002CDD4: ArgusLog (argus_util.c:1629)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002CDE4: ArgusLog (argus_util.c:1632)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002CE2C: ArgusLog (argus_util.c:1637)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x426BA84: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x426C328: buffered_vfprintf (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42687FC: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x4271250: fprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002CF38: ArgusLog (argus_util.c:1660)
==23861== by 0x100056F0: main (argus.c:537)
==23861==
==23861== Syscall param write(buf) points to uninitialised byte(s)
==23861== at 0x42E9C94: __write_nocancel (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42916B8: _IO_file_write@@GLIBC_2.3 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42915BC: _IO_file_xsputn@@GLIBC_2.3 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x426C3F8: buffered_vfprintf (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42687FC: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x4271250: fprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002CF38: ArgusLog (argus_util.c:1660)
==23861== by 0x100056F0: main (argus.c:537)
==23861== Address 0x7FEFFCEB6 is on thread 1's stack
ArgusWarning: argus[23861]: 31 Dec 69 16:00:11.717058 started
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B2D80: __offtime (in /lib64/power5+/libc-2.5.so)
==23861== by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D408: print_time (argus_util.c:1763)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23861== by 0x1002D478: print_time (argus_util.c:1767)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405055C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002D498: print_time (argus_util.c:1770)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002D498: print_time (argus_util.c:1770)
==23861== by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002CDE4: ArgusLog (argus_util.c:1632)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
==23861==
==23861== Conditional jump or move depends on uninitialised value(s)
==23861== at 0x405056C: strlen (mc_replace_strmem.c:246)
==23861== by 0x1002CE2C: ArgusLog (argus_util.c:1637)
==23861== by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23861== by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23861== by 0x10005798: main (argus.c:545)
ArgusWarning: argus[23861]: 14 Apr 58 15:28:48.268867 ArgusGetInterfaceStatus: interface eth1 is up
ArgusWarning: argus[23861]: 14 Apr 58 15:28:48.268867 ArgusGetInterfaceStatus: interface eth0 is up
hcids:/scratch # !ps
ps auxwwww | grep argus
root 23861 93.2 1.0 78088 42588 pts/0 RL 19:28 0:10 valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf
root 23863 0.0 0.0 3132 832 pts/0 S+ 19:29 0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root 23861 99.4 2.8 148904 113344 pts/0 RL 19:28 2:23 valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf
root 23885 0.0 0.0 3132 832 pts/0 S+ 19:31 0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root 23861 99.5 3.1 159064 123644 pts/0 RL 19:28 2:44 valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf
root 23887 0.0 0.0 3132 832 pts/0 S+ 19:31 0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root 23861 99.8 4.3 207208 172108 pts/0 RL 19:28 4:42 valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf
root 23889 0.0 0.0 3132 832 pts/0 S+ 19:33 0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root 23861 99.7 5.3 245016 209304 pts/0 RL 19:28 6:34 valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf
root 23891 0.0 0.0 3132 832 pts/0 S+ 19:35 0:00 grep argus
hcids:/scratch # kill -HUP 23889
bash: kill: (23889) - No such process
hcids:/scratch # kill -HUP 23861
hcids:/scratch # argus: Time 429.649140 Flows 137972 Closed 0 Sends 140437 BSends 0 Updates 3569892 Cache 3427925
eth1
Total Pkts 2030796 Rate 4726.638112
eth0
Total Pkts 1535095 Rate 3572.903695
==23861==
==23861== ERROR SUMMARY: 808 errors from 54 contexts (suppressed: 2 from 1)
==23861== malloc/free: in use at exit: 2,214 bytes in 12 blocks.
==23861== malloc/free: 138,045 allocs, 138,033 frees, 138,851,676 bytes allocated.
==23861== For counts of detected errors, rerun with: -v
==23861== searching for pointers to 12 not-freed blocks.
==23861== checked 34,962,128 bytes.
==23861==
==23861==
==23861== 5 bytes in 1 blocks are indirectly lost in loss record 1 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x429F2E4: strdup (in /lib64/power5+/libc-2.5.so)
==23861== by 0x40B8EF0: pfring_open (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40A6700: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 5 bytes in 1 blocks are still reachable in loss record 2 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x429F2E4: strdup (in /lib64/power5+/libc-2.5.so)
==23861== by 0x40B8EF0: pfring_open (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40A6700: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 8 bytes in 1 blocks are still reachable in loss record 3 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40B352C: icode_to_fcode (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40AA548: pcap_compile (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100147F4: ArgusInitSource (ArgusSource.c:193)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 8 bytes in 1 blocks are still reachable in loss record 4 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40B982C: pcap_alloc (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40B9970: pcap_ensure_buffer_stack (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40B9A94: pcap__switch_to_buffer (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40B9C28: pcap__scan_buffer (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40B9CD8: pcap__scan_bytes (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40B9D84: pcap__scan_string (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40B9DBC: lex_init (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40AA0FC: pcap_compile (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100147F4: ArgusInitSource (ArgusSource.c:193)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 48 bytes in 1 blocks are definitely lost in loss record 5 of 12
==23861== at 0x404E208: calloc (vg_replace_malloc.c:279)
==23861== by 0x1002C540: ArgusCalloc (argus_util.c:1246)
==23861== by 0x1001B41C: ArgusNewQueue (ArgusUtil.c:312)
==23861== by 0x100210A0: ArgusNewOutput (ArgusOutput.c:73)
==23861== by 0x10004894: main (argus.c:280)
==23861==
==23861==
==23861== 72 bytes in 1 blocks are indirectly lost in loss record 6 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40B8DC0: pfring_open (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40A6700: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 72 bytes in 1 blocks are still reachable in loss record 7 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40B8DC0: pfring_open (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x40A6700: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 98 bytes in 1 blocks are indirectly lost in loss record 8 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40A6744: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 98 bytes in 1 blocks are still reachable in loss record 9 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40A6744: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 568 bytes in 1 blocks are still reachable in loss record 10 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x428228C: __fopen_internal (in /lib64/power5+/libc-2.5.so)
==23861== by 0x4285A30: fopen64 (in /lib64/power5+/libc-2.5.so)
==23861== by 0x10006094: ArgusParseResourceFile (argus.c:810)
==23861== by 0x10004EDC: main (argus.c:371)
==23861==
==23861==
==23861== 616 bytes in 1 blocks are still reachable in loss record 11 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40A66CC: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861==
==23861== 791 (616 direct, 175 indirect) bytes in 1 blocks are definitely lost in loss record 12 of 12
==23861== at 0x404F258: malloc (vg_replace_malloc.c:149)
==23861== by 0x40A66CC: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23861== by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23861== by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23861== by 0x10005650: main (argus.c:521)
==23861==
==23861== LEAK SUMMARY:
==23861== definitely lost: 664 bytes in 2 blocks.
==23861== indirectly lost: 175 bytes in 3 blocks.
==23861== possibly lost: 0 bytes in 0 blocks.
==23861== still reachable: 1,375 bytes in 7 blocks.
==23861== suppressed: 0 bytes in 0 blocks.
[1]+ Done valgrind --leak-check=full --show-reachable=yes argus -JR -P 560 -i eth0 -i eth1 -m -F /scratch/argus.conf
hcids:/scratch # !ps
ps auxwwww | grep argus
root 23893 0.0 0.0 3132 832 pts/0 S+ 19:36 0:00 grep argus
hcids:/scratch #
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
More information about the argus
mailing list