server segfault

Carter Bullard carter at qosient.com
Tue Feb 27 15:45:10 EST 2001


Hey Russell,
   So this Argus was exiting and hit a 0x0 pointer
in trying to process the output queue.  That's
easy to fix, the question is, "was argus suppose to
be exiting?"

Carter

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York  10022

carter at qosient.com
Phone +1 212 588-9133
Fax   +1 212 588-9134

> -----Original Message-----
> From: owner-argus at lists.andrew.cmu.edu
> [mailto:owner-argus at lists.andrew.cmu.edu]On Behalf Of Russell Fulton
> Sent: Tuesday, February 27, 2001 3:33 PM
> To: argus
> Subject: server segfault
> 
> 
> I had an crash form argus beta 7 last night:
> 
> 
> bash-2.04$ gdb bin/argus_bpf data/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"...
> Core was generated by `argus_bpf'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libm.so.2...done.
> Reading symbols from /usr/lib/libc.so.4...done.
> Reading symbols from /usr/libexec/ld-elf.so.1...done.
> #0  ArgusGetQueueCount (queue=0x0) at ./ArgusUtil.c:268
> 268        return (queue->count);
> (gdb) where
> #0  ArgusGetQueueCount (queue=0x0) at ./ArgusUtil.c:268
> #1  0x804d8ac in ArgusGenerateStatusMar () at ./ArgusOutput.c:213
> #2  0x804d97a in ArgusGenerateClosingMar (status=16) at 
> ./ArgusOutput.c:239
> #3  0x804e957 in ArgusSendClosingMar (fd=8, status=16) at 
> ./ArgusOutput.c:856
> #4  0x804e88a in ArgusOutputCleanUp (param=0) at ./ArgusOutput.c:796
> #5  0x804df60 in ArgusOutputProcess () at ./ArgusOutput.c:441
> #6  0x804d635 in ArgusInitOutput () at ./ArgusOutput.c:132
> #7  0x804a50d in main (argc=7, argv=0xbfbffb80) at ./argus.c:376
> (gdb) l
> 263
> 264     #ifdef ARGUSDEBUG
> 265        ArgusDebug (6, "ArgusGetQueueCount (0x%x) 
> returning %d\n", queue, queue->count);
> 266     #endif
> 267
> 268        return (queue->count);
> 269     }
> 270
> 271     void
> 272     ArgusPushQueue(struct ArgusQueueStruct *queue, struct 
> ArgusFlowStruct *obj)
> (gdb) p queue
> $1 = (struct ArgusQueueStruct *) 0x0
> 
> Sorry I can't eaily use argusbugs because the machine cant send mail 
> directly to the net.
> 
> Platform Free BSD 4.2
> 
> 
> Russell Fulton, Computer and Network Security Officer
> The University of Auckland,  New Zealand
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20010227/6668738d/attachment.html>


More information about the argus mailing list