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-users: [Wireshark-users] Debugging Wireshark dissector plugins

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


From: sean bzd <seanbzd@xxxxxxxxx>
Date: Tue, 12 Jan 2010 13:52:45 -0500

I asked a similar question before but got no response. Can someone please provide some direction? 

Problem:
I have a custom dissector and works fine most of the time; but sometimes, when I load the network capture containing packets (that the dissector is supposed to understand), the Wireshark application just hangs. The CPU consumption goes to 50% and stays there...it is as if it is in a tight loop. I'm using version 1.2.2 but same happens with different versions of wireshark; I know that the problem is in the dissector because if I remove the dissector plugin, wireshark is able to load the capture file. But i need some direction on how to proceed forward. Can i put some printfs in the dissector or elsewhere? Any other ideas?

Thanks,
Sean
  • Follow-Ups:
    • Re: [Wireshark-users] Debugging Wireshark dissector plugins
      • From: Stephen Fisher
    • Re: [Wireshark-users] Debugging Wireshark dissector plugins
      • From: Tim.Poth
    • Re: [Wireshark-users] Debugging Wireshark dissector plugins
      • From: wsgd
  • Prev by Date: [Wireshark-users] Noob Questions
  • Next by Date: Re: [Wireshark-users] Debugging Wireshark dissector plugins
  • Previous by thread: Re: [Wireshark-users] Noob Questions
  • Next by thread: Re: [Wireshark-users] Debugging Wireshark dissector plugins
  • Index(es):
    • Date
    • Thread

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