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

Date: Thu, 14 Jun 2012 08:01:02 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7318

--- Comment #20 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-06-14 08:01:02 PDT ---
(In reply to comment #18)
> The poll() is probably in the GLib main loop.
> 
> I'm not sure whether strace, when it prints
> 
> poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 3,
> 100) = 0 (Timeout)
> 
> is reporting the pollfd structures as passed *in* to poll() or the structures
> as filled in *by* poll.  If it's reporting the structures filled in *by* poll,

Nope, 'events' are passed to poll(). Returned events are in 'revents'.
Like:
  poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 54) = 1 ([{fd=3,
revents=POLLIN}])

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