Ethereal-dev: [Ethereal-dev] Segmentation Fault Ethereal

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

From: "Hirsch, Christian" <Christian.Hirsch@xxxxxxxxxxx>
Date: Fri, 8 Aug 2003 13:53:53 +0200
Hi all,

often I start a Capture in Ethereal it crashed with following message:
"Segmentation Fault Ethereal".
Attached the backtrace.

Thanx for help
Christian


#############################################################################
Program received signal SIGSEGV, Segmentation fault.
0x082bdd6f in call_dissector_work (handle=0x0, tvb=0x879634c, pinfo=0x8824100, tree=0x0) at packet.c:391
391             if (handle->proto_index != -1 &&


(gdb) backtrace
#0  0x082bdd6f in call_dissector_work (handle=0x0, tvb=0x879634c, pinfo=0x8824100, tree=0x0) at packet.c:391
#1  0x082beece in call_dissector (handle=0x0, tvb=0x879634c, pinfo=0x8824100, tree=0x0) at packet.c:1255
#2  0x0812da1c in dissect_udpencap (tvb=0x8796318, pinfo=0x8824100, tree=0x0) at packet-ipsec-udp.c:64
#3  0x082bdd49 in call_dissector_through_handle (handle=0x0, tvb=0x8796318, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#4  0x082be0b5 in call_dissector_work (handle=0x86a0cd0, tvb=0x8796318, pinfo=0x8824100, tree=0x0) at packet.c:496
#5  0x082be3b6 in dissector_try_port (sub_dissectors=0x8824100, port=142172952, tvb=0x8796318, pinfo=0x8824100,
    tree=0x0) at packet.c:712
#6  0x082223c8 in decode_udp_ports (tvb=0x87962e4, offset=8, pinfo=0x8824100, tree=0x0, uh_sport=4500,
    uh_dport=4500) at packet-udp.c:122
#7  0x082227e7 in dissect_udp (tvb=0x87962e4, pinfo=0x8824100, tree=0x0) at packet-udp.c:257
#8  0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x87962e4, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#9  0x082be0b5 in call_dissector_work (handle=0x86b9ef8, tvb=0x87962e4, pinfo=0x8824100, tree=0x0) at packet.c:496
#10 0x082be3b6 in dissector_try_port (sub_dissectors=0x8824100, port=142172900, tvb=0x87962e4, pinfo=0x8824100,
    tree=0x0) at packet.c:712
#11 0x0812a891 in dissect_ip (tvb=0x87962b0, pinfo=0x8824100, tree=0x0) at packet-ip.c:1092
#12 0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x87962b0, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#13 0x082be0b5 in call_dissector_work (handle=0x8645110, tvb=0x87962b0, pinfo=0x8824100, tree=0x0) at packet.c:496
#14 0x082beece in call_dissector (handle=0x8645110, tvb=0x87962b0, pinfo=0x8824100, tree=0x0) at packet.c:1255
#15 0x0810cc7c in dissect_gtpv0 (tvb=0x87961ac, pinfo=0x8824100, tree=0x0) at packet-gtp.c:5015
#16 0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x87961ac, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#17 0x082be0b5 in call_dissector_work (handle=0x863cfe8, tvb=0x87961ac, pinfo=0x8824100, tree=0x0) at packet.c:496
#18 0x082be3b6 in dissector_try_port (sub_dissectors=0x8824100, port=142172588, tvb=0x87961ac, pinfo=0x8824100,
    tree=0x0) at packet.c:712
#19 0x0822234b in decode_udp_ports (tvb=0x8796178, offset=8, pinfo=0x8824100, tree=0x0, uh_sport=142172588,
    uh_dport=141144144) at packet-udp.c:114
#20 0x082227e7 in dissect_udp (tvb=0x8796178, pinfo=0x8824100, tree=0x0) at packet-udp.c:257
#21 0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x8796178, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#22 0x082be0b5 in call_dissector_work (handle=0x86b9ef8, tvb=0x8796178, pinfo=0x8824100, tree=0x0) at packet.c:496
#23 0x082be3b6 in dissector_try_port (sub_dissectors=0x8824100, port=142172536, tvb=0x8796178, pinfo=0x8824100,
    tree=0x0) at packet.c:712
