Wireshark-bugs: [Wireshark-bugs] [Bug 7318] assertion failed when I quit wireshark without stopp
Date: Wed, 13 Jun 2012 19:16:46 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7318

--- Comment #17 from Evan Huus <eapache@xxxxxxxxx> 2012-06-13 19:16:46 PDT ---
(In reply to comment #16)
> OK, I've checked into the trunk a change to, after calling capture_stop_cb() in
> ui/gtk/capture_file_dlg.c, run the main loop as long as cf->state is
> FILE_READ_IN_PROGRESS.  See if that fixes the problem.

Now Wireshark never closes - I select "Stop and Quit Without Saving" and the
capture stops but Wireshark just sits there. `ps` showed that Wireshark had a
zombie dumpcap child.

I attached to Wireshark with strace, and it's looping with the following:

poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 3,
100) = 0 (Timeout)
read(4, 0x7fff53c119e0, 16)             = -1 EAGAIN (Resource temporarily
unavailable)
recvfrom(3, 0x23862e4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 3,
70) = 0 (Timeout)
read(4, 0x7fff53c119e0, 16)             = -1 EAGAIN (Resource temporarily
unavailable)
recvfrom(3, 0x23862e4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 3,
30) = 0 (Timeout)
read(4, 0x7fff53c119e0, 16)             = -1 EAGAIN (Resource temporarily
unavailable)
recvfrom(3, 0x23862e4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily
unavailable)

I eventually had to SIGTERM.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.