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

Wireshark-dev: Re: [Wireshark-dev] Assert with svn head (gtk3)

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Wed, 07 Mar 2012 21:34:25 -0500
On 03/07/2012 09:19 PM, Jeff Morriss wrote:
On 03/07/2012 06:26 PM, Joerg Mayer wrote:
Basically what seems to be the problem is that the gui allows me to save
a capture that is still ongoing via the save icon.
It's a very nice feature (one that I'd like to have) but it seems like
the
system is not really prepared to do so.

(wireshark:17111): Gtk-WARNING **: Unable to retrieve the file info
for `file:///tmp/test.pcapng': Error stating file '/tmp/test.pcapng':
No such file or directory
**
ERROR:/home/jmayer/work/wireshark/svn/trunk/file.c:372:cf_reset_state:
assertion failed: (cf->state != FILE_READ_IN_PROGRESS)
Aborted

True, it's not ready. I fixed it to not enable File->Save if we're still
capturing/reading from the file in r41415.

Actually r41416 should be much better: it disallows *all* file operations (including the icons in the toolbar) during a capture.