Ethereal-dev: [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: Marcin Gryszkalis <mgryszkalis@xxxxxxxxx>
Date: Mon, 11 Feb 2002 13:33:19 +0100
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
#8 0x8178fc6 in dissect_smb_command (tvb=0x83fd4e8, pinfo=0x83dea08, top_tree=0x83fe018, offset=32,
    smb_tree=0x854a818, cmd=37 '%') at packet-smb.c:11956
#9 0x817a44a in dissect_smb (tvb=0x83fd4e8, pinfo=0x83dea08, parent_tree=0x83fe018) at packet-smb.c:14005 #10 0x81e5034 in dissector_try_heuristic (sub_dissectors=0x8360218, tvb=0x83fd4e8, pinfo=0x83dea08, tree=0x83fe018)
    at packet.c:840
#11 0x810ee79 in dissect_netbios_payload (tvb=0x83fd4e8, pinfo=0x83dea08, tree=0x83fe018) at packet-netbios.c:967 #12 0x810f206 in dissect_netbios (tvb=0x83fd4b4, pinfo=0x83dea08, tree=0x83fe018) at packet-netbios.c:1055 #13 0x81e4898 in dissector_try_port (sub_dissectors=0x836b480, port=240, tvb=0x83fd4b4, pinfo=0x83dea08,
    tree=0x83fe018) at packet.c:491
#14 0x80f878b in dissect_llc (tvb=0x83fd44c, pinfo=0x83dea08, tree=0x83fe018) at packet-llc.c:350 #15 0x81e53d9 in call_dissector (handle=0x835f2a0, tvb=0x83fd44c, pinfo=0x83dea08, tree=0x83fe018) at packet.c:955 #16 0x80cde86 in dissect_802_3 (length=142, is_802_2=1, tvb=0x83fd418, offset_after_length=14, pinfo=0x83dea08, tree=0x83fe018, fh_tree=0x854a658, length_id=734, trailer_id=737) at packet-ieee8023.c:90 #17 0x80aa9ab in dissect_eth (tvb=0x83fd418, pinfo=0x83dea08, tree=0x83fe018) at packet-eth.c:212 #18 0x81e4898 in dissector_try_port (sub_dissectors=0x835da80, port=1, tvb=0x83fd418, pinfo=0x83dea08, tree=0x83fe018)
    at packet.c:491
#19 0x80ac681 in dissect_frame (tvb=0x83fd418, pinfo=0x83dea08, tree=0x83fe018) at packet-frame.c:143 #20 0x81e53d9 in call_dissector (handle=0x835f160, tvb=0x83fd418, pinfo=0x83dea08, tree=0x83fe018) at packet.c:955 #21 0x81e44bb in dissect_packet (edt=0x83dea00, pseudo_header=0x0, pd=0x83f6852 "", fd=0xbfbff3c8, cinfo=0x835bdb8)
    at packet.c:242
#22 0x81e263b in epan_dissect_run (edt=0x83dea00, pseudo_header=0x0, data=0x83f6852 "", fd=0xbfbff3c8, cinfo=0x835bdb8)
    at epan.c:103
#23 0x81ce288 in wtap_dispatch_cb_print (user=0xbfbff440 " ¼4\b", phdr=0xbfbff44c, offset=0, pseudo_header=0x0,
    buf=0x83f6852 "") at tethereal.c:1388
#24 0x81cda04 in capture_pcap_cb (user=0x83466c0 "\001", phdr=0x83f6840, pd=0x83f6852 "") at tethereal.c:1063
#25 0x284696b9 in pcap_read () from /usr/lib/libpcap.so.2
#26 0x284692d3 in pcap_dispatch () from /usr/lib/libpcap.so.2
#27 0x81cd677 in capture (packet_count=-1, out_file_type=2) at tethereal.c:959
#28 0x81cd1a6 in main (argc=7, argv=0xbfbffcf4) at tethereal.c:762
#29 0x805da4d in _start ()

--
Marcin Gryszkalis <mg@xxxxxxxxx>
or <dagoon@xxxxxxxxxxxxxxxx>