Ethereal-dev: Re: [Ethereal-dev] Ethereal crashes while opening a file

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 14 Jan 2005 04:24:00 -0800
Matevz Pustisek wrote:

I got the same problem and managed to isolate a sigle packet (see the attached capture file) that causes crashing.

That's not necessarily the *same* problem - the assertion is in a routine called from another routine, with the latter routine called by a dissector, but that routine is called by many dissectors; the assertion checks whether one argument passed to that routine points to a valid value. The crash Frank Maerz saw might have been in a different dissector than the one in which Ethereal and Tethereal crash in your dissector, even though it was in the same line of the same routine.

I can open the file in tethereal:

...but not if you use the "-V" flag; it only shows up if a full dissection, rather than a dissection sufficient to generate the column values and build any state information, is done.

I've checked in a fix for the crash caused by your capture.