core dumps again as well ...
Carter Bullard
carter at qosient.com
Mon Feb 5 17:07:50 EST 2001
Well, we should fix this today, as I'd like to release
it as argus-2.1.0, and put it in a larger test group.
So, what is it complaining about in ArgusWriteOutSocket()?
Is ptr NULL?
Carter
Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York 10022
carter at qosient.com
Phone +1 212 813-9426
Fax +1 212 813-9426
> -----Original Message-----
> From: owner-argus at lists.andrew.cmu.edu
> [mailto:owner-argus at lists.andrew.cmu.edu]On Behalf Of Peter Van Epp
> Sent: Monday, February 05, 2001 5:01 PM
> To: argus
> Subject: core dumps again as well ...
>
>
> I think there is a bug at least on FreeBSD: even if I
> specify the
> output file as ./argus.log it still writes it to /:
>
> test4# argus_bpf -dJRw ./argus.log
> argus_bpf[7472]: started
>
> and both times I kill -HUPed the lead process is core dumped:
>
> test4# ps auxw |grep argus
> root 7473 0.0 2.0 2364 1236 ?? Ss 1:47PM 0:00.12
> argus_bpf -dJRw ./argus.log
> root 7474 0.0 1.6 2136 1000 ?? S 1:47PM 0:00.05
> argus_bpf -dJRw ./argus.log
> root 7475 0.0 1.8 2272 1136 ?? S 1:47PM 0:00.04
> argus_bpf -dJRw ./argus.log
> test4# kill -HUP 7473
>
> but that may be because I killed a task rather than the
> process group
> when I look at it, but then again maybe not:
>
> test4# mv /argus_bpf.core /argus_bpf.core.2
> test4# argus_bpf -dJRw ./argus.log
> argus_bpf[7497]: started
>
> test4# kill -HUP 7497
> 7497: No such process
> test4# ps auxw |grep argus
> root 7498 0.0 1.9 2340 1208 ?? Ss 1:57PM 0:00.03
> argus_bpf -dJRw ./argus.log
> root 7499 0.0 1.6 2136 1000 ?? S 1:57PM 0:00.02
> argus_bpf -dJRw ./argus.log
> root 7500 0.0 1.8 2272 1136 ?? S 1:57PM 0:00.01
> argus_bpf -dJRw ./argus.log
> test4# kill -HUP 7498
> test4# ls -l /argus*
> -rw-r--r-- 1 root wheel 19280 Feb 5 13:58 /argus.log
> -rw-r--r-- 1 root wheel 60556 Feb 5 13:48 /argus.log.1
> -rw------- 1 root wheel 1314816 Feb 5 13:26 /argus_bpd.core.1
> -rw------- 1 root wheel 1314816 Feb 5 13:58 /argus_bpf.core
> -rw------- 1 root wheel 1314816 Feb 5 13:49 /argus_bpf.core.2
>
> test4# gdb argus_bpf argus_bpf.core
> GNU gdb 4.18
> Copyright 1998 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 "i386-unknown-freebsd"...
> (no debugging symbols found)...
> Core was generated by `argus_bpf'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libm.so.2...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/libc.so.4...(no debugging
> symbols found)...done.
> Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging
> symbols found)...
> done.
> #0 0x8050ea4 in ArgusWriteOutSocket ()
> (gdb) where
> #0 0x8050ea4 in ArgusWriteOutSocket ()
> #1 0x804e701 in ArgusHandleData ()
> #2 0x8050c65 in ArgusReadSocket ()
> #3 0x804dbf1 in ArgusOutputProcess ()
> #4 0x804d3a9 in ArgusInitOutput ()
> #5 0x804a51e in main ()
> #6 0x8049a89 in _start ()
> (gdb)
>
> Peter Van Epp / Operations and Technical Support
> Simon Fraser University, Burnaby, B.C. Canada
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3699 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20010205/676af49e/attachment.bin>
More information about the argus
mailing list