Wireshark-bugs: [Wireshark-bugs] [Bug 1740] window "capture->Interfaces" cannot be closed

Date: Tue, 25 Sep 2007 04:18:06 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1740





------- Comment #1 from stephentfisher@xxxxxxxxx  2007-09-25 04:18 GMT -------
According to gdb, when performing the actions described in the bug, Wireshark
hangs at the wait() call (actually followed by a wait4() call on my OS X
machine) at line 700 of file capture_sync.c:

    if (wait(&fork_child_status) != -1) {

This seems to be waiting for the second copy of dumpcap to end (the one doing
the capturing) instead of the first one started (that lists all of the
interfaces).  My suspicion of this being the case is backed up by a test where
you can use the Unix kill command to terminate the first (interface listing)
copy of dumpcap and the interfaces window will go away (although the capturing
dumpcap seems to die next).  This functionality/code was introduced by Gerald
in SVN rev 22071 as part of privilege separation efforts.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.