Wireshark-dev: Re: [Wireshark-dev] Wireshark crash when quit while capturing

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Thu, 14 May 2009 16:54:41 -0600
On Fri, May 15, 2009 at 01:24:12AM +0300, Alfred Alinazar wrote:

> Here are the steps to reproduce it:
> 1. Open Wireshark
> 2. Start Capturing
> 3. Close Wireshark
> 4. It will prompt to save, and click save
> 5. type the filename
> 6. It will crash.

Note: This problem is only reproducible when the preference "Ask for 
unsaved capture files" is checked.

> It seems that the capturing should be stopped prior to save the file 
> so that cf->state will not be FILE_READ_IN_PROGRESS. however I'm not 
> sure where is the right place to put the code to stop the capturing.

Thanks for the problem report.  This problem is already being tracked as 
bug #1710:

  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1710

I've added a note pointing to your message in the archives to the bug's 
notes.  Feel free to add yourself to the CC list of that bug to find out 
when it is resolved.


Steve