Ethereal-dev: Re: [Ethereal-dev] proto.c assertion failed

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:17:12 -0600
On Mon, 11 Feb 2002 06:33:19 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'
> 
> Error:
> ** ERROR **: file proto.c: line 1613 (alloc_field_info): assertion 
> failed: (tvb != NULL || length == 0)
> aborting...
> 
> Backtrace:
> #0  0x284bd990 in kill () from /usr/lib/libc.so.4
> #1  0x284f9aa2 in abort () from /usr/lib/libc.so.4
> #2  0x2842f426 in g_logv () from /usr/local/lib/libglib12.so.3
> #3  0x2842f4dd in g_log () from /usr/local/lib/libglib12.so.3
> #4  0x81e7700 in alloc_field_info (tree=0x83fe018, hfindex=3937, 
> tvb=0x0, start=0, length=-1) at proto.c:1613
> #5  0x81e5c68 in proto_tree_add_item (tree=0x83fe018, hfindex=3937, 
> tvb=0x0, start=0, length=-1, little_endian=0)
>      at proto.c:534
> #6  0x817cf47 in dissect_mailslot_smb (mshdr_tvb=0x0, setup_tvb=0x0, 
> tvb=0x83fd51c, mailslot=0x0, pinfo=0x83dea08,
>      parent_tree=0x83fe018) at packet-smb-mailslot.c:134
> #7  0x8178ca2 in dissect_transaction_response (tvb=0x83fd4e8, 
> pinfo=0x83dea08, tree=0x840c11c, offset=124,
>      smb_tree=0x854a818) at packet-smb.c:11595

Thanks. A fix for this was checked in recently. 

--gilbert