Ethereal-users: [Ethereal-users] parse filter string error when live capture using a filter.

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

From: Ted Redelmeier <ted.redelmeier@xxxxxxxxxxxxx>
Date: Thu, 01 Feb 2001 11:16:16 -0500
Can't  do a live capture using a filter.
I am able to capture, save to a file and subsequently use the filter,
but if I try to  use a filter on live data I get a core dump.
A little background:

uname -a
Linux vmRedHat7 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown

 ethereal -version
ethereal 0.8.15, with GTK+ 1.2.8, with libpcap 0.6, with libz 1.1.3,
without SNMP

su  not su - to root

Ok start with no filters whatsover.

1. Add a filter:  Add filter string => add Expression  => filter string
= dns.query.  filter name = dns; new, save ok.

2.  capture:  start => interface = eth0,  count infinite,

ATTEMPT to select dns filter.  get the following:


Gtk-CRITICAL **: file gtkwidget.c: line 3307 (gtk_widget_set_sensitive):
assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3307 (gtk_widget_set_sensitive):
assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3307 (gtk_widget_set_sensitive):
assertion `GTK_IS_WIDGET (widget)' failed.

[1]+  Segmentation fault      (core dumped) ethereal

here is part of a stack trace generated by

gdb ethereal core

_l_libc_start_main
main
gtk_main
g_main_run

.
.
gtk_signal_emit
gtk_signal_real_emit
gtk_marshal_NONE_NONE
gtk_real_button_released
gtk_button_clicked
gtk_signal_emit
gtk_signal_real_emit
gtk_handlers_run
gtk_marshal_NONE_NONE
filter_dlg_ok_cb
filter_prefs_delete

Thanks for any help.

Ted Redelmeier