Ethereal-dev: Re: [Ethereal-dev] Core dump when saving one packet in 0.10.6

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, 07 Sep 2004 07:33:28 -0400
The problem exists here from 0.10.5 through the current 0.10.6+ SVN.

$ ./ethereal -v
ethereal 0.10.6 (SVN 20040906134316)
Compiled with GTK+ 1.2.10, with GLib 1.2.10, with libpcap 0.8.3,
with libz 1.1.3, without libpcre, with UCD-SNMP 4.2.6, without ADNS.
NOTE: this build does not support the "matches" operator for Ethereal filter
syntax.

Running with libpcap version 0.8.3 on SunOS 5.8.



From: Ulf Lamping <ulf.lamping@xxxxxx>
Reply-To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
Subject: Re: [Ethereal-dev] Core dump when saving one packet in 0.10.6
Date: Tue, 07 Sep 2004 09:51:49 +0200

packet steve wrote:


Between 0.10.4 and 0.10.5 numerous GUI changes were made.
One of the changes caused the following sequence
    File -> Save As -> specify output file -> OK
to terminate ethereal.  No core dump though.

Gdk-ERROR **: BadWindow (invalid Window parameter)
 serial 9267 error_code 3 request_code 15 minor_code 0

This was with GTK1, GTK2 also terminates.


Undoing one of the changes in file_dlg.c

void
file_save_as_destroy(void)
{
 if (file_save_as_w)
/*    window_destroy(file_save_as_w);  change introduced in 0.10.5 */
     gtk_widget_destroy(file_save_as_w);  /* Code from 0.10.4*/
}

makes the problem go away.   This is guesswork, likely not a correct fix.

Did you checked 0.10.6?

I've tried both GTK1 and 2 and both were working ok.

Regards, ULFL

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

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963