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

Ethereal-dev: [Ethereal-dev] Assertion error

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Jim Fan" <gzjimfan@xxxxxxxxx>
Date: Tue, 20 Jun 2006 17:48:21 -0700
Hi, I am getting an error in one of the packets I am decoding:
 
dissector bug, protocol xxx: proto.c:2742 Failed assertion "(guint)hfIndex < gpa_hfInfo.len"
 
I found that this could be related to the limitation of how many header fields can a protocol have. 200 is the default value. In my case I have over 200 header fields (approximately 260), therefore any header fields that is after the 200th are reported as assertion error. Ethereal should have the ability of dynamically increases the memory allocation on the go based on the dissector definition, but somehow I am getting this error here.
 
Anyone has any idea about how to fix this problem?
 
Thanks...
Jim
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev