[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] Crash In Wireshark Package
From:       "Maynard, Chris" <Christopher.Maynard () GTECH ! COM>
Date:       2010-07-27 16:52:05
Message-ID: FEA7253CE01175418CE6A9BE162A91550A4B91432A () RIMAILMBX2 ! gtk ! gtech ! com
[Download RAW message or body]

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

From: wireshark-dev-bounces@wireshark.org \
                [mailto:wireshark-dev-bounces@wireshark.org] On Behalf Of Vishal \
                Kumar Singh
Sent: Tuesday, July 27, 2010 4:59 AM
To: wireshark-dev@wireshark.org; wireshark-dev-request@wireshark.org
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.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Verdana","sans-serif";
	color:#1F497D;
	font-weight:normal;
	font-style:normal;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Maybe you can post your dissector or at least the relevant code \
involving the call to </span><span style='font-size:10.0pt;font-family:"Courier New";
color:#1F497D'>col_add_fstr().</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>- Chris<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> \
wireshark-dev-bounces@wireshark.org [mailto:wireshark-dev-bounces@wireshark.org] \
<b>On Behalf Of </b>Vishal Kumar Singh<br>
<b>Sent:</b> Tuesday, July 27, 2010 4:59 AM<br>
<b>To:</b> wireshark-dev@wireshark.org; wireshark-dev-request@wireshark.org<br>
<b>Subject:</b> [Wireshark-dev] Crash In Wireshark Package<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi All,<br>
<br>
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
&quot;report size exceeds the quota size, a crash in the package
wireshark-gnome-1.2.2-1.fc12&quot;<br>
<br>
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.<br>
<br>
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 ?<br>
<br>
Thanks &amp; Regards,<br>
<br clear=all>
Vishal Kumar Singh<br>
Software Engineer<br>
A R I C E N T<o:p></o:p></p>

</div>

<pre>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.
</pre></body>

</html>



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
--===============8186985460605852386==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic