Ethereal-dev: Re: [ethereal-dev] ethereal-0.7.6 abort on Solaris 7

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Tue, 26 Oct 1999 09:45:40 -0500
On Tue, Oct 26, 1999 at 02:58:03PM +0200, Joachim Holzfuss wrote:
> 
> #7  0x34b18 in find_hfinfo_record (hfindex=-1) at proto.c:212
> #8  0x34c6c in proto_tree_add_item_value (tree=0x19e088, hfindex=-1, start=0, 
>     length=14, include_format=1, visible=1, ap=0xefffda84) at proto.c:285
> #9  0x34bd4 in proto_tree_add_item_format (tree=0x19e088, hfindex=-1, start=0, 
>     length=14) at proto.c:249
> #10 0x446a8 in dissect_eth (pd=0x10dee0 "\001\200Â", offset=0, fd=0x19d388, 
>     tree=0x19e088) at packet-eth.c:157

Thanks for the bug report.

Developers: In #9, hfindex, which should be proto_eth, is -1.
It appears that proto_eth was not auto-registered.

Joachim: If you run this command:

./ethereal -G | grep eth

Do you see a line that says:

P       Ethernet        eth

I get 7 lines:

F       Sender ether    aarp.src.ether  FT_ETHER        aarp
F       Target ether    aarp.dst.ether  FT_ETHER        aarp
P       Ethernet        eth
F       Destination     eth.dst FT_ETHER        eth
F       Source  eth.src FT_ETHER        eth
F       Length  eth.len FT_UINT16       eth
F       Type    eth.type        FT_UINT16       eth

--gilbert