Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] ethereal crash

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

From: Gilbert Ramirez <gilramir@xxxxxxxxx>
Date: Mon, 05 Mar 2001 16:39:34 -0600
Paul Ionescu wrote:
> 
> Guy Harris wrote:
> >
> > Which version, and on what platform?  It didn't crash when I tried the
> > current CVS version of Ethereal on FreeBSD 3.4/x86.
> 
> I had ethereal 0.8.15 on Linux/Redhat6.2
> I just downloaded the current version from CVS and it works, no crash.
> But I don't know why it crashes the 0.8.15 version of ethereal.
> Anyway, below is the stack trace you asked for:
> 
> #0  0x402dfd41 in __kill () from /lib/libc.so.6
> #1  0x402df9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
> #2  0x402e10d8 in abort () at ../sysdeps/generic/abort.c:88
> #3  0x401bd833 in g_logv () from /usr/lib/libglib-1.2.so.0
> #4  0x401bd8f6 in g_log () from /usr/lib/libglib-1.2.so.0
> #5  0x813ecaf in proto_item_fill_label (fi=0x82fc2f0,
> label_str=0xbfffe5a4 "Autonomous System  : 1") at proto.c:1850
> #6  0x8128d23 in proto_tree_draw_node (node=0x82c58dc, data=0xbfffe6d8)
> at proto_draw.c:576

proto.c:1850 in 0.8.15 is the default handler for an uknown
FT_* type:


                default:
                        g_error("hfinfo->type %d (%s) not handled\n",
                                        hfinfo->type,
				proto_registrar_ftype_name(hfinfo->type));
                        g_assert_not_reached();
                        break;

The string "Autonomous System " (note the space at the end) is found
in packet-eigrp.c. That field, eigrp.as, does have a proper type
(FT_UINT16).
Did you get any error message (which would have been printed out by
the g_error() call above)?

--gilbert