Ethereal-dev: [han.holl@xxxxxxxxxxx: Re: [ethereal-dev] Ethereal segfault]

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxx>
Date: Mon, 6 Mar 2000 11:19:02 -0500
I got this from Han.

--gilbert

----- Forwarded message from Han Holl <han.holl@xxxxxxxxxxx> -----

Received: from mail2.sig.nl (mail2.sig.nl [139.178.250.5]) by paat.pair.com (8.9.1/8.6.12) with ESMTP id LAA28668 for <gram@xxxxxxxxxx>; Mon, 6 Mar 2000 11:14:25 -0500 (EST)
X-Envelope-To: <gram@xxxxxxxxxx>
Received: from zuoz.palga.uucp (palga.sig.nl [139.178.112.206])
	by mail2.sig.nl (Postfix) with SMTP id 9D3D218B56
	for <gram@xxxxxxxxxx>; Mon,  6 Mar 2000 17:13:44 +0100 (MET)
Received: (qmail 8288 invoked by uid 504); 6 Mar 2000 16:13:33 -0000
From: "Han Holl" <han.holl@xxxxxxxxxxx>
Date: Mon, 6 Mar 2000 17:13:33 +0100
To: Gilbert Ramirez <gram@xxxxxxxxxx>
Subject: Re: [ethereal-dev] Ethereal segfault
Message-ID: <20000306171333.A8224@xxxxxxxxxxxxxxx>
References: <9087B110840C094F8625689A0050CD77.0050CD438625689A@xxxxxxxxxx> <20000306095909.A11410@xxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="VbJkn9YxBvnuCH5J"
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <20000306095909.A11410@xxxxxxxxxx>


--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii

On Mon, Mar 06, 2000 at 09:59:09AM -0600, Gilbert Ramirez wrote:
> On Mon, Mar 06, 2000 at 08:42:34AM -0600, Han Holl wrote:
> > 
> > 
> > The core dump occurs when I try to follow the TCP stream, or
> > when I select one if the IPP response packets.
> > 
> > Hope this helps to make ethereal even better.
> > 
> > Regards,
> > 
> > Han Holl
> > 
> 
> Thanks for the trace file. I was not able to get it to dump core
> on my i686 Linux RH6.1 box.
> 
> Can you send us a stack backtrace using the core file that is created
> when you drop core? The README in Ethereal explains how to create this
> backtrace using gdb, the ethereal executable, and the core file.
> 
What the README does _not_ say, unfortunately, is how one should divert
the gdb output to a file. Gdb documentation really is a nightmare.
I ended up using 'script', and removes the ^M from the result. I hope
is is useful.

Cheers,

Han Holl

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=traceback
Content-Transfer-Encoding: quoted-printable

Script started on Mon Mar  6 17:09:08 2000
=1B[01;40;32m/usr/src/ethereal-0.8.4> =1B[00mgdb ethereal /tmp/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 condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `ethereal'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/local/lib/ethereal/plugins/0.8/gryphon.so...done.
#0  0x402bb72a in _IO_vfprintf (s=3D0xbfffec80, format=3D0x81009c5 "%.*s: %=
s",=20
    ap=3D0xbfffeddc) at vfprintf.c:1259
1259	vfprintf.c: No such file or directory.
(gdb) bt
#0  0x402bb72a in _IO_vfprintf (s=3D0xbfffec80, format=3D0x81009c5 "%.*s: %=
s",=20
    ap=3D0xbfffeddc) at vfprintf.c:1259
#1  0x402c8566 in _IO_vsnprintf (string=3D0x821c478 "copies-supported: ",=
=20
    maxlen=3D240, format=3D0x81009c5 "%.*s: %s", args=3D0xbfffedd0)
    at vsnprintf.c:129
#2  0x80bd3e9 in _proto_tree_add_item_value (tree=3D0x81cf554, hfindex=3D10=
43,=20
    start=3D1160, length=3D29, include_format=3D1, visible=3D1, ap=3D0xbfff=
edcc)
    at proto.c:415
#3  0x80bd1ef in proto_tree_add_text (tree=3D0x81cf554, start=3D1160, lengt=
h=3D29)
    at proto.c:287
#4  0x807758e in add_octetstring_tree (tree=3D0x81cf554, pd=3D0x8160998 "",=
=20
    offset=3D1160, name_length=3D16, value_length=3D8) at packet-ipp.c:494
#5  0x80773df in parse_attributes (pd=3D0x8160998 "", offset=3D224, fd=3D0x=
820f6d0,=20
    tree=3D0x81df094) at packet-ipp.c:422
#6  0x80771f9 in dissect_ipp (pd=3D0x8160998 "", offset=3D216, fd=3D0x820f6=
d0,=20
    tree=3D0x81cf414) at packet-ipp.c:227
#7  0x8070fe8 in dissect_http (pd=3D0x8160998 "", offset=3D216, fd=3D0x820f=
6d0,=20
    tree=3D0x81cf414) at packet-http.c:203
#8  0x80ab348 in dissect_tcp (pd=3D0x8160998 "", offset=3D56, fd=3D0x820f6d=
0,=20
    tree=3D0x81cf414) at packet-tcp.c:563
#9  0x8076285 in dissect_ip (pd=3D0x8160998 "", offset=3D24, fd=3D0x820f6d0=
,=20
    tree=3D0x81cf414) at packet-ip.c:1028
#10 0x80b9250 in ethertype (etype=3D2048, offset=3D4, pd=3D0x8160998 "",=20
    fd=3D0x820f6d0, tree=3D0x81cf414, fh_tree=3D0x81df350, item_id=3D614)
---Type <return> to continue, or q <return> to quit---
    at ethertype.c:102
#11 0x8088a5d in dissect_null (pd=3D0x8160998 "", fd=3D0x820f6d0, tree=3D0x=
81cf414)
    at packet-null.c:274
#12 0x80bad1b in dissect_packet (pd=3D0x8160998 "", fd=3D0x820f6d0, tree=3D=
0x81cf414)
    at packet.c:1128
#13 0x80c38dd in select_packet (cf=3D0x8160920, row=3D23) at file.c:1280
#14 0x80dbaeb in packet_list_select_cb (w=3D0x81acbf0, row=3D23, col=3D5,=
=20
    evt=3D0x81d85a8) at main.c:839
#15 0x400a94bd in gtk_marshal_NONE__INT_INT_POINTER ()
   from /usr/lib/libgtk-1.2.so.0
#16 0x400d9795 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#17 0x400d8b0e in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#18 0x400d6adf in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#19 0x80d486f in gtk_clist_button_press (widget=3D0x81acbf0, event=3D0x81d8=
5a8)
    at gtkclist.c:5029
#20 0x400a90b9 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#21 0x400d8b47 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x400d6adf in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#23 0x4010ec28 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#24 0x400a9012 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#25 0x400a8198 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#26 0x40155e7b in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#27 0x40183be6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#28 0x401841a1 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#29 0x40184341 in g_main_run () from /usr/lib/libglib-1.2.so.0
#30 0x400a7a8b in gtk_main () from /usr/lib/libgtk-1.2.so.0
#31 0x80dc806 in main (argc=3D1, argv=3D0xbffff9f4) at main.c:1524
(gdb) q
=1B[01;40;32m/usr/src/ethereal-0.8.4> =1B[00m=1B[K
Script done on Mon Mar  6 17:09:52 2000

--VbJkn9YxBvnuCH5J--

----- End forwarded message -----