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] "Save As" problem

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

From: "packet steve" <packetsteve@xxxxxxxxxxx>
Date: Tue, 14 Sep 2004 23:24:08 -0400
One more data point below.  The bug exists even with newer GTK, etc.
Shouldn't we suspect the Ethereal GUI code rather than the GTK/etc libraries?



$ ./ethereal -v
ethereal 0.10.6
Compiled with GTK+ 2.0.9, with GLib 2.0.7, with libpcap 0.8.3, with libz 1.1.3,
without libpcre, without UCD-SNMP or Net-SNMP, without ADNS.
NOTE: this build does not support the "matches" operator for Ethereal filter syntax.

$ ./ethereal
Running with libpcap version 0.8.3 on SunOS 5.8.
eth_cvs_nwsgpa$ The program 'ethereal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
 (Details: serial 12054 error_code 3 request_code 15 minor_code 0)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)

Same error with SVN version:  ethereal 0.10.6 (SVN 20040913155340)




From: Thomas Anders <thomas.anders@xxxxxxxxxxxxx>
Reply-To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
Subject: Re: [Ethereal-dev] "Save As" problem
Date: Tue, 14 Sep 2004 12:12:10 +0200

Ulf Lamping wrote:
To be honest, unfortunately this seems to be a problem in the GTK 1.2 libs,

Sure? I can fully (always!) reproduce the problem with 0.10.6 on Debian Woody
with GTK2 (libgtk2.0-0 2.0.2-5woody1) running *remotely*:

foo# ethereal -v
ethereal 0.10.6
Compiled with GTK+ 2.0.2, with GLib 2.0.1, with libpcap 0.6, with libz 1.1.4,
with libpcre 3.4, with Net-SNMP 5.1.2, with ADNS.

Running with libpcap (version unknown) on Linux 2.4.25-p4-srv.
foo# ethereal file.pcap
<Do "File->Save As", type a file name and click OK>
The program 'ethereal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 44811 error_code 3 request_code 15 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
foo#

Interestingly, the output file gets written completely before the crash.

OTOH, Ethereal 0.10.6 running *locally* on my SuSE 9.0 box does *not* exhibit
this annoying bug. Version numbers:

bar# ethereal -v
ethereal 0.10.6
Compiled with GTK+ 2.2.3, with GLib 2.2.3, with libpcap 0.7.2, with libz 1.1.4,
with libpcre 4.4, with Net-SNMP 5.0.9, without ADNS.

Running with libpcap (version unknown) on Linux 2.4.21-243-default.
bar#

If you need more information, please let me know.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)

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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/