Ethereal-dev: [Ethereal-dev] Ethereal crashed when opening captured file (ERROR tvbuff.c)

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

From: "Aschenneller, Daniel" <Daniel.Aschenneller@xxxxxxxxxxx>
Date: Tue, 14 Oct 2003 08:38:11 +0200
Hi guys,
 
we are using v 0.9.15 on a SUSE Linux 8.1 and opened a captured file. After that we got 
** ERROR **:file tvbuff.c:line 897 (ensure_cntiguous): assertion failed: (exception > 0), please see the attached backtrace.
 
Thanks in advance,
 
Daniel
** ERROR **: file tvbuff.c: line 897 (ensure_contiguous): assertion failed: (exception > 0)
aborting...

Program received signal SIGABRT, Aborted.
0x40469df1 in kill () from /lib/libc.so.6
(gdb) backtrace
#0  0x40469df1 in kill () from /lib/libc.so.6
#1  0x40469bd8 in raise () from /lib/libc.so.6
#2  0x4046b4d9 in abort () from /lib/libc.so.6
#3  0x402f4a17 in g_logv () at gmessages.c:391
#4  0x402f4a46 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, 
    format=0x83124e0 "file %s: line %d (%s): assertion failed: (%s)") at gmessages.c:408
#5  0x082e9280 in ensure_contiguous (tvb=0x1172a7a0, offset=32, length=-1079278004) at tvbuff.c:898
#6  0x082e1a6e in proto_tree_set_bytes_tvb (fi=0x108e6e00, tvb=0x1172a7a0, offset=1079348368, length=-1079278004) at proto.c:898
#7  0x082e1640 in proto_tree_add_item (tree=0x9410e74, hfindex=1281, tvb=0x1172a7a0, start=32, length=-1079278004, little_endian=16)
    at proto.c:569
#8  0x080a4bbd in dissect_ndr_byte_array (tvb=0x1172a7a0, offset=32, pinfo=0x9410e74, tree=0x9410e74, 
    drep=0x501 <Address 0x501 out of bounds>) at packet-dcerpc.c:1110
#9  0x080a5025 in dissect_deferred_pointers (pinfo=0xfada290, tvb=0x1172a7a0, offset=20, drep=0xbfffd444 "\020")
    at packet-dcerpc.c:1386
#10 0x080a5219 in dissect_ndr_pointer_cb (tvb=0x1172a7a0, offset=20, pinfo=0xfada290, tree=0x0, drep=0xbfffd444 "\020", 
    fnct=0x80a4b00 <dissect_ndr_byte_array>, type=6, text=0x9410e74 "Øtß\v", hf_index=1442, callback=0, callback_args=0x0)
    at packet-dcerpc.c:1676
#11 0x080a55f3 in dissect_ndr_pointer (tvb=0x1172a7a0, offset=20, pinfo=0xfada290, tree=0x94111bc, drep=0xbfffd444 "\020", 
    fnct=0x80a4b00 <dissect_ndr_byte_array>, type=1, text=0x835c9e9 "Encrypted data", hf_index=1442) at packet-dcerpc.c:1688
#12 0x080b3520 in mapi_unknown_02_request (tvb=0x1172a7a0, offset=-1079278004, pinfo=0xfada290, tree=0x94111bc, 
    drep=0xbfffd444 "\020") at packet-dcerpc-mapi.c:292
#13 0x080a5a24 in dcerpc_try_handoff (pinfo=0xfada290, tree=0x8837720, dcerpc_tree=0x941148c, tvb=0x1172a7a0, offset=0, 
    drep=0xbfffd444 "\020", info=0xbfffd350, auth_info=0xbfffd340) at packet-dcerpc.c:1848
#14 0x080a6ce8 in dissect_dcerpc_cn_stub (tvb=0x1172a6d0, offset=24, pinfo=0xfada290, dcerpc_tree=0x941148c, tree=0x8837720, 
    hdr=0xbfffd440, di=0xbfffd350, auth_info=0xbfffd340, alloc_hint=132, frame=234004) at packet-dcerpc.c:2360
#15 0x080a6ec4 in dissect_dcerpc_cn_rqst (tvb=0x1172a6d0, offset=24, pinfo=0xfada290, dcerpc_tree=0x941148c, tree=0x8837720, 
    hdr=0xbfffd440) at packet-dcerpc.c:2663
#16 0x080a810c in dissect_dcerpc_cn (tvb=0x1172a6d0, offset=16, pinfo=0xfada290, tree=0x8837720, can_desegment=1)
    at packet-dcerpc.c:3167
