Wireshark-dev: Re: [Wireshark-dev] Crash In Wireshark Package

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 27 Jul 2010 12:52:05 -0400

Maybe you can post your dissector or at least the relevant code involving the call to col_add_fstr().

- Chris

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Vishal Kumar Singh
Sent: Tuesday, July 27, 2010 4:59 AM
To: wireshark-dev@xxxxxxxxxxxxx; wireshark-dev-request@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Crash In Wireshark Package

 

Hi All,

I am trying to build a custom dissector. But, when, I try to capture the the intended packet. The program terminates with segmentation fault, saying "report size exceeds the quota size, a crash in the package wireshark-gnome-1.2.2-1.fc12"

I debugged it. Using backtrace, I came to know that col_add_fstr() function is not being invoked properly. If I comment out the function col_add_fstr(). The wireshark runs properly, but, I have to use this function to decode my packet properly.

Can anyone please tell me, what would be the possible reason ? Or, what library file is required to support this function ? Or, Is there any other library function which functions in the same way ?

Thanks & Regards,

Vishal Kumar Singh
Software Engineer
A R I C E N T

CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.