Ethereal-dev: [Ethereal-dev] Assertion failure on ethereal 0.10.3 under linux-2.6.6 (i686)

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

From: Ross Alexander <ross.alexander@xxxxxxxxxxxxx>
Date: Mon, 10 May 2004 14:20:02 +0100
ethereal 0.10.3
Compiled with GTK+ 1.2.10, with GLib 1.2.10, with libpcap 0.8.3,
with libz 1.2.1, with libpcre 4.5, without UCD-SNMP or Net-SNMP, without ADNS.
Running with libpcap (version unknown) on Linux 2.6.6-rc3.

** ERROR **: file ftypes.c: line 429 (fvalue_set): assertion failed: (fv->ftype->set_value)
aborting...
Aborted

I managed to trace the problem starting with ethereal-2004-03-13 and the change of libethereal
to a shared library (libtool).  I haven't tried compiling with static only.

Many thanks,

Ross

mig27 13:57:10# more backtrace.txt
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...

warning: core file may not match specified executable file.
Core was generated by `lt-ethereal'.
Program terminated with signal 6, Aborted.
Reading symbols from /vobs/ethereal-0.10.3/wiretap/.libs/libwiretap.so.0...
done.
Loaded symbols for /vobs/ethereal-0.10.3/wiretap/.libs/libwiretap.so.0
Reading symbols from /vobs/ethereal-0.10.3/epan/.libs/libethereal.so.0...done.
Loaded symbols for /vobs/ethereal-0.10.3/epan/.libs/libethereal.so.0
Reading symbols from /usr/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /usr/lib/libpcre.so.0...done.
Loaded symbols for /usr/lib/libpcre.so.0
Reading symbols from /opt/gnome-1.4/lib/libgtk-1.2.so.0...done.
Loaded symbols for /opt/gnome-1.4/lib/libgtk-1.2.so.0
Reading symbols from /opt/gnome-1.4/lib/libgdk-1.2.so.0...done.
Loaded symbols for /opt/gnome-1.4/lib/libgdk-1.2.so.0
Reading symbols from /opt/gnome-1.4/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /opt/gnome-1.4/lib/libgmodule-1.2.so.0
Reading symbols from /opt/gnome-1.4/lib/libglib-1.2.so.0...done.
Loaded symbols for /opt/gnome-1.4/lib/libglib-1.2.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/acn.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/acn.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/artnet.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/artnet.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/asn1.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/asn1.so
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/ciscosm.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/ciscosm.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/docsis.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/docsis.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/enttec.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/enttec.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/cosnaming.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/cosnaming.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/coseventcomm.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/coseventcomm.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/gryphon.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/gryphon.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/irda.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/irda.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/lwres.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/lwres.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/megaco.so...
done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/megaco.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/mgcp.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/mgcp.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/pcli.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/pcli.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/rdm.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/rdm.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/rlm.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/rlm.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/rtnet.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/rtnet.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/rudp.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/rudp.so
Reading symbols from /opt/ethereal/lib/ethereal/plugins/0.10.3/v5ua.so...done.
Loaded symbols for /opt/ethereal/lib/ethereal/plugins/0.10.3/v5ua.so
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...
done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x40ca17d1 in __kill () at __kill:-1
-1      __kill: No such file or directory.
       in __kill
(gdb) backtrace
#0  0x40ca17d1 in __kill () at __kill:-1
#1  0x40ca1405 in *__GI_raise (sig=6)
   at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32
#2  0x40ca2b98 in *__GI_abort () at ../sysdeps/generic/abort.c:88
#3  0x40b57d78 in g_logv () at gmessages.c:391
#4  0x40b57db4 in g_log (log_domain=0x0, log_level=0, format=0x0)
   at gmessages.c:408
#5  0x40534cf7 in fvalue_set (fv=0x40770570, value=0x0, already_copied=0)
   at ftypes.c:429
#6  0x4016e357 in proto_tree_set_ether (fi=0x0, value=0x40db6dac "��\023")
   at proto.c:1458
#7  0x4016eea6 in proto_tree_add_ether (tree=0x8394380, hfindex=1081542000,
   tvb=0x0, start=0, length=6, value=0x8133abe "") at proto.c:1414
#8  0x4016ef40 in proto_tree_add_ether_hidden (tree=0x0, hfindex=0, tvb=0x0,
   start=0, length=0, value=0x0) at proto.c:1426
#9  0x40290ee0 in dissect_eth_common (tvb=0x8355fe4, pinfo=0x8331d00,
   tree=0x8394458, fcs_len=-1) at ../packet-eth.c:290
#10 0x4016b0f4 in call_dissector_through_handle (handle=0x8204720,
   tvb=0x408ba454, pinfo=0x8331d00, tree=0x8394458) at packet.c:363
#11 0x4016b37f in call_dissector_work (handle=0x8204720, tvb=0x8355fe4,
   pinfo=0x8331d00, tree=0x8394458) at packet.c:513
#12 0x4016be26 in dissector_try_port (sub_dissectors=0x0, port=1,
   tvb=0x8355fe4, pinfo=0x408ba454, tree=0x0) at packet.c:776
#13 0x402b5e5f in dissect_frame (tvb=0x8355fe4, pinfo=0x8331d00,
   tree=0x8394458) at ../packet-frame.c:184
#14 0x4016b0f4 in call_dissector_through_handle (handle=0x81693d0,
   tvb=0x8355fe4, pinfo=0x8331d00, tree=0x8394458) at packet.c:363
#15 0x4016b37f in call_dissector_work (handle=0x81693d0, tvb=0x8355fe4,
   pinfo=0x8331d00, tree=0x8394458) at packet.c:513
#16 0x4016b4e4 in call_dissector (handle=0x0, tvb=0x8355fe4, pinfo=0x8331d00,
   tree=0x8355fe4) at packet.c:1614
#17 0x4016b854 in dissect_packet (edt=0x8331cf8, pseudo_header=0x0,
   pd=0x8133ab8 "", fd=0x8379af8, cinfo=0x8355fe4) at packet.c:311
#18 0x40168e59 in epan_dissect_run (edt=0x0, pseudo_header=0x0, data=0x0,
   fd=0x0, cinfo=0x0) at epan.c:133
#19 0x08066cb5 in select_packet (cf=0x81339a0, row=137715684) at file.c:2460
#20 0x0807b3ac in set_frame_mark (set=0, frame=0x40db6dac, row=137526992)
   at packet_list.c:287
#21 0x40a680ae in gtk_marshal_NONE__INT_INT_POINTER (object=0x0,
func=0x807b340 <packet_list_select_cb+80>, func_data=0x0, args=0x40db6dac)
   at gtkmarshal.c:300
#22 0x40a9e325 in gtk_handlers_run (handlers=0x8327ed0, signal=0xbfffcfb0,
   object=0x832c638, params=0xbfffd020, after=0) at gtksignal.c:1912
#23 0x40a9d67d in gtk_signal_real_emit (object=0x832c638, signal_id=83,
   params=0xbfffd020) at gtksignal.c:1477
#24 0x40a9b012 in gtk_signal_emit (object=0x832c638, signal_id=83)
   at gtksignal.c:552
#25 0x08094690 in real_row_move (clist=0x0, source_row=0, dest_row=-1)
   at ethclist.c:2869
#26 0x0809d02b in real_insert_row (clist=0x0, row=-1, text=0x82e37c8)
   at ethclist.c:2651
#27 0x080941c4 in eth_clist_append (clist=0x832c638, text=0x82e37c8)
   at ethclist.c:2602
#28 0x0807c06c in packet_list_set_colors (row=135477664, fg=0x0, bg=0x835d580)
   at packet_list.c:626
#29 0x08064dd6 in add_packet_to_packet_list (fdata=0x8379af8, cf=0x81339a0,
   pseudo_header=0x0, buf=0x0, refilter=1) at file.c:883
#30 0x08064fcb in read_packet (cf=0x835d580, offset=40) at file.c:934
#31 0x08067a1d in cf_read (cf=0x81339a0) at file.c:400
#32 0x0806441f in do_capture (save_file=0x0) at capture.c:431
#33 0x080a7463 in capture_prep_ok_cb (ok_bt=0x833d590, parent_w=0x834de70)
   at capture_dlg.c:1365
#34 0x40a680d6 in gtk_marshal_NONE__NONE (object=0x0,
   func=0x80a6a00 <capture_prep_ok_cb+80>, func_data=0x0, args=0xbfffe8a0)
   at gtkmarshal.c:312
#35 0x40a9e325 in gtk_handlers_run (handlers=0x834f7c8, signal=0xbfffe830,
   object=0x833d590, params=0xbfffe8a0, after=0) at gtksignal.c:1912
#36 0x40a9d67d in gtk_signal_real_emit (object=0x833d590, signal_id=77,
   params=0xbfffe8a0) at gtksignal.c:1477
#37 0x40a9b012 in gtk_signal_emit (object=0x833d590, signal_id=77)
   at gtksignal.c:552
#38 0x40ada79d in gtk_widget_activate (widget=0x833d590) at gtkwidget.c:2890
#39 0x40ae355d in gtk_window_key_press_event (widget=0x833d590,
   event=0x834ba60) at gtkwindow.c:1282
#40 0x40a67d06 in gtk_marshal_BOOL__POINTER (object=0x0,
   func=0x40ae3330 <gtk_window_key_press_event>, func_data=0x0,
   args=0x40db6dac) at gtkmarshal.c:28
#41 0x40a9d4ba in gtk_signal_real_emit (object=0x833d590, signal_id=137504128,
   params=0xbfffec70) at gtksignal.c:1492
#42 0x40a9b012 in gtk_signal_emit (object=0x834de70, signal_id=26)
   at gtksignal.c:552
#43 0x40ada464 in gtk_widget_event (widget=0x834de70, event=0x834ba60)
   at gtkwidget.c:2864
#44 0x40a67c56 in gtk_propagate_event (widget=0x834ba60, event=0x834ba60)
   at gtkmain.c:1360
#45 0x40a66954 in gtk_main_do_event (event=0x834ba60) at gtkmain.c:818
#46 0x40b229b5 in gdk_event_dispatch (source_data=0x0,
   current_time=0xbffff060, user_data=0x0) at gdkevents.c:2139
#47 0x40b5536b in g_main_dispatch (dispatch_time=0xbffff060) at gmain.c:656
#48 0x40b55856 in g_main_iterate (block=0, dispatch=1) at gmain.c:877
#49 0x40b55b04 in g_main_run (loop=0x834d050) at gmain.c:935
#50 0x40a663df in gtk_main () at gtkmain.c:524
#51 0x080773cf in main (argc=0, argv=0xbffff358) at main.c:2414
#52 0x40c8d936 in __libc_start_main (main=0x80761f0 <main+80>, argc=1,
   ubp_av=0x0, init=0x80f1830 <__libc_csu_fini+32>,
   fini=0x80f1860 <atexit+16>, rtld_fini=0x833aef8, stack_end=0x40db6dac)
   at ../sysdeps/generic/libc-start.c:152