Ethereal-dev: Re: [Ethereal-dev] GTK1 assertion fails (gtk_combo_set_popdown_strings) when br

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

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Thu, 21 Oct 2004 12:14:56 -0700 (PDT)
Jeff Morriss said:

> I get this with 0.10.7 every time I open the "start capture" dialog:
>
>> Gtk-CRITICAL **: file gtkcombo.c: line 849
>> (gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.

The code to set up the combo box for filter expressions wasn't checking
whether the list of remembered filter expressions was null before setting
the list.  If you don't have any remembered filter expressions, the list
will be null.

> This is on Solaris 8 & 9 using GTK 1.2.10 .

Perhaps GTK+ 2.x silently ignores attempts to set a combo box's list of
popdown strings to a null list, while 1.2[.x] complains.

Have you done any captures with a capture filter?  If not, do so - that
should add the filter to the list and suppress the warning.

I've checked in a fix.