Wireshark-bugs: [Wireshark-bugs] [Bug 7318] assertion failed when I quit wireshark without stopp

Date: Fri, 28 Sep 2012 03:21:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7318

--- Comment #28 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-09-28 03:21:29 PDT ---
(In reply to comment #17)
> (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.

It seems that we still have this problem:

21272 pts/5    Sl+    0:27          \_ /tmp/wireshark/.libs/wireshark
23420 pts/5    Z+     0:04              \_ [dumpcap] <defunct>

(gdb) bt
#0  0x00007f9cd9566263 in poll () from /lib64/libc.so.6
#1  0x00007f9cda145c6d in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9cda1460e4 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f9cdceddd81 in gtk_main_iteration () from
/usr/lib64/libgtk-x11-2.0.so.0
#4  0x000000000055f5c6 in do_capture_stop ()
#5  0x000000000055ce16 in test_file_close ()
#6  0x000000000055d783 in do_file_close ()
#7  0x00000000004713af in file_quit_cmd_cb ()

I was testing fix for bug #6208 (few ping -i 0.002 generating traffic), my code
seems to be not related.

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