#24 0x0812a891 in dissect_ip (tvb=0x8796144, pinfo=0x8824100, tree=0x0) at packet-ip.c:1092
#25 0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x8796144, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#26 0x082be0b5 in call_dissector_work (handle=0x8645110, tvb=0x8796144, pinfo=0x8824100, tree=0x0) at packet.c:496
#27 0x082be3b6 in dissector_try_port (sub_dissectors=0x8824100, port=142172484, tvb=0x8796144, pinfo=0x8824100,
    tree=0x0) at packet.c:712
#28 0x080e6c3b in ethertype (etype=2048, tvb=0x8796110, offset_after_etype=14, pinfo=0x8824100, tree=0x0,
    fh_tree=0x0, etype_id=2655, trailer_id=2657) at packet-ethertype.c:167
#29 0x080e6338 in dissect_eth (tvb=0x8796110, pinfo=0x8824100, tree=0x0) at packet-eth.c:268
#30 0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x8796110, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#31 0x082be0b5 in call_dissector_work (handle=0x86312e0, tvb=0x8796110, pinfo=0x8824100, tree=0x0) at packet.c:496
#32 0x082be3b6 in dissector_try_port (sub_dissectors=0x8824100, port=142172432, tvb=0x8796110, pinfo=0x8824100,
    tree=0x0) at packet.c:712
#33 0x080fd745 in dissect_frame (tvb=0x8796110, pinfo=0x8824100, tree=0x0) at packet-frame.c:179
#34 0x082bdd49 in call_dissector_through_handle (handle=0x8824100, tvb=0x8796110, pinfo=0x8625fc0, tree=0x0)
    at packet.c:354
#35 0x082be0b5 in call_dissector_work (handle=0x863b8b0, tvb=0x8796110, pinfo=0x8824100, tree=0x0) at packet.c:496
#36 0x082beece in call_dissector (handle=0x863b8b0, tvb=0x8796110, pinfo=0x8824100, tree=0x0) at packet.c:1255
---Type <return> to continue, or q <return> to quit---
#37 0x082bdcff in dissect_packet (edt=0x88240f8, pseudo_header=0x8824100, pd=0x8812310 "", fd=0x87c8f54,
    cinfo=0x8796110) at packet.c:310
#38 0x082573e8 in add_packet_to_packet_list (fdata=0x87c8f54, cf=0x8615d00, pseudo_header=0x878996c,
    buf=0x8812310 "", refilter=1) at file.c:712
#39 0x0825764c in read_packet (cf=0x8615d00, offset=93228) at file.c:831
#40 0x0825711c in continue_tail_cap_file (cf=0x8615d00, to_read=18, err=0xbfffe2fc) at file.c:518
#41 0x082543a3 in cap_file_input_cb (data=0x8615d00, source=7, condition=GDK_INPUT_READ) at capture.c:856
#42 0x402c5bf5 in gdk_io_invoke (source=0x881fa78, condition=0, data=0x881fa60) at gdkevents.c:882
#43 0x402f67f2 in g_io_unix_dispatch (source_data=0x8824100, current_time=0xbffff3e0, user_data=0x881fa60)
    at giounix.c:135
#44 0x402f80dc in g_main_dispatch (dispatch_time=0xbffff3e0) at gmain.c:656
#45 0x402f85d7 in g_main_iterate (block=0, dispatch=1) at gmain.c:877
#46 0x402f884c in g_main_run (loop=0x8786d80) at gmain.c:935
#47 0x402133a7 in gtk_main () at gtkmain.c:524
#48 0x0826d99c in main (argc=0, argv=0xbffff678) at main.c:2288
#49 0x4045e4a2 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/local/bin/ethereal, process 2495
[1]+  Segmentation fault      ethereal