Wireshark mailing list archives

Re: Run Time Error


From: Anders Broman <anders.broman () ericsson com>
Date: Tue, 23 Feb 2010 12:57:57 +0100

Hi,
Most probably the problem is what was allready mentioned

Another possibility:

Did you change something in the hf[] array ?

You will get run-time errors for things like:

FT_STRING which doesn't have a BASE_NONE



and so on.

See tmp_fld_check_assert() in epan/proto.c for all the tests applied....

Try running the script found here http://anonsvn.wireshark.org/viewvc/trunk/tools/checkhf.pl?revision=28519
Regards
Anders<http://anonsvn.wireshark.org/viewvc/trunk/tools/checkhf.pl?view=co>


________________________________
From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Rajesh P S
Sent: den 23 februari 2010 12:44
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Run Time Error

Hi,

I tried your above suggestions and I came to know that it is nothing to do with the environment. Something is wrong 
with my dissector only.when I try to build using " nmake -f Makefile.nmake all "(C:\Wireshark) command, I get some T 
shark error. I have attached the snapshot of it. Please help me in this.

Thanks in advance
Rajesh

On Tue, Feb 23, 2010 at 1:07 PM, Rajesh P S <rajeshnie.ec<http://rajeshnie.ec>@gmail.com<http://gmail.com>> wrote:
In Event Viewer I am getting this Info " Faulting application tshark.exe, version 1.1.4.0, faulting module 
libwireshark.dll, version 1.1.4.0, fault address 0x0000fb95." I have attached snapshot of it. Please help me in this.


On Tue, Feb 23, 2010 at 12:59 AM, Maynard, Chris <Christopher.Maynard () gtech com<mailto:Christopher.Maynard () gtech 
com>> wrote:
The link I sent was for the vs2008ee sp1 vcredist_x86.exe.  If that is the problem, you would need the one for vs2005, 
either http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en
or http://www.microsoft.com/downloads/details.aspx?familyid=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en 
depending on which 2005 service pack you're running.

If that doesn't help, then see the other suggestions below ... or the additional suggestion from Bill.  A quick way to 
determine if it's your dissector or not that's causing the problem is to simply remove it from the Makefile.common, 
recompile and then see if wireshark runs.  If it does, well then you know it's something in your dissector and not 
something with your environment.

- Chris

From: wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org> 
[mailto:wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org>] On Behalf Of Rajesh P S
Sent: Monday, February 22, 2010 2:15 PM

To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Run Time Error

No. I am using VS2005. Initially it was working fine. I followed Dev guide properly. In between I dont know what 
happened. Currently I am using windows Xp service pack 2. and wireshark version 1.1x .
On Tue, Feb 23, 2010 at 12:27 AM, Maynard, Chris <Christopher.Maynard () gtech com<mailto:Christopher.Maynard () gtech 
com>> wrote:
Are you actually using VS2008EE or something else?  Did you closely follow the developer guide?   You might want to 
re-read it and verify everything.  You could try "nmake -f Makefile distclean" and then recompile the whole thing; that 
often fixes a lot of problems.  You might also choose to compile and test an "off-the-shelf" version first to make sure 
everything is correct before adding any of your own customizations.  Other usual questions might help resolve the 
problem, e.g. which version of Windows are your running - XP, Vista, which service pack, etc.?  Which version of 
Wireshark are you building - 1.0.x, 1.2.x, 1.3.x, SVN, ...?


From: wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org> 
[mailto:wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org>] On Behalf Of Rajesh P S
Sent: Monday, February 22, 2010 1:36 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Run Time Error

Hi,
Initially it was  working fine. Only last time when I made changes to my source file (packet-oqtp.c)  and tried to open 
wireshark.exe , its giving me this error. I tried your above suggestion but it dint work. may i know wat all the other 
details that you want from my side to get fair knowledge about this issue?

Thanks in advance
Rajesh
On Mon, Feb 22, 2010 at 8:40 PM, Maynard, Chris <Christopher.Maynard () gtech com<mailto:Christopher.Maynard () gtech 
com>> wrote:
Without more information, if I had to guess, it looks like you might not have the right redistributable package 
installed.  If you followed the developer's guide (http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html) 
and are using VS2008EE SP1, be sure to install the corresponding vcredist_x86.exe SP1 package on the target machine.  
Download it from 
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2&displaylang=en.

- Chris


From: wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org> 
[mailto:wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org>] On Behalf Of Rajesh P S
Sent: Monday, February 22, 2010 1:13 AM
To: wireshark-dev () wireshark org<mailto:wireshark-dev () wireshark org>
Subject: [Wireshark-dev] Run Time Error

Hi,
I am working on Wireshark packet analyzer. I am facing one problem with it. When I try to open wireshark.exe, I am 
getting Run time error . I have attached the snapshot with this mail. please help me out in this.

Thanks and Regards
Rajesh

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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org<mailto: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<mailto:wireshark-dev-request () wireshark 
org>?subject=unsubscribe


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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org<mailto: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<mailto:wireshark-dev-request () wireshark 
org>?subject=unsubscribe


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.


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org<mailto: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<mailto:wireshark-dev-request () wireshark 
org>?subject=unsubscribe


___________________________________________________________________________
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

Current thread: