Wireshark-bugs: [Wireshark-bugs] [Bug 10917] New: Wireshark hangs when quitting while a capture
Date: Wed, 04 Feb 2015 09:37:17 +0000
Bug ID 10917
Summary Wireshark hangs when quitting while a capture was in progress
Product Wireshark
Version Git
Hardware x86-64
OS Linux (other)
Status UNCONFIRMED
Severity Normal
Priority Low
Component GTK+ UI
Assignee bugzilla-admin@wireshark.org
Reporter peter@lekensteyn.nl

Created attachment 13426 [details]
gdb -q -p 5175 -batch -ex 'info threads' -ex 'thread apply all bt'

Build Information:
Wireshark is v1.99.2rc0-962-gf3ee6d0 (v1.99.2rc0-960-g71fd34d + STARTTLS
patches), dumpcap (symlinked) is v1.99.1rc0-232-g5e4e17c
--
Wireshark seem to get stuck in the while loop below:

    static void
    do_capture_stop(capture_file *cf)
    {
      /* Stop the capture (complete with UI updates). */
      capture_stop_cb(NULL, NULL);

      /* Now run the main loop until the capture stops and we finish
         reading it; we need to run the main loop so we respond to
         messages on the sync pipe and the sync pipe being closed. */
      while (cf->state == FILE_READ_IN_PROGRESS)
        gtk_main_iteration();
    }

I have not tried to reproduce it, all I did was pressing Ctrl+Q while a capture
was in progress. Could it be related to bug 10718 and/or bug 3046?


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