| From: Guy Harris
| 
| On Dec 19, 2003, at 3:35 AM, Biot Olivier wrote:
| 
| > Attached packet causes Ethereal to crash in malloc() in cygwin
| > run-time DLLs,or to exit upon a failed assertion:
| >
| > ** ERROR **: file tvbuff.c: line 812 
| (ensure_contiguous_no_exception):
| > should not be reached.
| 
| It looks as if the file isn't a valid snoop-format file - the packet 
| sizes for the first record are *VERY* bogus, which probably 
| caused some 
| bogus values to be in the top-level tvbuff, causing the crash.
Bizarre...
| I can read it in Tethereal, because it's not trying to dump 
| the raw hex 
| data (the crash occurs when Ethereal tries to show the hex 
| data pane) - 
| the packet contains SMPP-over-TCP-over-IP-over-Ethernet, and the IP 
| header checksum is valid, so that probably *was* something that at 
| least tried to be a snoop capture.
You can generate a tethereal crash with "-V" option :) It helped to find the
error packet.
| What software produced the capture?
I dumped the packet with Ethereal 0.10.0 by disabling all protocols first so
Ethereal would not crash. The packet is from a trace generated with
mergecap.