Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: It is still reproducible on Linux. I do not get a crash, just test failure and some strange output.
====================================================================== FAIL: test_input_tty_non_ascii (test.test_builtin.PtyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2122, in test_input_tty_non_ascii self.check_input_tty("prompté", b"quux\xe9", "utf-8") File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2103, in check_input_tty lines = self.run_child(child, terminal_input + b"\r\n") File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2021, in run_child return self._run_child(child, terminal_input) File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2078, in _run_child self.fail("got %d lines in pipe but expected 2, child output was:\n%s" AssertionError: got 0 lines in pipe but expected 2, child output was: quux promptXIO: fatal IO error 25 (Inappropriate ioctl for device) on X server ":0" after 35926 requests (35926 known processed) with 40 events remaining. ====================================================================== FAIL: test_input_tty_non_ascii_unicode_errors (test.test_builtin.PtyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2126, in test_input_tty_non_ascii_unicode_errors self.check_input_tty("prompté", b"quux\xe9", "ascii") File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2103, in check_input_tty lines = self.run_child(child, terminal_input + b"\r\n") File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2021, in run_child return self._run_child(child, terminal_input) File "/home/serhiy/py/cpython/Lib/test/test_builtin.py", line 2078, in _run_child self.fail("got %d lines in pipe but expected 2, child output was:\n%s" AssertionError: got 0 lines in pipe but expected 2, child output was: quux prompt?XIO: fatal IO error 25 (Inappropriate ioctl for device) on X server ":0" after 35926 requests (35926 known processed) with 40 events remaining. ---------------------------------------------------------------------- ---------- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue13888> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com