Wireshark-bugs: [Wireshark-bugs] [Bug 7318] assertion failed when I quit wireshark without stopp
Date: Wed, 13 Jun 2012 21:12:50 -0700 (PDT)

--- Comment #19 from Guy Harris <[email protected]> 2012-06-13 21:12:49 PDT ---
Created attachment 8608
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8608
Debugging patch

Well, a quick look at the (chosen from my menagerie of Linux kernels
semi-randomly) 2.6.29 kernel's code for poll() on pipes, it looks as if it
returns POLLHUP if you're doing a poll() on the read side of a pipe (as
Wireshark would be doing) and the write side of the pipe is closed.

Then again, it would not return the FD if there's nothing to read from the

Try applying the attached debugging patch, run the case where you can reproduce
this, and report what got printed on Wireshark's standard error (I'm assuming
you're running Wireshark from the command line).

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