Ethereal-dev: [ethereal-dev] Re: [ethereal-users] A problem when I use it.

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

From: "Kim, Yong-Woon" <qkim@xxxxxxxxxxxxxx>
Date: Sat, 15 Jan 2000 11:37:12 +0900
> On Fri, Jan 14, 2000 at 03:49:58AM -0600, Kim, Yong-Woon wrote:
> > 
> > 
> > When I have the ethereal open the log file, '/tmp/pcapture'.
> > also it was killed with the log message displaying and then 'core dumped'.
> > 
> > But for the first time after installation, the ethereal worked. But after 
> > that,
> > it has been killed.
> > 
> > The OS is Sun Solaris 2.7.
> > 
> > How can I fix it????
> > 
> 
> If you have a capture file that repeatedly causes a core dump, and if
> the capture file is of reasonable size, please send it to ethereal-dev.
> 
> *or*, look at ethereal's README file. It explains how to get
> a stack trace using the core file and your ethereal binary and gdb.
> Sending the strack trace to ethereal-dev will help us find the bug.
> 
> thanks,
> 
> --gilbert 

I'll let you know following information

1. OS: SunOS 5.7
2. GTK+: 1.2.6
3. Ethereal: 0.8.1, with GTK+ 1.2.3, with libpcap 0.4, with libz 1.1.3

You see two GTK+ versions. But the ethereal made the same 
problem with GTK+ 1.2.3 and Glib 1.2.3. 
I upgraded the GTK+ 1.2.3 to 1.2.6 to solve the problem. But
It still made that problem.

I attach two files, trace and data.

Good luck!

Thanks again for the good works.



