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

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: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 14 Dec 1999 01:39:19 -0800
> ...but when I downloaded 1.2.3, built and installed it, and recompiled
> Ethereal, the new Ethereal doesn't crash when I try Gilbert's test.

Well, it appears that the breakage may have occurred between 1.2.3 and
1.2.4 (I did some experimentation with different versions).

It also appears that the attached patch, from a thread on "gtk-devel":

http://www.gnome.org/mailing-lists/archives/gtk-devel-list/1999-October/0051.shtml

may fix the problem - that patch may show up in a 1.2.7 release.

Give it a try.
*** gtktext.c.dist	Fri Sep  3 15:20:39 1999
--- gtktext.c	Tue Dec 14 01:17:32 1999
***************
*** 903,908 ****
--- 903,909 ----
    g_return_if_fail (GTK_IS_TEXT (text));
    
    text->freeze_count++;
+   undraw_cursor (text, FALSE);
  }
  
  void
***************
*** 917,922 ****
--- 918,924 ----
  	recompute_geometry (text);
  	gtk_widget_queue_draw (GTK_WIDGET (text));
        }
+   draw_cursor (text, FALSE);
  }
  
  void