Random crashing with rc.40 on Linux
carter at qosient.com
carter at qosient.com
Thu Mar 8 20:47:00 EST 2007
Hey Jonathan,
I think in this case I'm calling ArgusOpenInterface() incorrectly. You're reading a file, and you've finished it, so don't open it again!!! I'll fix that!!!
This is an artifact and not your problem, I suspect!!
Carter
Carter Bullard
QoSient LLC
150 E. 57th Street Suite 12D
New York, New York 10022
+1 212 588-9133 Phone
+1 212 588-9134 Fax
-----Original Message-----
From: Jonathan Towne <jontow at hijacked.us>
Date: Thu, 8 Mar 2007 10:49:08
To:argus-info at lists.andrew.cmu.edu
Subject: Re: [ARGUS] Random crashing with rc.40 on Linux
On Thu, Mar 08, 2007 at 10:39:11AM -0500, Jonathan Towne scribbled:
# On Thu, Mar 08, 2007 at 09:58:44AM -0500, Jonathan Towne scribbled:
# # On Thu, Mar 08, 2007 at 02:08:14PM +0000, carter at qosient.com scribbled:
# # [snip]
# # #
# # # argus -r dump.file -w out.file
# # #
#
# Ok, using the above technique and adding '-ggdb' to the environment
# I've gained the following:
#
# Program received signal SIGSEGV, Segmentation fault.
# 0x0805223f in ArgusOpenInterface (src=0x8220000, inf=0x8220060) at ArgusSource.c:100
# 100 if ((inf->ArgusPd = pcap_open_live(device->name, src->ArgusSnapLen, !src->Arguspflag, 100, errbuf)) != NULL) {
This segfault I think is invalid in a sense. With some quick debugging:
Program received signal SIGSEGV, Segmentation fault.
0x0805221f in ArgusOpenInterface (src=0x8220000, inf=0x8220060) at ArgusSource.c:100
100 printf ("device->name: %s\n", device->name);
I think device->name isn't being set properly and so its breaking; doesn't seem like
this is the same segfault that we're seeing with normal use? Still perhaps a bug.
I'll run a clean debugging-enabled version with a symbol table under gdb and
see what I can find.
-- Jonathan Towne
PS: Sorry to keep replying to myself. I'll stop now.
More information about the argus
mailing list