Ethereal-dev: Re: [Ethereal-dev] unhandled exception - XCEPT_GROUP_ETHEREAL

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: Mon, 11 Feb 2002 10:24:15 -0600
On Mon, 11 Feb 2002 03:35:34 Marcin Gryszkalis wrote:
> Tethereal 0.9.1, FreeBSD 4.5
> 
> Runned as:
> tethereal -i rl1 -t ad  -R 'tcp.dstport == 80 and http.request == true'
> 
> Backtrace:
> #0  0x284bd990 in kill () from /usr/lib/libc.so.4
> #1  0x284f9aa2 in abort () from /usr/lib/libc.so.4
> #2  0x81e2970 in unhandled_catcher (except=0xbfbff0d0) at except.c:213
> #3  0x81e292b in do_throw (except=0xbfbff0d0) at except.c:205
> #4  0x81e2b03 in except_throw (except_group=1, except_code=2, 
> msg=0x82e83e4 "XCEPT_GROUP_ETHEREAL") at except.c:269
> #5  0x81ee129 in tvb_ensure_length_remaining (tvb=0x83fd418, offset=0) 
> at tvbuff.c:617
> #6  0x81e77e4 in alloc_field_info (tree=0x83fe018, hfindex=747, 
> tvb=0x83fd418, start=0, length=-1) at proto.c:1634
> #7  0x81e7650 in proto_tree_add_pi (tree=0x83fe018, hfindex=747, 
> tvb=0x83fd418, start=0, length=-1, pfi=0xbfbff1b0)
>      at proto.c:1584
> #8  0x81e62a9 in proto_tree_add_protocol_format (tree=0x83fe018, 
> hfindex=747, tvb=0x83fd418, start=0, length=-1,
>      format=0x8216200 "Frame %u (%u on wire, %u captured)") at proto.c:730
> #9  0x80ac3e2 in dissect_frame (tvb=0x83fd418, pinfo=0x83dea08, 
> tree=0x83fe018) at packet-frame.c:93

Yes, we recently added a use of a function which can throw an exception,
and that exception is not caught in packet-frame.c. We need to change this, but
this is such a strange case; I'm not sure if the packet has 0 bytes of data,
or less?! Can you send us the capture file that caused this exception, even with
just the single packet that causes this problem. If the packet might have
sensitive or private data in it, perhaps you could just send it to me. I'm
interested in seeing exactly what's happening with the tvbuff structure
created for this packet.

Thanks,

--gilbert