Ethereal-dev: Re: [ethereal-dev] SIGSEGV while "Match Selected"

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxx>
Date: Sun, 24 Oct 1999 09:45:31 -0400
On Sat, Oct 23, 1999 at 11:20:49PM +0200, Kojak wrote:
> Hi
> 
> When I was doing a "Match selected" on an frame[48:4] == xx:xx:xx:xx,
> I got the following crash.
> 
> ** ERROR **: file ../ethereal/packet-sna.c: line 709 (dissect_fid4): assertion failed: (offset+8 == 26)
> aborting...

Actually, this is great news. I had to write that section of the SNA
decoder blind. That is, I had no trace data against which to test. I put
in that assert just to check my own coding. Can you please send me a trace
file that causes that crash?
 
> Unfortunately, I didn't build ethereal with debugging information, so
> I cannot reconstruct the state of the moment.
> 
> It's difficult to reproduce (almost impossible really); twice in a row
> and then never again.... Makes me wonder.

Take a trace, save the file, then apply any filter. If it crashes with
that assert, then an SNA packet in that trace is causing the crash. I'd
love to see that trace file.

thanks,

--gilbert