Ethereal-dev: Re: [ethereal-dev] GTK Segfault!

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Tue, 14 Dec 1999 01:16:19 -0600
On Tue, Dec 14, 1999 at 08:01:41AM +0100, Olivier Abad wrote:
> On lun, déc 13, 1999 at 07:08:46 -0600, Gilbert Ramirez wrote:
> > 
> > I _can_ reproduce it at home. Linux 2.3.31, gtk+-1.2.6.
> > 
> > So there are two commonalities: Gilbert, and sawmill. :)
> 
> Add a third one : Olivier (I also user Linux 2.3.31, gtk+-1.2.6). I'll
> try it at work today.

This one also segfaults on me.

I've notice that it won't segfault if I first increase
the size of the hex pane such that the entire hex dump fits in
the pane (the vertical scroll bar in the hex pane is at 100%, since
it cannot move). After that, selecting and unselecting won't
cause a segfault.

If I do not change the size of the hex pane (and in these packets,
the hex dump doesn't fit in the hex pane by just a few pixels), then
if I select a protocol tree item that causes the hex dump to
scroll, and then unselect it, it segfaults in gtktext.c, unmark_cursor()

--gilbert

Attachment: gtksegv2.cap
Description: Binary data