Wireshark-bugs: [Wireshark-bugs] [Bug 10870] New: Qt Wireshark - Race issue when switching betwe

Date: Mon, 19 Jan 2015 05:02:25 +0000
Bug ID 10870
Summary Qt Wireshark - Race issue when switching between files using Wireshark's "Files in Set" dialog
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS Mac OS X 10.8
Status UNCONFIRMED
Severity Normal
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Wireshark 1.99.2-747-g5162b7f (v1.99.2rc0-747-g5162b7f from unknown)

Copyright 1998-2015 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.3.2, with libpcap, without POSIX capabilities, with
libz 1.2.3, with GLib 2.36.0, with SMI 0.4.8, without c-ares, without ADNS,
with
Lua 5.2, with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP,
without PortAudio, with AirPcap.

Running on Mac OS X 10.8.5, build 12F45 (Darwin 12.5.0), with locale
en_US.UTF-8, with libpcap version 1.1.1, with libz 1.2.5, with GnuTLS 2.12.19,
with Gcrypt 1.5.0, without AirPcap.
      Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (with SSE4.2)

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.9.00).

--
Using QT based Wireshark on OS X there is a race condition issue when switching
between files using the "Files in Set" dialog which can raise the following
message box:

> Do you want to stop the capture and save the captured packets?
> [Stop and Continue without Saving] [Cancel] [Stop and Save]

If one selects [Cancel] then QT Wireshark will crash.  If one selects [Stop and
Continue without Saving] then the message box goes away, but QT Wireshark's GUI
will not allow one to open or close any capture file nor can one select "Quit";
the Wireshark process must be killed.

Background:

Wireshark has long supported a feature called "File Sets".  Wireshark "File
Sets" have a specific type of naming convention that is exploited using the
"Files In Set" dialog.  If the currently open capture file follows the
Wireshark "File Set" naming convention then the "Files in Set" dialog is
available from menu "File" -> "File Set" -> "List Files".

A Wireshark "File Set" can be created using tshark's and dumpcap's -b feature
or within Wireshark's Capture dialog using the "Create a new file
automatically" feature or using editcap's -c or -i split capture features.

Once the "Files in Set" dialog is open one can quickly switch between any of
the files in "File Set" by simply selecting a different file name from the
list.

If the File Set capture files are large (> 50MB) then it generally takes
several seconds to fully load the capture file.   If one selects a new trace
file before the previous file has been completely loaded then the unexpected
message box is displayed.  The unexpected message box will also be presented by
simply using the Up and Down arrow keys to quickly scroll up and down the list
of files.


You are receiving this mail because:
  • You are watching all bug changes.