Hallo Eric,Mike, Alexandre (and alll others),
as described in http://www.winehq.org/hypermail/wine-devel/2003/01/0486.html Altera quartus waits for some connected application by detecting a broken pipe (ReadFile() expects error, GetLastError is checked for ERROR_BROKEN_PIPE).
Our present pipe implementation doesn't set this error beside for PeekNamedPipe. The application doesn't call PeekNamedPipe(). I sent some additional test for pipe to wine-patches. The last test with its todo_wine points out this behaviour.
Confirmation of my findings by running the test on windows is appreciated.
Bye
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de writes:
Hallo Eric,Mike, Alexandre (and alll others),
I sent some additional test for pipe to wine-patches. The last test with its todo_wine points out this behaviour.
Here is the test output on XP (MinGW cross-compiled):
pipe.c:820:test 1 of 4: pipe.c:643: Test failed: CreateNamedPipe failed pipe.c:645: Test failed: WriteFile to not-yet-connected pipe pipe.c:647: Test failed: ReadFile from not-yet-connected pipe pipe.c:651: Test failed: CreateFile failed pipe.c:671: Test failed: CloseHandle pipe.c:822:test 2 of 4: pipe.c:262: Test failed: CreateNamedPipe failed pipe.c:270: Test failed: CreateNamedPipe failed pipe.c:272: Test failed: CloseHandle pipe.c:273: Test failed: CloseHandle pipe.c:282: Test failed: CreateNamedPipe failed pipe.c:290: Test failed: nMaxInstances not obeyed pipe.c:293: Test failed: CloseHandle pipe.c:302: Test failed: CreateNamedPipe failed pipe.c:310: Test failed: PIPE_ACCESS_* mismatch allowed pipe.c:313: Test failed: CloseHandle pipe.c:824:test 3 of 4: should be fixed pipe.c:826:test 4 of 4: pipe.c:147:test_CreateNamedPipe starting pipe.c:172: Test failed: connecting to nonexistent named pipe should fail with ERROR_FILE_NOT_FOUND pipe.c:184: Test failed: CreateNamedPipe failed pipe.c:187: Test failed: CreateFile failed pipe.c:246: Test failed: CloseHandle pipe.c:248:test_CreateNamedPipe returning -- Here kernel32_test.exe encounters a problem and needs to close -- -- I click the Don't send button -- pipe.c:752: Test failed: Read pipe failed pipe.c:753: Test failed: Unexpected length of pipe read pipe.c:830:all tests done pipe: 44 tests executed, 0 marked as todo, 21 failures.
Ferenc Wagner wferi@afavant.elte.hu writes:
pipe.c:824:test 3 of 4: should be fixed
Seemingly it loops on Win9x creating 80 MB log files. See http://afavant/~wferi//wine/old/20030829/summary.html#Win95 for some old reports.