http://bugs.winehq.org/show_bug.cgi?id=15272
Summary: Pipes (PeekNamedPipe, NtQueryInformationFile) crash Wine Product: Wine Version: 1.0.0 Platform: Other URL: http://www.inf.unisi.ch/phd/bonzini/test-poll.tar.gz OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: bonzini@gnu.org
The program in the URL, which tests a native Windows emulation of poll(2) similar to Cygwin's, exposes several bugs in Wine:
1) if compiled with -DINTERACTIVE, Wine crashes on test_pipe if test_tty is enabled
2) if not compiled with -DINTERACTIVE, Wine crashes on test_pipe if it is not placed first.
3) test_pipe crashes Wineserver (there is a comment in the function -- if you comment everything after the function, it works).
It should be compiled using MinGW tools (./configure && make), and run with "wine gltests/test-poll.exe".
The TTY test fails, but as I couldn't test it under Windows, I don't know if it is a bug. The important part is the crash on pipes, anyway! On a brighter note, socket tests pass with flashing lights.