Ethereal-dev: Re: [ethereal-dev] LDAP bug in ethereal ?

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 18 Jan 2000 17:44:35 -0800 (PST)
> (gdb) run
> Starting program: /home/mstekrt/ethereal/./ethereal
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x40142f7c in gtk_text_forward_delete () from /usr/lib/libgtk-1.2.so.0

The stack trace looks a tad bizarre, but this *might* be a bug somebody
found in the GTK+ text widget; they sent the GTK+ mailing list a patch,
so it may eventually show up in a future release (I think it got checked
into the CVS tree) - I'm attaching their patch, which should be applied
to "gtktext.c".

> Imediately after, it blocks my mouse. I cannot select
> anything and cursor has arrow shape. Cannot select window frames nor
> taskbar.

GTK+ has the annoying habit of doing grabs of some sort, meaning that if
you stop in the debugger at the wrong point, your window system is at
least semi-stuck.
*** gtktext.c	1999/10/14 02:51:36	1.1
--- gtktext.c	1999/11/16 07:15:58
***************
*** 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