#17 0x080a8299 in dissect_dcerpc_cn_bs (tvb=0x1172a6d0, pinfo=0xfada290, tree=0x8837720) at packet-dcerpc.c:3248
#18 0x082e03f9 in dissector_try_heuristic (sub_dissectors=0x8712178, tvb=0x1172a6d0, pinfo=0xfada290, tree=0x8837720)
    at packet.c:1428
#19 0x0822c1f3 in decode_tcp_ports (tvb=0x1172a69c, offset=1797, pinfo=0xfada290, tree=0x8837720, src_port=1797, dst_port=292726480, 
    nxtseq=668450949) at packet-tcp.c:2098
#20 0x0822cd9d in dissect_tcp (tvb=0x1172a69c, pinfo=0xfada290, tree=0x8837720) at packet-tcp.c:2506
#21 0x082df1fa in call_dissector_through_handle (handle=0x872b0e0, tvb=0x1172a69c, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#22 0x082df565 in call_dissector_work (handle=0x872b0e0, tvb=0x1172a69c, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#23 0x082df8f4 in dissector_try_port (sub_dissectors=0x86b0068, port=142833440, tvb=0x1172a69c, pinfo=0xfada290, tree=0x8837720)
    at packet.c:771
#24 0x08137506 in dissect_ip (tvb=0x1172a668, pinfo=0xfada290, tree=0x8837720) at packet-ip.c:1089
#25 0x082df1fa in call_dissector_through_handle (handle=0x86b0188, tvb=0x1172a668, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#26 0x082df565 in call_dissector_work (handle=0x86b0188, tvb=0x1172a668, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#27 0x082e080e in call_dissector (handle=0x86b0188, tvb=0x1172a668, pinfo=0xfada290, tree=0x8837720) at packet.c:1575
#28 0x0811222c in dissect_gtpv0 (tvb=0x1172a634, pinfo=0xfada290, tree=0x8837720) at packet-gtp.c:5015
#29 0x082df1fa in call_dissector_through_handle (handle=0x869dd48, tvb=0x1172a634, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#30 0x082df565 in call_dissector_work (handle=0x869dd48, tvb=0x1172a634, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#31 0x082df8f4 in dissector_try_port (sub_dissectors=0x8700c38, port=142833440, tvb=0x1172a634, pinfo=0xfada290, tree=0x8837720)
    at packet.c:771
#32 0x08236b88 in decode_udp_ports (tvb=0x1172a600, offset=8, pinfo=0xfada290, tree=0x8837720, uh_sport=3386, uh_dport=3386)
    at packet-udp.c:133
#33 0x08236ff9 in dissect_udp (tvb=0x1172a600, pinfo=0xfada290, tree=0x8837720) at packet-udp.c:269
#34 0x082df1fa in call_dissector_through_handle (handle=0x873b5a0, tvb=0x1172a600, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#35 0x082df565 in call_dissector_work (handle=0x873b5a0, tvb=0x1172a600, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#36 0x082df8f4 in dissector_try_port (sub_dissectors=0x86b0068, port=142833440, tvb=0x1172a600, pinfo=0xfada290, tree=0x8837720)
    at packet.c:771
#37 0x08137506 in dissect_ip (tvb=0x1172a5cc, pinfo=0xfada290, tree=0x8837720) at packet-ip.c:1089
#38 0x082df1fa in call_dissector_through_handle (handle=0x86b0188, tvb=0x1172a5cc, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#39 0x082df565 in call_dissector_work (handle=0x86b0188, tvb=0x1172a5cc, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#40 0x082df8f4 in dissector_try_port (sub_dissectors=0x8692100, port=142833440, tvb=0x1172a5cc, pinfo=0xfada290, tree=0x8837720)
    at packet.c:771
#41 0x080eb16b in ethertype (etype=2048, tvb=0x1172a598, offset_after_etype=14, pinfo=0xfada290, tree=0x8837720, fh_tree=0xb34c520, 
    etype_id=2685, trailer_id=2687) at packet-ethertype.c:170
#42 0x080ea738 in dissect_eth (tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet-eth.c:281
#43 0x082df1fa in call_dissector_through_handle (handle=0x8692088, tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#44 0x082df565 in call_dissector_work (handle=0x8692088, tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#45 0x082df8f4 in dissector_try_port (sub_dissectors=0x869acb0, port=142833440, tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720)
    at packet.c:771
