Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Windows build crashing

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 03 Jul 2007 09:39:06 +0100

Jim Pickering wrote:
> The build environment is Visual C++ 2005 Express Edition.
> 
> I built adns_dll.dll with Visual C++ 2005 Express Edition and relinked
> wireshark, as suggested.
> 
> Wireshark still crashes when loading a previously saved capture file or
> when starting a new capture.
>

Are you sure that the new dll is being used, i.e. that it is in the dir where
wireshark.exe is located?  You might have do do a clean (nmake -f
makefile.nmake clean) and then a rebuild.

If you are using the new dll, then you will have to do a little more work in
order to identify where the problem is, by using the VS debugger

The procedure I use is to run wireshark out of the build tree
(wireshark-gtk2\wireshark.exe) fire up VS and from the Tools Menu choose
"Attach to Process".  Select wireshark.exe from the list, then do whatever you
need to cause a crash.  VS may ask you for the path to the sources.  To help
with the debugging, make sure you have a symbol cache setup pointing to the MS
Symbol Server (Tools | Options | Debugging | Symbols and then F1 for the help,
read this and then look for "How to: Use a Symbol Server").

-- 
Regards,

Graham Bloice

  • Follow-Ups:
    • Re: [Wireshark-dev] Windows build crashing
      • From: Jim Pickering
  • References:
    • Re: [Wireshark-dev] Windows build crashing
      • From: Jim Pickering
  • Prev by Date: Re: [Wireshark-dev] develop a tool to parse captured file
  • Next by Date: [Wireshark-dev] how to disable dissectors when I build TShark ?
  • Previous by thread: Re: [Wireshark-dev] Windows build crashing
  • Next by thread: Re: [Wireshark-dev] Windows build crashing
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation