Ethereal-dev: Re: [Ethereal-dev] [Patch] Write graph functionality

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

From: Ruud Linders <moztest@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 07 Apr 2005 16:37:35 +0200

Francisco,

First of all, great idea.  It was very very nice to have the graph
but making a screen shot to save it wasn't very practical.

Just tried the patch against ethereal 0.10.10, it applied/built
without problem but when I hit the 'write-to-file' button, ethereal
crashed with this:

(ethereal:1660): GLib-GObject-WARNING **: invalid cast from `GtkFileChooserDialog' to `GtkFileSelection'
Segmentation fault

This is on Linux (suse92).

A backtrace on the core dump gave this:

#0  0x40e3cf98 in g_type_check_instance_cast ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#1  0x080d3770 in on_write_bt_clicked (button=0x8682b18, user_data=0x8678ba0)
    at graph_analysis.c:543
#2  0x40e31ad1 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#3  0x40e22bfb in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#4  0x40e33fb0 in signal_emit_unlocked_R ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#5  0x40e3568a in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#6  0x40e359b2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#7  0x40aa2f91 in gtk_button_clicked () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#8  0x40aa4015 in gtk_real_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#9  0x40e31ad1 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#10 0x40e228e7 in g_type_class_meta_marshal ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#11 0x40e22bfb in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#12 0x40e33df2 in signal_emit_unlocked_R ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#13 0x40e3568a in g_signal_emit_valist ()
...

Regards,

Francisco Alcoba (TS/EEM) wrote:
Hi,

The patch adds a "write to file" button to the graph analysis window that dumps the flow graph
to an ASCII file. I attach a sample output -you need to use a fixed length font for it to make
sense-.

Regards,

Francisco <<h323.txt>> <<ascii_graph.patch>>

------------------------------------------------------------------------

Conv.| Time     | 10.1.3.143        | 10.1.6.18         |
0    |0,019     |         setup     |                   |H225 From:  To:  TunnH245:off FS:off
     |          |(32803   -------------------> (1720)   |
0    |0,242     |         callProceeding                |H225 TunnH245:off FS:off
     |          |(32803   <------------------  (1720)   |
0    |0,419     |         alerting  |                   |H225 TunnH245:off FS:off
     |          |(32803   <------------------  (1720)   |
0    |1,047     |         connect   |                   |H225 TunnH245:off FS:off
     |          |(32803   <------------------  (1720)   |
0 |1,225 | TCS ( g711A) |H245 terminalCapabilitySet | |(32804 <------------------ (1232) | 0 |1,229 | MSD | |H245 masterSlaveDetermination | |(32804 <------------------ (1232) | 0 |1,260 | TCS ( g711A) |H245 terminalCapabilitySet | |(32804 -------------------> (1232) | 0 |1,262 | MSD | |H245 masterSlaveDetermination | |(32804 -------------------> (1232) | 0 |1,332 | TCSAck MSDAck |H245 terminalCapabilitySetAck H245 masterSlaveDeterminationAck | |(32804 -------------------> (1232) | 0 |1,367 | TCSAck | |H245 terminalCapabilitySetAck | |(32804 <------------------ (1232) | 0 |1,404 | MSDAck | |H245 masterSlaveDeterminationAck | |(32804 <------------------ (1232) | 0 |1,455 | OLC (g711A) |H245 openLogicalChannel | |(32804 -------------------> (1232) | 0 |1,481 | OLC (g711A) |H245 openLogicalChannel | |(32804 <------------------ (1232) | 0 |1,512 | OLCAck | |H245 openLogicalChannelAck | |(32804 -------------------> (1232) | 0 |1,605 | OLCAck | |H245 openLogicalChannelAck | |(32804 <------------------ (1232) |


------------------------------------------------------------------------

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev