Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

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

From: Craig Rodrigues <rodrigc@xxxxxxxxxxxx>
Date: Thu, 11 Nov 1999 14:18:43 -0500
On Thu, Nov 11, 1999 at 10:04:20AM -0500, sdlee@xxxxxxxxxx wrote:
> 
> 
> > Now, I'm having some problems if I click on Open or Save in
> > ethereal.  Things coredump inside gdk_string_width() if that
> > function is called from gtk_file_selection_populate().
> > This looks more like a GTK problem now, so that's not too bad.
> 
> 
>   Gtk-WARNING **: gtk_type_create(): type `GtkCList' already exists.
> 
>   Gtk-CRITICAL **: file gtktypeutils.c: line 361: assertion `node != NULL'
> failed.
> 
>   Gtk-CRITICAL **: file gtkclist.c: line 997: assertion `clist != NULL'
> failed.
> 
>   Gtk-CRITICAL **: file gtkwidget.c: line 3789: assertion `widget != NULL'
> failed.
> 
> This was followed by the core dump.
> 
> After removing gtkclist.o from gtk/libui.a and re-linking ethereal,
> File->Open works OK.
> 
> The only differences between gtkclist.c in the gtk distribution and
> gtkclist.c in the ethereal distribution relate to the ROW_ELEMENT
> macro.  It looks like an optimization for retrieving the GList item
> when the requested row is the last row in the list.  Any ideas why
> this causes trouble?

DOH!  I didn't realize that there was a gtkclist.c in ethereal, so
I was stepping through the one in gtk+-1.2.6.  I did
an ar -v -d libui.a gtkclist.o, recompiled ethereal, and now File->Open
does not crash.

Would it break things horribly to remove gtkclist.c  from ethereal?
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx