Looks like a new bug in argus

Peter Van Epp vanepp at sfu.ca
Sun Aug 19 21:33:14 EDT 2007


	And a shorter one with  --leak-check=full


hcids:/scratch # valgrind --leak-check=full argus -JR -P 560 -i eth0 -i eth1 -U 512 -m  -F /scratch/argus.conf &
[1] 23727
hcids:/scratch # ==23727== Memcheck, a memory error detector.
==23727== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==23727== Using LibVEX rev 1732, a library for dynamic binary translation.
==23727== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==23727== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==23727== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==23727== For more details, rerun with: -v
==23727==
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23727-- WARNING: unhandled syscall: 233
--23727-- You may be able to write your own handler.
--23727-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
==23727== Syscall param socketcall.bind(my_addr.) points to uninitialised byte(s)
==23727==    at 0x42FB50C: bind (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x40B8E3C: pfring_open (in /usr/local/lib/libpcap.so.0.9.5)
==23727==    by 0x40A6700: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23727==    by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23727==    by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23727==    by 0x10005650: main (argus.c:521)
==23727==  Address 0x7FEFFF467 is on thread 1's stack
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B5518: __tzfile_compute (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DBC: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B3294: localtime_r (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B5538: __tzfile_compute (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DBC: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B3294: localtime_r (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B554C: __tzfile_compute (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DBC: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B3294: localtime_r (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2A64: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2A94: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2AAC: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2ABC: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2B74: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2B98: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2BA4: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2CE8: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2D00: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2D50: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2D64: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA558: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA78C: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA558: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42BA800: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405055C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002D498: print_time (argus_util.c:1770)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002D498: print_time (argus_util.c:1770)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42694BC: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Use of uninitialised value of size 8
==23727==    at 0x42675B8: _itoa_word (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x426A160: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42675C0: _itoa_word (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x426A160: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x4269A20: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x426A204: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x426A224: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x426A240: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x426A25C: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D4D0: print_time (argus_util.c:1771)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405055C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x426BA84: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002CDD4: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x426BA84: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x428E084: vsnprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x427130C: snprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002CDD4: ArgusLog (argus_util.c:1629)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002CDE4: ArgusLog (argus_util.c:1632)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002CE2C: ArgusLog (argus_util.c:1637)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x426BA84: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x426C328: buffered_vfprintf (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42687FC: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x4271250: fprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002CF38: ArgusLog (argus_util.c:1660)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==
==23727== Syscall param write(buf) points to uninitialised byte(s)
==23727==    at 0x42E9C94: __write_nocancel (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42916B8: _IO_file_write@@GLIBC_2.3 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42915BC: _IO_file_xsputn@@GLIBC_2.3 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x426C3F8: buffered_vfprintf (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42687FC: vfprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x4271250: fprintf@@GLIBC_2.4 (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002CF38: ArgusLog (argus_util.c:1660)
==23727==    by 0x100056F0: main (argus.c:537)
==23727==  Address 0x7FEFFCE96 is on thread 1's stack
  ArgusWarning: argus[23727]: 31 Dec 69 16:00:13.713745 started
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B2D80: __offtime (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x42B4DF4: __tz_convert (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D408: print_time (argus_util.c:1763)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42B9D70: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA4BC: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA504: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x42BA508: strftime_l (in /lib64/power5+/libc-2.5.so)
==23727==    by 0x1002D478: print_time (argus_util.c:1767)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405055C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002D498: print_time (argus_util.c:1770)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002D498: print_time (argus_util.c:1770)
==23727==    by 0x1002CDAC: ArgusLog (argus_util.c:1629)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002CDE4: ArgusLog (argus_util.c:1632)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
==23727==
==23727== Conditional jump or move depends on uninitialised value(s)
==23727==    at 0x405056C: strlen (mc_replace_strmem.c:246)
==23727==    by 0x1002CE2C: ArgusLog (argus_util.c:1637)
==23727==    by 0x1001A9A4: ArgusGetInterfaceStatus (ArgusSource.c:2014)
==23727==    by 0x10018AC4: ArgusGetPackets (ArgusSource.c:1627)
==23727==    by 0x10005798: main (argus.c:545)
  ArgusWarning: argus[23727]: 14 Apr 58 15:28:16.268867 ArgusGetInterfaceStatus: interface eth1 is up
  ArgusWarning: argus[23727]: 14 Apr 58 15:28:16.268867 ArgusGetInterfaceStatus: interface eth0 is up

hcids:/scratch # !ps
ps auxwwww | grep argus
root     23727  101  1.4  93224 57960 pts/0    RL   18:09   0:31 valgrind --leak-check=full argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root     23729  0.0  0.0   3132   832 pts/0    S+   18:09   0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root     23727  100  6.7 302472 267456 pts/0   RL   18:09   6:03 valgrind --leak-check=full argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root     23751  0.0  0.0   3132   832 pts/0    S+   18:15   0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root     23727 99.6  9.8 422056 386408 pts/0   RL   18:09   9:09 valgrind --leak-check=full argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root     23753  0.0  0.0   3132   828 pts/0    R+   18:18   0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root     23727 99.8 14.2 596136 561192 pts/0   RL   18:09  13:37 valgrind --leak-check=full argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root     23756  0.0  0.0   3132   832 pts/0    S+   18:23   0:00 grep argus
hcids:/scratch # kill -HUP 23727
hcids:/scratch # argus: Time 838.271567 Flows 222453    Closed 0         Sends 226833    BSends 0        Updates 6548212  Cache 6310136
eth1
    Total Pkts  3512685  Rate 4190.390249
eth0
    Total Pkts  3019897  Rate 3602.528248
==23727==
==23727== ERROR SUMMARY: 808 errors from 54 contexts (suppressed: 2 from 1)
==23727== malloc/free: in use at exit: 3,238 bytes in 12 blocks.
==23727== malloc/free: 538,643 allocs, 538,631 frees, 387,713,532 bytes allocated.
==23727== For counts of detected errors, rerun with: -v
==23727== searching for pointers to 12 not-freed blocks.
==23727== checked 34,962,672 bytes.
==23727==
==23727==
==23727== 48 bytes in 1 blocks are definitely lost in loss record 5 of 12
==23727==    at 0x404E208: calloc (vg_replace_malloc.c:279)
==23727==    by 0x1002C540: ArgusCalloc (argus_util.c:1246)
==23727==    by 0x1001B41C: ArgusNewQueue (ArgusUtil.c:312)
==23727==    by 0x100210A0: ArgusNewOutput (ArgusOutput.c:73)
==23727==    by 0x10004894: main (argus.c:280)
==23727==
==23727==
==23727== 1,303 (616 direct, 687 indirect) bytes in 1 blocks are definitely lost in loss record 12 of 12
==23727==    at 0x404F258: malloc (vg_replace_malloc.c:149)
==23727==    by 0x40A66CC: pcap_open_live (in /usr/local/lib/libpcap.so.0.9.5)
==23727==    by 0x100142F8: ArgusOpenInterface (ArgusSource.c:104)
==23727==    by 0x10014684: ArgusInitSource (ArgusSource.c:166)
==23727==    by 0x10005650: main (argus.c:521)
==23727==
==23727== LEAK SUMMARY:
==23727==    definitely lost: 664 bytes in 2 blocks.
==23727==    indirectly lost: 687 bytes in 3 blocks.
==23727==      possibly lost: 0 bytes in 0 blocks.
==23727==    still reachable: 1,887 bytes in 7 blocks.
==23727==         suppressed: 0 bytes in 0 blocks.
==23727== Reachable blocks (those to which a pointer was found) are not shown.
==23727== To see them, rerun with: --leak-check=full --show-reachable=yes

[1]+  Done                    valgrind --leak-check=full argus -JR -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf


	Now I'll try one without -U and with --show-reachable=yes :-)

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



More information about the argus mailing list