Ethereal-dev: Re: [Ethereal-dev] 'Assertion failed' with CVS snapshots & Mandrake9.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 14:29:45 +0100
Hi Guy,

Does it happen if you *do* run "make install" first?

Yes, it does. I removed the '/usr/local/lib/ethereal/plugins/0.9.7' directory and ran 'make install', which put the binaries in '/usr/local/bin' and the plugins back in '/usr/local/lib/ethereal/plugins/0.9.7', so I'm sure it's picking up the correct plugins.

Running '/usr/local/bin/ethereal' results in:

[root@notebook ethereal-2002-11-25]# /usr/local/bin/ethereal

** ERROR **: file proto.c: line 2043 (proto_register_protocol): assertion failed: (g_list_find_custom(protocols, name, proto_match_name) == NULL)
aborting...
Aborted (core dumped)

The backtrace:

(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=0xbffff7e4) at main.c:1459
#13 0x40354082 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

		Regards,

--


                          Marco van den Bovenkamp.

          CIO EMEA Network Design Engineer,

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