Ethereal-dev: [Ethereal-dev] proto.c: line 1400 (proto_tree_add_uint): should not be reached

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: Thu, 14 Feb 2002 16:49:26 +0100
It's tethereal 0.9.1 (2002/02/11 snapshot)
oh, btw, why there's no configure script in snapshots?

FreeBSD 4.5
libcap 0.6 (FreeBSD oryginal)

proto.c version:
 * $Id: proto.c,v 1.51 2002/02/01 04:34:17 gram Exp $

backtrace:
#0  0x284bd994 in kill () from /usr/lib/libc.so.4
#1  0x284f9b06 in abort () from /usr/lib/libc.so.4
#2  0x28449426 in g_logv () from /usr/local/lib/libglib12.so.3
#3  0x284494dd in g_log () from /usr/local/lib/libglib12.so.3
#4 0x81ec088 in proto_tree_add_uint (tree=0x8721958, hfindex=4616, tvb=0x83f88e8, start=338, length=1, value=0)
    at proto.c:1400
#5 0x819e97c in ucp_handle_byte (tree=0x8721958, tvb=0x83f88e8, field=4616, offset=0xbfbfe798) at packet-ucp.c:722 #6 0x81a06ca in add_5xO (tree=0x8721958, tvb=0x83f88e8) at packet-ucp.c:1441 #7 0x81a15b2 in dissect_ucp (tvb=0x83f88b4, pinfo=0x83f9a08, tree=0x8418018) at packet-ucp.c:1739 #8 0x81a0ccc in dissect_ucp_heur (tvb=0x83f88b4, pinfo=0x83f9a08, tree=0x8418018) at packet-ucp.c:1565 #9 0x81e9ddc in dissector_try_heuristic (sub_dissectors=0x837a210, tvb=0x83f88b4, pinfo=0x83f9a08, tree=0x8418018)
    at packet.c:840
#10 0x8198d3f in decode_tcp_ports (tvb=0x83f8880, offset=20, pinfo=0x83f9a08, tree=0x8418018, src_port=4928,
    dst_port=1035) at packet-tcp.c:867
#11 0x8199b38 in dissect_tcp (tvb=0x83f8880, pinfo=0x83f9a08, tree=0x8418018) at packet-tcp.c:1188 #12 0x81e9640 in dissector_try_port (sub_dissectors=0x8377f40, port=6, tvb=0x83f8880, pinfo=0x83f9a08, tree=0x8418018)
    at packet.c:491
#13 0x80d6523 in dissect_ip (tvb=0x83f884c, pinfo=0x83f9a08, tree=0x8418018) at packet-ip.c:1116 #14 0x81e9640 in dissector_try_port (sub_dissectors=0x8377a20, port=2048, tvb=0x83f884c, pinfo=0x83f9a08,
    tree=0x8418018) at packet.c:491
#15 0x80af694 in ethertype (etype=2048, tvb=0x83f8818, offset_after_etype=14, pinfo=0x83f9a08, tree=0x8418018, fh_tree=0x84417d4, etype_id=773, trailer_id=775) at packet-ethertype.c:156 #16 0x80af3f6 in dissect_eth (tvb=0x83f8818, pinfo=0x83f9a08, tree=0x8418018) at packet-eth.c:230 #17 0x81e9640 in dissector_try_port (sub_dissectors=0x8377a80, port=1, tvb=0x83f8818, pinfo=0x83f9a08, tree=0x8418018)
    at packet.c:491
#18 0x80b0f99 in dissect_frame (tvb=0x83f8818, pinfo=0x83f9a08, tree=0x8418018) at packet-frame.c:143 #19 0x81ea181 in call_dissector (handle=0x8379160, tvb=0x83f8818, pinfo=0x83f9a08, tree=0x8418018) at packet.c:955 #20 0x81e9263 in dissect_packet (edt=0x83f9a00, pseudo_header=0x0, pd=0x841297e "", fd=0xbfbfee58, cinfo=0x83765dc)
    at packet.c:242
#21 0x81e73e3 in epan_dissect_run (edt=0x83f9a00, pseudo_header=0x0, data=0x841297e "", fd=0xbfbfee58, cinfo=0x83765dc)
    at epan.c:103
#22 0x81d3008 in wtap_dispatch_cb_print (user=0xbfbfeed0 "�d6\b", phdr=0xbfbfeedc, offset=0, pseudo_header=0x0,
    buf=0x841297e "") at tethereal.c:1396
#23 0x81d2770 in capture_pcap_cb (user=0x83609a0 "\001", phdr=0x841296c, pd=0x841297e "") at tethereal.c:1065
#24 0x81feb8c in pcap_read ()
#25 0x81ff012 in pcap_dispatch ()
#26 0x81d23e3 in capture (packet_count=-1, out_file_type=2) at tethereal.c:961
#27 0x81d1f12 in main (argc=7, argv=0xbfbff784) at tethereal.c:764
#28 0x805f9d5 in _start ()

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