Segmentation Fault Issue
Carter Bullard
carter at qosient.com
Tue Nov 24 11:29:41 EST 2009
Hey Polo,
You are reading corrupted argus-2.x data with argus-3.0 clients, which should
work. ra() has lost its alignment with the argus record headers, and so its
searching for the beginning of the next valid record. I know this because we're
looking for the "&pattern" in the argus 2.x header stream (line 1679). I suspect
that we got to the end of the stream input buffer, and kept reading.
If you can share with us the argus data file you are trying to read, I maybe
able to fix the problem. You can upload it to ftp://qosient.com/incoming, or just email it
to the list (if you don't mind sharing the data).
Carter
On Nov 24, 2009, at 8:58 AM, Napoleon Paxton wrote:
> Hi,
>
> I am new to Argus and I was hoping someone could help me out with this problem. When I run any of the ra programs I get a segmentation fault. Here is the fault I get when running the ra program in debug mode.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0809888f in ArgusReadStreamSocket (parser= 0xb7efc input= 0xb7e9a008) at ./argus_client. c:1679
> 1679
> } while (bcmp (&recv2 -> ahdr, &pattern, 4));
> (gdb) bt
> #0 0x0809888f in ArgusReadStreamSocket (parser= 0xb7efc008, input= 0xb7e9a008) at ./argus_client.c:1679
> #1 0x08098bee in ArgusReadFileStream (parser= 0b7efc008, input= 0xbe9a008) at ./argus_client.c :1766
> #2 0x0804c61d in main (argc=3, argv=0xbfe4be54) at ./argus_main.c:231
>
>
> I will appreciate any help with this issue. Thank you.
>
> Polo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3815 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20091124/eaf84654/attachment.bin>
More information about the argus
mailing list