#46 0x081024d5 in dissect_frame (tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet-frame.c:179
#47 0x082df1fa in call_dissector_through_handle (handle=0x869b148, tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet.c:362
#48 0x082df565 in call_dissector_work (handle=0x869b148, tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet.c:507
#49 0x082e080e in call_dissector (handle=0x869b148, tvb=0x1172a598, pinfo=0xfada290, tree=0x8837720) at packet.c:1575
#50 0x082df18f in dissect_packet (edt=0xfada288, pseudo_header=0xbfab864c, pd=0x86629bc "\b", fd=0xece7420, cinfo=0x1172a598)
    at packet.c:310
---Type <return> to continue, or q <return> to quit---
#51 0x0826ca84 in add_packet_to_packet_list (fdata=0xece7420, cf=0x86628a0, pseudo_header=0x866292c, buf=0x86629bc "\b", refilter=1)
    at file.c:755
#52 0x0826d0e9 in rescan_packets (cf=0x86628a0, action=0x85253f5 "Filtering", 
    action_item=0x8885d20 "gtpv0.tid == \"2620739402165045\"", refilter=1, redissect=0) at file.c:1095
#53 0x0826ce01 in filter_packets (cf=0x86628a0, dftext=0x8885d20 "gtpv0.tid == \"2620739402165045\"") at file.c:932
#54 0x08281f6e in match_selected_cb_do (data=0x87c6900, action=256, text=0x115a28f0 "gtpv0.tid == \"2620739402165045\"")
    at main.c:344
#55 0x08282106 in match_selected_cb_replace_ptree (w=0x8786710, data=0x87804e0) at main.c:357
#56 0x401fda8c in gtk_item_factory_callback_marshal (widget=0x6, func_data=0x40558c90) at gtkitemfactory.c:263
#57 0x4020ef21 in gtk_marshal_NONE__NONE (object=0x8786710, func=0x401fda60 <gtk_item_factory_callback_marshal>, 
    func_data=0x8782f18, args=0xbfffec40) at gtkmarshal.c:312
#58 0x402421b6 in gtk_handlers_run (handlers=0x8789088, signal=0xbfffebe0, object=0x8786710, params=0xbfffec40, after=0)
    at gtksignal.c:1917
#59 0x40241316 in gtk_signal_real_emit (object=0x8786710, signal_id=69, params=0xbfffec40) at gtksignal.c:1477
#60 0x4023f148 in gtk_signal_emit (object=0x8786710, signal_id=69) at gtksignal.c:552
#61 0x4027a03f in gtk_widget_activate (widget=0x8786710) at gtkwidget.c:2890
#62 0x40217e9a in gtk_menu_shell_activate_item (menu_shell=0x87893a0, menu_item=0x8786710, force_deactivate=1) at gtkmenushell.c:859
#63 0x40217052 in gtk_menu_shell_button_release (widget=0x87893a0, event=0x87c2c78) at gtkmenushell.c:486
#64 0x4020ec2c in gtk_marshal_BOOL__POINTER (object=0x87893a0, func=0x40216e40 <gtk_menu_shell_button_release>, func_data=0x0, 
    args=0xbfab864c) at gtkmarshal.c:28
#65 0x4024134d in gtk_signal_real_emit (object=0x87893a0, signal_id=21, params=0xbffff010) at gtksignal.c:1492
#66 0x4023f148 in gtk_signal_emit (object=0x87893a0, signal_id=21) at gtksignal.c:552
#67 0x40279d54 in gtk_widget_event (widget=0x87893a0, event=0x15) at gtkwidget.c:2864
#68 0x4020ea8d in gtk_propagate_event (widget=0x87893a0, event=0x87c2c78) at gtkmain.c:1385
#69 0x4020d992 in gtk_main_do_event (event=0x87c2c78) at gtkmain.c:818
#70 0x402c0fdd in gdk_event_dispatch (source_data=0x0, current_time=0xbffff3e0, user_data=0x0) at gdkevents.c:2139
#71 0x402f20dc in g_main_dispatch (dispatch_time=0xbffff3e0) at gmain.c:656
#72 0x402f25d7 in g_main_iterate (block=0, dispatch=1) at gmain.c:877
#73 0x402f284c in g_main_run (loop=0x87c25d8) at gmain.c:935
#74 0x4020d3a7 in gtk_main () at gtkmain.c:524
#75 0x0828478f in main (argc=0, argv=0xbffff688) at main.c:2391
#76 0x404584a2 in __libc_start_main () from /lib/libc.so.6