Random crashing with rc.40 on Linux
Jonathan Towne
jontow at hijacked.us
Thu Mar 8 10:49:08 EST 2007
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