http://bugs.winehq.org/show_bug.cgi?id=15272
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2009-06-08 16:08:22 --- Created an attachment (id=21660) --> (http://bugs.winehq.org/attachment.cgi?id=21660) Check for valid fd in default_fd_signaled
Something like this should fix it.