Script started on Sat Jan 15 10:58:02 2000
host [qkim /tmp {53}]gdb ethereal core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
Core was generated by `ethereal p1'.
Program terminated with signal 10, Bus Error.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/local/lib/libglib-1.2.so.0...done.
Reading symbols from /usr/lib/libXext.so.0...done.
Reading symbols from /usr/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Reading symbols from /usr/local/lib/ethereal/plugins/0.8/gryphon.so...done.
Reading symbols from /usr/lib/nss_nisplus.so.1...done.
Reading symbols from /usr/lib/libdoor.so.1...done.
#0  dissect_bgp_update (pd=0x1d10f8 "", offset=94, fd=0x1d1169, tree=0x1c3f3c) at packet-bgp.c:324
324         len = ntohs(*(guint16 *)p);
(gdb) backtrace
#0  dissect_bgp_update (pd=0x1d10f8 "", offset=94, fd=0x1d1169, tree=0x1c3f3c) at packet-bgp.c:324
#1  0x4d7c4 in dissect_bgp (pd=0x1d10f8 "", offset=94, fd=0x2014a8, tree=0x5e) at packet-bgp.c:1118
#2  0x97c68 in dissect_tcp (pd=0x1d10f8 "", offset=94, fd=0x2014a8, tree=0x1c3a8c)
    at packet-tcp.c:554
#3  0x5e0e0 in dissect_ipv6 (pd=0x1d10f8 "", offset=74, fd=0x2014a8, tree=0x1c3a8c)
    at packet-ipv6.c:382
#4  0x5bb18 in dissect_ip (pd=0x1d10f8 "", offset=34, fd=0x2014a8, tree=0x1c3a8c)
    at packet-ip.c:966
#5  0x37890 in ethertype (etype=2048, offset=14, pd=0x1d10f8 "", fd=0x2014a8, tree=0x1c3a8c, 
    fh_tree=0x1d10f8, item_id=258) at ethertype.c:88
#6  0x52d30 in dissect_eth (pd=0x1d10f8 "", offset=14, fd=0x2014a8, tree=0x1c3a8c)
    at packet-eth.c:202
#7  0x3c440 in dissect_packet (pd=0x1d10f8 "", fd=0x2014a8, tree=0x1c3a8c) at packet.c:1105
#8  0x38560 in add_packet_to_packet_list (fdata=0x2014a8, cf=0x1633a4, buf=0x1d10f8 "")
    at file.c:543
#9  0x38918 in wtap_dispatch_cb (user=0x1633a4 "", phdr=0x1, offset=37274, buf=0x1d10f8 "")
    at file.c:697
#10 0xa7ef0 in wtap_loop (wth=0x1d66c8, count=0, callback=0x38780 <wtap_dispatch_cb>, 
    user=0x1633a4 "", err=0xffbed504) at wtap.c:253
#11 0x37e80 in read_cap_file (cf=0x1633a4) at file.c:304
#12 0xcafdc in file_open_ok_cb (w=0x1d0d98, fs=0x1cef20) at file_dlg.c:170
#13 0xff24cb48 in gtk_marshal_NONE__NONE (object=0x1d0d98, func=0xcae3c <file_open_ok_cb>, 
    func_data=0x1cef20, args=0xffbee390) at gtkmarshal.c:312
#14 0xff28f0f0 in gtk_handlers_run (handlers=0x19dfd0, signal=0xffbee2f0, object=0x1d0d98, 
    params=0xffbee390, after=0) at gtksignal.c:1909
#15 0xff28df6c in gtk_signal_real_emit (object=0x1d0d98, signal_id=93, params=0xffbee390)
    at gtksignal.c:1469
#16 0xff28afdc in gtk_signal_emit (object=0x1d0d98, signal_id=93) at gtksignal.c:552
#17 0xff1cba80 in gtk_button_clicked (button=0x1d0d98) at gtkbutton.c:338
#18 0xff1cdd2c in gtk_real_button_released (button=0x1d0d98) at gtkbutton.c:852
#19 0xff24cb48 in gtk_marshal_NONE__NONE (object=0x1d0d98, 
    func=0xff1cdc18 <gtk_real_button_released>, func_data=0x0, args=0xffbee910) at gtkmarshal.c:312
#20 0xff28dd9c in gtk_signal_real_emit (object=0x1d0d98, signal_id=92, params=0xffbee910)
    at gtksignal.c:1432
#21 0xff28afdc in gtk_signal_emit (object=0x1d0d98, signal_id=92) at gtksignal.c:552
#22 0xff1cb948 in gtk_button_released (button=0x1d0d98) at gtkbutton.c:329
#23 0xff1cd2b0 in gtk_button_button_release (widget=0x1d0d98, event=0x1ccc70) at gtkbutton.c:712
#24 0xff24c8d8 in gtk_marshal_BOOL__POINTER (object=0x1d0d98, 
    func=0xff1cd154 <gtk_button_button_release>, func_data=0x0, args=0xffbeee90) at gtkmarshal.c:28
#25 0xff28dfb4 in gtk_signal_real_emit (object=0x1d0d98, signal_id=21, params=0xffbeee90)
    at gtksignal.c:1484
#26 0xff28afdc in gtk_signal_emit (object=0x1d0d98, signal_id=21) at gtksignal.c:552
#27 0xff2d5f78 in gtk_widget_event (widget=0x1d0d98, event=0x1ccc70) at gtkwidget.c:2843
#28 0xff24c86c in gtk_propagate_event (widget=0x1d0d98, event=0x1ccc70) at gtkmain.c:1313
#29 0xff24b6dc in gtk_main_do_event (event=0x1ccc70) at gtkmain.c:770
#30 0xff14d2d4 in gdk_event_dispatch (source_data=0x1ccc70, current_time=0xffbef460, user_data=0x0)
    at gdkevents.c:2129
#31 0xff0f705c in g_main_dispatch (current_time=0xffbef460) at gmain.c:656
#32 0xff0f7874 in g_main_iterate (block=0, dispatch=1) at gmain.c:874
#33 0xff0f7a94 in g_main_run (loop=0x1bc970) at gmain.c:932
#34 0xff24ad3c in gtk_main () at gtkmain.c:476
#35 0xc1e24 in main (argc=2, argv=0xffbef684) at main.c:1544
(gdb) quit
host [qkim /tmp {54}]exit
host [qkim /tmp {55}]
script done on Sat Jan 15 10:58:42 2000

Attachment: p1
Description: Binary data