Ethereal-dev: [Ethereal-dev] ethereal crash when set display filter

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

From: Ming Zhang <mingz@xxxxxxxxxxx>
Date: Wed, 01 Mar 2006 11:06:08 -0500
tried svn code -r17430 which still have this bug since .10.14. i did not
have account for submit a bug, so post here.

whenever i enter "iscsi contains W" in display filter, it oops like
this. this is stack from gdb, it reference a NULL pointer.


Ming

--------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233544832 (LWP 31637)]
tvb_find_tvb (haystack_tvb=0x0, needle_tvb=0x880cfd8, haystack_offset=0)
at tvbuff.c:2311
2311            if (haystack_tvb->length < 1 || needle_tvb->length < 1)
{
(gdb) bt
#0  tvb_find_tvb (haystack_tvb=0x0, needle_tvb=0x880cfd8,
haystack_offset=0) at tvbuff.c:2311
#1  0xb739d268 in cmp_contains (fv_a=0x880cfd8, fv_b=0x880cfd8) at
ftype-tvbuff.c:203
#2  0xb739a48b in fvalue_contains (a=0x87c9914, b=0x83e1f50) at
ftypes.c:522
#3  0xb739351c in any_test (df=0x888c3a8, cmp=0xb739a430
<fvalue_contains>, reg1=142659544, reg2=1) at dfvm.c:314
#4  0xb7393688 in dfvm_apply (df=0x888c3a8, tree=0x87c1040) at
dfvm.c:470
#5  0xb7392f63 in dfilter_apply_edt (df=0x888c3a8, edt=0x880cfd8) at
dfilter.c:310
#6  0x0806832a in add_packet_to_packet_list (fdata=0x85c80c8,
cf=0x815d4c0, pseudo_header=0x815d534, buf=0x815d5c4 "", refilter=1) at
file.c:834
#7  0x0806ad38 in rescan_packets (cf=0x815d4c0, action=0x80fa1c9
"Filtering", action_item=0x8468060 "iscsi contains W", refilter=1,
redissect=0) at file.c:1449
#8  0x0806b171 in cf_filter_packets (cf=0x815d4c0, dftext=0x8468060
"iscsi contains W", force=0) at file.c:1250
#9  0x0807c8b9 in main_filter_packets (cf=0x815d4c0, dftext=0x88a33a0
"iscsi contains W", force=0) at main.c:531
#10 0x0807ce40 in filter_activate_cb (w=0x8467fb8, data=0x8467fb8) at
main.c:569
#11 0xb6b3fab3 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#12 0xb6b343a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0xb6b42b13 in g_signal_stop_emission ()
from /usr/lib/libgobject-2.0.so.0
#14 0xb6b438a1 in g_signal_emitv () from /usr/lib/libgobject-2.0.so.0
#15 0xb6e2ede5 in gtk_bin_get_child () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb6e2fdb9 in gtk_binding_set_by_class ()
from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb6e30029 in gtk_binding_set_by_class ()
from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb6e30227 in gtk_bindings_activate_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb6fd5fb1 in gtk_widget_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb6e8a374 in gtk_entry_set_visibility ()
from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb6ef402c in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb6b33d75 in g_cclosure_new_swap ()
from /usr/lib/libgobject-2.0.so.0
#23 0xb6b343a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb6b42c9f in g_signal_stop_emission ()
from /usr/lib/libgobject-2.0.so.0
#25 0xb6b43ec3 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#26 0xb6b444c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb6fd616f in gtk_widget_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb6fe57e1 in gtk_window_propagate_key_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb6fe9af5 in gtk_window_activate_key ()
from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb6ef402c in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb6b33d75 in g_cclosure_new_swap ()
from /usr/lib/libgobject-2.0.so.0
#32 0xb6b343a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0xb6b42c9f in g_signal_stop_emission ()
from /usr/lib/libgobject-2.0.so.0
#34 0xb6b43ec3 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#35 0xb6b444c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#36 0xb6fd616f in gtk_widget_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb6ef2879 in gtk_propagate_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb6ef2ba0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb6d96b2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#40 0xb6ac44ee in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#41 0xb6ac74f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#42 0xb6ac77e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#43 0xb6ef1e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#44 0x08080c4b in main (argc=0, argv=0xbfac3698) at main.c:2752