ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Assertion failed.

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Mon, 14 May 2012 12:44:01 -0400
Krishnamurthy Mayya wrote:
Hi all,
I am writing a new dissector and for that purpose, have written a new file. As suggested by Jeff, i have included the file in Makefile.commom also for compilation to be successful.
But, when trying to capture the packet i am getting this error.

*ERROR:packet.c:1982:call_dissector_only: assertion failed: (handle != NULL)*
*Aborted*

Any idea what might have gone wrong ??? Its a new MPLS-TP dissector for Lock Instruct messages (as per RFC 6435) and i have followed the format Francesco has followed for PSC dissection.

Sounds like you're calling call_dissector() with a NULL handle.