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: [Wireshark-dev] Plugin module dissctor fails assertion

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


From: Johannes Bauer <dfnsonfsduifb@xxxxxx>
Date: Thu, 05 Feb 2009 16:00:56 +0100

Hello list,

I'm currently trying to write a wireshark disector that slices up a
specific custom USB device. Now I've read the (BTW absolutely
marvellous!) documentation about how writing plugins and I can get
disectors to work which do basic stuff (like recognize IP packets or
such). But since I want to disect USB (which appearently is also coded
in a module), when I call:

dissector_add("usb.data_flag", 0x1, sbig_handle);

Wireshark cries out in pain:

ERROR:packet.c:697:dissector_add: assertion failed: (sub_dissectors)

It seems it cannot find the "usb" disector (which presumably isn't
loaded at that time of execution) - it doesn't matter if I type in
"usb.data_flag" or "fdsuhfd", it's the exact same exception.

How is such a case handled, where one plugin depends on another being
loaded?

Kind regards
Johannes

  • Follow-Ups:
    • Re: [Wireshark-dev] Plugin module dissctor fails assertion
      • From: Jeff Morriss
  • Prev by Date: Re: [Wireshark-dev] explicitly stop capture with Tshark
  • Next by Date: Re: [Wireshark-dev] Plugin module dissctor fails assertion
  • Previous by thread: [Wireshark-dev] buildbot failure in Wireshark (development) on Solaris-10-SPARC
  • Next by thread: Re: [Wireshark-dev] Plugin module dissctor fails assertion
  • Index(es):
    • Date
    • Thread

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