Ethereal-dev: Re: [Ethereal-dev] Ethereal coredump when it decodes the RSVP Bundle message gen

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

From: Ashok Narayanan <ashokn@xxxxxxxxx>
Date: Mon, 15 Jul 2002 17:26:22 -0400
I just put in basic support for RSVP BUNDLE message dissection; it's in CVS. The interface is a little clunky; I'll look into improving it sometime soon.

-Ashok

On Sun, 14 Jul 2002 09:48:03 -0500, Don Nguyen <dnguyen@xxxxxxxxxx> wrote:

> Hi,
> 
> I would like to be able to view the contents of the RSVP Bundle Message.
> However, the ethereal version 0.9.5 kept crashing. Below is the backtrace of
> the coredump:
> 
> #gdb ethereal 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 "i386-unknown-freebsd"...
> Core was generated by `ethereal'.
> Program terminated with signal 6, Abort trap.
> Reading symbols from /usr/local/lib/libsnmp-0.4.2.5.so...done.
> Reading symbols from /usr/lib/libcrypto.so.1...done.
> Reading symbols from /usr/local/lib/libgtk-1.2.so.9...done.
> Reading symbols from /usr/local/lib/libgdk-1.2.so.9...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/X11R6/lib/libXext.so.6...done.
> Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
> Reading symbols from /usr/lib/libm.so.2...done.
> Reading symbols from /usr/lib/libz.so.2...done.
> Reading symbols from /usr/lib/libc.so.4...done.
> Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done.
> Reading symbols from
> /usr/local/lib/ethereal/plugins/0.9.5/gryphon.so...done.
> Reading symbols from /usr/local/lib/ethereal/plugins/0.9.5/mgcp.so...done.
> Reading symbols from
> /usr/local/lib/ethereal/plugins/0.9.5/cosnaming.so...done.
> Reading symbols from
> /usr/local/lib/ethereal/plugins/0.9.5/coseventcomm.so...done.
> Reading symbols from /usr/libexec/ld-elf.so.1...done.
> #0  0x2873b030 in kill () from /usr/lib/libc.so.4
> (gdb) bt
> #0  0x2873b030 in kill () from /usr/lib/libc.so.4
> #1  0x28773f7e in abort () from /usr/lib/libc.so.4
> #2  0x2861e0f4 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, 
>     format=0x8395380 "file %s: line %d (%s): assertion failed: (%s)",
> args1=0xbfbfe578 "wS9\bU\005") at gmessages.c:391
> #3  0x2861e1a1 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, 
>     format=0x8395380 "file %s: line %d (%s): assertion failed: (%s)") at
> gmessages.c:408
> #4  0x820d76f in proto_tree_add_boolean (tree=0x85c71bc, hfindex=0,
> tvb=0x8581480, start=1, length=1, value=1) at proto.c:1365
> #5  0x820d7c8 in proto_tree_add_boolean_hidden (tree=0x85c71bc, hfindex=0,
> tvb=0x8581480, start=1, length=1, value=1) at proto.c:1380
> #6  0x8150c07 in dissect_rsvp (tvb=0x8581480, pinfo=0x85cd008,
> tree=0x85c7018) at packet-rsvp.c:3627
> #7  0x820b065 in dissector_try_port (sub_dissectors=0x845a180, port=46,
> tvb=0x8581480, pinfo=0x85cd008, tree=0x85c7018)
>     at packet.c:591
> #8  0x80e8048 in dissect_ip (tvb=0x858144c, pinfo=0x85cd008, tree=0x85c7018)
> at packet-ip.c:1063
> #9  0x820b065 in dissector_try_port (sub_dissectors=0x844ec20, port=2048,
> tvb=0x858144c, pinfo=0x85cd008, tree=0x85c7018)
>     at packet.c:591
> #10 0x80c9671 in ethertype (etype=2048, tvb=0x8581418,
> offset_after_etype=14, pinfo=0x85cd008, tree=0x85c7018, fh_tree=0x85c7234, 
>     etype_id=1766, trailer_id=1768) at packet-ethertype.c:159
> #11 0x80c9461 in dissect_eth (tvb=0x8581418, pinfo=0x85cd008,
> tree=0x85c7018) at packet-eth.c:230
> #12 0x820b065 in dissector_try_port (sub_dissectors=0x844ec80, port=1,
> tvb=0x8581418, pinfo=0x85cd008, tree=0x85c7018)
>     at packet.c:591
> #13 0x80caa50 in dissect_frame (tvb=0x8581418, pinfo=0x85cd008,
> tree=0x85c7018) at packet-frame.c:154
> #14 0x820baee in call_dissector (handle=0x8450180, tvb=0x8581418,
> pinfo=0x85cd008, tree=0x85c7018) at packet.c:1111
> #15 0x820acc9 in dissect_packet (edt=0x85cd000, pseudo_header=0x843d014,
> pd=0x843d0a4 "", fd=0x85f5090, cinfo=0x0) at packet.c:316
> #16 0x8209701 in epan_dissect_run (edt=0x85cd000, pseudo_header=0x843d014,
> data=0x843d0a4 "", fd=0x85f5090, cinfo=0x0) at epan.c:98
> #17 0x81bc323 in select_packet (cf=0x843cfa0, row=2) at file.c:1586
> #18 0x81dc62e in packet_list_select_cb (w=0x8526700, row=2, col=2,
> evt=0x8571018) at main.c:747
> #19 0x285417e1 in gtk_marshal_NONE__INT_INT_POINTER (object=0x8526700,
> func=0x81dc5c8 <packet_list_select_cb>, func_data=0x0, 
>     args=0xbfbfebd4) at gtkmarshal.c:300
> #20 0x28570c14 in gtk_handlers_run (handlers=0x8546360, signal=0xbfbfeb80,
> object=0x8526700, params=0xbfbfebd4, after=0)
>     at gtksignal.c:1917
> #21 0x285700a5 in gtk_signal_real_emit (object=0x8526700, signal_id=75,
> params=0xbfbfebd4) at gtksignal.c:1477
> #22 0x2856e187 in gtk_signal_emit (object=0x8526700, signal_id=75) at
> gtksignal.c:552
> #23 0x81d55a4 in gtk_clist_button_press (widget=0x8526700, event=0x8571018)
> at gtkclist.c:5030
> ---Type <return> to continue, or q <return> to quit--- 
> #24 0x28541493 in gtk_marshal_BOOL__POINTER (object=0x8526700,
> func=0x81d515c <gtk_clist_button_press>, func_data=0x0, 
>     args=0xbfbfef84) at gtkmarshal.c:28
> #25 0x285700e3 in gtk_signal_real_emit (object=0x8526700, signal_id=20,
> params=0xbfbfef84) at gtksignal.c:1492
> #26 0x2856e187 in gtk_signal_emit (object=0x8526700, signal_id=20) at
> gtksignal.c:552
> #27 0x285a4938 in gtk_widget_event (widget=0x8526700, event=0x8571018) at
> gtkwidget.c:2864
> #28 0x285413e5 in gtk_propagate_event (widget=0x8526700, event=0x8571018) at
> gtkmain.c:1378
> #29 0x28540566 in gtk_main_do_event (event=0x8571018) at gtkmain.c:818
> #30 0x285ee4df in gdk_event_dispatch (source_data=0x0,
> current_time=0xbfbff37c, user_data=0x0) at gdkevents.c:2139
> #31 0x2861b9b6 in g_main_dispatch (dispatch_time=0xbfbff37c) at gmain.c:656
> #32 0x2861bfaf in g_main_iterate (block=1, dispatch=1) at gmain.c:877
> #33 0x2861c144 in g_main_run (loop=0x85626d0) at gmain.c:935
> #34 0x2853fe5b in gtk_main () at gtkmain.c:524
> #35 0x81dde8a in main (argc=0, argv=0xbfbff60c) at main.c:1994
> (gdb) 
> 
> The attachment included the capture files under /var/tmp:
> 
>  <<ethereoraO64959>>  <<etherionPJ83554>>  <<etherlkqlV46815>>  
> <<etherNnXUb83603>> 
> 





--- Asok the Intern ----------------------------------------
Ashok Narayanan
IOS Network Protocols, Cisco Systems
250 Apollo Drive, Chelmsford, MA 01824
Ph: 978-497-8387.  Fax: 978-497-8513 (Attn: Ashok Narayanan)