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] 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: Ulf Lamping <ulf.lamping@xxxxxx>
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