Ethereal-dev: [Ethereal-dev] Abort in latest (2002-04-08) CVS snapshot.

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

From: "M.C. van den Bovenkamp" <marco@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 08 Apr 2002 19:39:08 +0200
L.S.

I have a problem with the 2002-04-08 CVS snapshot that wasn't in the -07
snapshot.

On both of my Linux machines (one kernel 2.2.13, the other 2.4.18) it
aborts when I do a 'Expand all' in the Display menu, with the following
error:

** ERROR **: file proto_draw.c: line 169 (expand_tree): assertion
failed: (finfo->tree_type >= 0 && finfo->tree_type < num_tree_types)
aborting...

'Ethereal -v' gives (on the 2.2.13 box):

This is GNU ethereal 0.9.3, compiled with GTK+ 1.2.6, with GLib 1.2.6,
with libpcap current-cvs.tcpdump.org.2002.01.20, with libz 1.1.3,
without UCD SNMP

Backtrace (again on the 2.2.13 box):

#0  0x402781a1 in kill () from /lib/libc.so.6
#1  0x40277e0a in raise () from /lib/libc.so.6
#2  0x402793cf in abort () from /lib/libc.so.6
#3  0x4017483a in g_logv () from /usr/lib/libglib-1.2.so.0
#4  0x401748ee in g_log () from /usr/lib/libglib-1.2.so.0
#5  0x819ed2a in expand_tree (ctree=0x8408ee8, node=0x84297dc,
user_data=0x0)
    at proto_draw.c:169
#6  0x400a23b5 in gtk_marshal_NONE__POINTER () from
/usr/lib/libgtk-1.2.so.0
#7  0x400cd6f4 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#8  0x400ccbee in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#9  0x400caf25 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#10 0x4006bd48 in tree_expand () from /usr/lib/libgtk-1.2.so.0
#11 0x4006d561 in gtk_ctree_post_recursive () from
/usr/lib/libgtk-1.2.so.0
#12 0x4006d544 in gtk_ctree_post_recursive () from
/usr/lib/libgtk-1.2.so.0
#13 0x4006d544 in gtk_ctree_post_recursive () from
/usr/lib/libgtk-1.2.so.0
#14 0x4006e2f4 in gtk_ctree_expand_recursive () from
/usr/lib/libgtk-1.2.so.0
#15 0x81a0245 in expand_all_tree (protocol_tree=0x842de80,
tree_view=0x8408ee8)    at proto_draw.c:844
#16 0x81963b7 in expand_all_cb (widget=0x83feff8, data=0x0) at
main.c:847
#17 0x40093eac in gtk_item_factory_callback_marshal ()
#18 0x400a250b in gtk_marshal_NONE__NONE () from
/usr/lib/libgtk-1.2.so.0
#19 0x400cd6f4 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#20 0x400ccbee in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x400caf25 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x400fda34 in gtk_widget_activate () from /usr/lib/libgtk-1.2.so.0
#23 0x400a9437 in gtk_menu_shell_activate_item () from
/usr/lib/libgtk-1.2.so.0
#24 0x400a8857 in gtk_menu_shell_button_release ()from
/usr/lib/libgtk-1.2.so.0
#25 0x400a21ed in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#26 0x400ccc27 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#27 0x400caf25 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#28 0x400fd908 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#29 0x400a216e in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#30 0x400a14ca in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#31 0x40145a12 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#32 0x4017237f in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#33 0x4017292b in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#34 0x40172aa9 in g_main_run () from /usr/lib/libglib-1.2.so.0
#35 0x400a0e49 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#36 0x819762b in main (argc=0, argv=0xbffffa58) at main.c:1942

Hope it helps,

		Marco.