ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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

From: Andreas <AndreasSander1@xxxxxxx>
Date: Sun, 13 May 2012 09:47:29 +0200
Am 13.05.2012 07:59, schrieb Krishnamurthy Mayya:
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 ???

call_dissector_only is called from call_dissector what itself is called from dozens functions. Probably you may have a problem with registering your dissector correctly, but that's only a vague guess without any source code.

What about running Wireshark in a debugger, catching the assertion and examining the return stack? This could give a hint *which* handle is NULL.