[Bug 51182] New: test_write_console() fails in conhost:tty on Windows 1909
https://bugs.winehq.org/show_bug.cgi?id=51182 Bug ID: 51182 Summary: test_write_console() fails in conhost:tty on Windows 1909 Product: Wine Version: 6.8 Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com test_write_console() fails in conhost:tty on Windows 1909, probably because conhost.exe is broken in Windows 10 <= 2004: tty.c:581: Test failed: 0: expected "abc" got "\x1b[H \x1b[32m0\x1b[41m1\x1b[30m2\x1b[m\x1b[20X\x1b[20C\r\n\x1b[30X\x1b[30C\r\n\x1b[30X\x1b[30C\r\n abc \x1b[30ma\x1b[m\x1b[17X\x1b[17C\r\n child z\r\nz\x1b[29X\x1b[29C\r\n bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nx"... tty.c:586: Test failed: 0: expected " " got "\x1b[H \x1b[32m0\x1b[41m1\x1b[30m2\x1b[m\x1b[20X\x1b[20C\r\n\x1b[30X\x1b[30C\r\n\x1b[30X\x1b[30C\r\n abc \x1b[30ma\x1b[m\x1b[17X\x1b[17C\r\n child z\r\nz\x1b[29X\x1b[29C\r\n bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nx"... tty.c:587: Test failed: 0: expected "t" got "\x1b[H \x1b[32m0\x1b[41m1\x1b[30m2\x1b[m\x1b[20X\x1b[20C\r\n\x1b[30X\x1b[30C\r\n\x1b[30X\x1b[30C\r\n abc \x1b[30ma\x1b[m\x1b[17X\x1b[17C\r\n child z\r\nz\x1b[29X\x1b[29C\r\n bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nx"... tty.c:589: Test failed: expected empty buffer, got "\x1b[H \x1b[32m0\x1b[41m1\x1b[30m2\x1b[m\x1b[20X\x1b[20C\r\n\x1b[30X\x1b[30C\r\n\x1b[30X\x1b[30C\r\n abc \x1b[30ma\x1b[m\x1b[17X\x1b[17C\r\n child z\r\nz\x1b[29X\x1b[29C\r\n bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nx"... tty.c:593: Test failed: 0: expected "\rr abc tx" got "\x1b[m\rr abc tx\x1b[4;2H\x1b[?25h" tty.c:595: Test failed: 0: expected "\x1b[4;2H" got "\x1b[m\rr abc tx\x1b[4;2H\x1b[?25h" tty.c:596: Test failed: 0: expected "\x1b[?25h" got "\x1b[m\rr abc tx\x1b[4;2H\x1b[?25h" tty.c:597: Test failed: expected empty buffer, got "\x1b[m\rr abc tx\x1b[4;2H\x1b[?25h" tty.c:666: Test failed: Read file failed: 996 tty.c:666: Test failed: 0: expected "\x1b[11;29H" got "\x08\x1b[?25h" tty.c:667: Test failed: 0: expected "\x1b[?25h" got "\x08\x1b[?25h" tty.c:669: Test failed: expected empty buffer, got "\x08\x1b[?25h" tty.c:694: Test failed: 0: expected "\r\nc" got "\x1b[?25h" tty.c:706: Test failed: 0: expected "\x1b[40;29H" got "\r\nc\x1b[29X\x1b[29C\x1b[40;29H\x1b[?25h" tty.c:708: Test failed: expected empty buffer, got "\r\nc\x1b[29X\x1b[29C\x1b[40;29H\x1b[?25h" tty.c:729: Test failed: 0: expected "\n" got "\x1b[?25h" tty.c:730: Test failed: 0: expected "\x1b[30X" got "\x1b[?25h" tty.c:731: Test failed: 0: expected "\x1b[30C" got "\x1b[?25h" tty.c:732: Test failed: 0: expected "\r" got "\x1b[?25h" tty.c:741: Test failed: 0: expected "\x1b[12;29H" got "\r\n\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... tty.c:746: Test failed: 0: expected "43\x08" got "\r\n\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... tty.c:748: Test failed: expected empty buffer, got "\r\n\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... tty.c:752: Test failed: 0: expected "\x08" got "43\x1b[12;29H\x1b[?25h" tty.c:756: Test failed: expected hide cursor escape tty.c:757: Test failed: 0: expected "23" got "43\x1b[12;29H\x1b[?25h" tty.c:759: Test failed: 0: expected "\x1b[12;29H" got "43\x1b[12;29H\x1b[?25h" tty.c:760: Test failed: 0: expected "\x1b[?25h" got "43\x1b[12;29H\x1b[?25h" tty.c:761: Test failed: expected empty buffer, got "43\x1b[12;29H\x1b[?25h" tty.c:789: Test failed: 0: expected "\x1b[28C" got "\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... tty.c:791: Test failed: expected empty buffer, got "\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... tty.c:862: Test failed: 0: expected "\x1b[21;29H" got "\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... tty.c:864: Test failed: expected empty buffer, got "\x1b[Habcchild z\r\n123\x1b[27X\x1b[27C\r\ncde bo\x1b[30m\r\nxxx890\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\nxx5677\x1b[m\x1b[24X\x1b[24C\x1b[30m\r\n902344\x1b[m\x1b[24X\x1b[24C\r\n xxx\x1b[24X\x1b[24C\r\n\x1b[30X\x1b[30C\r\n "... These failures can be reproduced on cw-rx46-1909, wc-gtx560-1909 and the TestBot's w1064v1909: https://test.winehq.org/data/patterns.html#conhost.exe:tty They don't happen on Windows 10 1809 and lower because the test detects that conhost.exe is broken there: tty.c:1645: Tests skipped: Skipping tty output tests on broken Windows version And the test succeeds on Windows 10 >= 2004 (or rather has unrelated failures). So it looks like 1909 fell between the cracks and that the test should skip too somehow. This test was introduced by the commit below: commit 5d96c5aac883b343ddcfbe6f6b1b96ad6827a46b Author: Jacek Caban <jacek(a)codeweavers.com> AuthorDate: Fri Sep 11 14:31:24 2020 +0200 Commit: Alexandre Julliard <julliard(a)winehq.org> CommitDate: Fri Sep 11 16:55:40 2020 +0200 conhost/tests: Add WriteConsole tests. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51182 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase Regression SHA1| |5d96c5aac883b343ddcfbe6f6b1 | |b96ad6827a46b -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51182 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|test_write_console() fails |test_write_console() fails |in conhost:tty on Windows |in conhost.exe:tty on |1909 |Windows 1909 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51182 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|test_write_console() fails |test_write_console() times |in conhost.exe:tty on |out in conhost.exe:tty on |Windows 1909 |Windows 1909 --- Comment #1 from François Gouget <fgouget(a)codeweavers.com> --- Nowadays the failures mostly take the form of a timeout on 1909. However running the test manually can also result in it crashing with a NULL pointer dereference. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51182 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51182 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla