Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] GTK assertion failed on ONC-RPC statistics.

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

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Thu, 12 Dec 2002 21:47:16 +0100
J.Smith wrote:
>Just downloaded and installed the 0.9.8 Windows build of Ethereal, and
>almost immediately experienced the following issue. When I load the attached
>tracefile 'crash.trace', and select "tools|statistics|onc-rpc|programs", I
>get the following error:
>
>Gtk-CRITICAL **: file gtkwidget.c: line 1595 (gtk_widget_map): assertion
>`GTK_WIDGET_VISIBLE (widget) == TRUE' failed
>
>The statistics for ONC-RPC do get displayed though, and ethereal continues
>to function. Can't be sure if the actual counts in the statistics window are
>correct though. Although this might be a problem with ethereal, because of
>the filename 'gtkwidget.c', I get the impression that we have found a GTK
>bug here? Should we look at ethereal to solve this, or start nagging the
>people that maintain the gtk port for Windows ?


I get the same output on my Windows 98 PC and on my Windows 2000 PC when doing as you describe.

However I didn't always get the Gtk-CRITICAL output on the Windows 2000 PC dependant on what content I had in the
plugin directory etc. 
First it seemed (on Windows 2000) that I only got the output when there had been some warnings at startup e.g.
due to that the preference file contained preferences for a plugin that I didn't have in the plugin directory or
similar.
I will probably not have time to look into this much deaper this week. 

I always got the same result for the statistics independantly if I get the 
Gtk-CRITICAL printouts or not:

          ONC-RPC Progam Statistics
Program  Version  Calls  Min RTT Max RTT  Avg RTT
   NFS       3      346          0.00079  0.01898  0.00299
   NLM       4       22            0.00132 0.23243  0.01967
  Portmap    2       1            0.01438 0.01438 0.01438
  YPSERV     2       1           0.00385 0.00385 0.00385   
   MOUNT     3       1            0.02085 0.02085 0.02085

One thing I noticed was that if I close the ONC-RPC window, and run tools|statistics|onc-rpc|programs
again, the output will look like:

------------------
          ONC-RPC Progam Statistics
Program  Version  Calls  Min RTT Max RTT  Avg RTT





   NFS       3      346          0.00079  0.01898  0.00299
   NLM       4       22            0.00132 0.23243  0.01967
  Portmap    2       1            0.01438 0.01438 0.01438
  YPSERV     2       1           0.00385 0.00385 0.00385   
   MOUNT     3       1            0.02085 0.02085 0.02085
-------
i.e. there will five (it seems) empty lines.

... and when I close the window and run  tools|statistics|onc-rpc|programs once more there will ten (it seems) empty lines.

Is this similar to the behaviour on other OSes than Windows ?

Regards,
 Martin