Ethereal-dev: Re: [Ethereal-dev] 'Assertion failed' with CVS snapshots & Mandrake 9.0.

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" <bovenkamp@xxxxxxxxxx>
Date: Tue, 26 Nov 2002 10:45:35 +0100
J.Smith wrote:

> For starters, maybe a backtrace would be nice ? Locate the corefile
> (usually
> in the the current working directory of the process when the crash
> occurs),
> and run "gdb /usr/local/bin/ethereal /somedir/core". When on the gdb
> prompt,
> type "bt".

With an empty '/usr/lib/ethereal/plugins/' directory (as per Guy's mail of 21-10), the backtrace is as follows:

(gdb) bt
#0  0x403653d1 in kill () from /lib/i686/libc.so.6
#1  0x403651d8 in raise () from /lib/i686/libc.so.6
#2  0x40366979 in abort () from /lib/i686/libc.so.6
#3  0x40210bf4 in g_logv () from /usr/lib/libglib-1.2.so.0
#4  0x40210c34 in g_log () from /usr/lib/libglib-1.2.so.0
#5  0x08253363 in proto_register_protocol (
    name=0x4046f5a0 "DOCSIS Registration Requests",
    short_name=0x4046f8f4 "DOCSIS REG-RSP",
    filter_name=0x4046f903 "docsis_regrsp") at proto.c:2073
#6  0x40467fb9 in proto_register_docsis_regrsp ()
   from /usr/lib/ethereal/plugins/0.9.7/docsis.so
#7 0x40461046 in plugin_init () from /usr/lib/ethereal/plugins/0.9.7/docsis.so
#8  0x08250b20 in plugins_scan_dir (
    dirname=0x84dcac0 "/usr/lib/ethereal/plugins/0.9.7") at plugins.c:259
#9  0x08250c0e in init_plugins (
    plugin_dir=0x8417240 "/usr/local/lib/ethereal/plugins/0.9.7")
    at plugins.c:549
#10 0x08250e93 in proto_init (
    plugin_dir=0x8417240 "/usr/local/lib/ethereal/plugins/0.9.7",
    register_all_protocols=0x81f0330 <register_all_protocols>,
register_all_protocol_handoffs=0x81f0970 <register_all_protocol_handoffs>)
    at proto.c:237
#11 0x0824e17f in epan_init (
    plugin_dir=0x8417240 "/usr/local/lib/ethereal/plugins/0.9.7",
    register_all_protocols=0x81f0330 <register_all_protocols>,
    register_all_handoffs=0x81f0970 <register_all_protocol_handoffs>)
    at epan.c:52
#12 0x0820887f in main (argc=1, argv=0xbffff804) at main.c:1459
#13 0x40354082 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

> Post this along with maybe the versions of the libraries
> (gtk/glib/zlib) you
> compiled against, and maybe a description of the action you were
> performing
> when the crash occured.


Library versions (as per 'About Ethereal' for 0.9.7 release):

GTK & GLib 1.2.10
libpcap 0.7
libz 1.1.4
UCD SNMP 4.2.3

	Hope it helps,


--


                          Marco van den Bovenkamp.

          CIO EMEA Network Design Engineer,

          Lucent Technologies Nederland.
          Room: HVS BG444
          Tel.: (+31-35-687)2724
          Mail: bovenkamp@xxxxxxxxxx