http://bugs.winehq.org/show_bug.cgi?id=29499
--- Comment #21 from Alex Henrie alexhenrie24@gmail.com 2012-03-04 01:44:27 CST --- Created attachment 39179 --> http://bugs.winehq.org/attachment.cgi?id=39179 check bad events patch with POLLNVAL check
Are you on Mac OS? I wonder if Mac OS sets POLLNVAL instead of POLLHUP. It's worth a try.