I wrote a program with a pseudo-console that uses gnureadline. Sometimes, when I am inputting a line, the Terminal will crash. It's the Terminal that crashes, not just my own program --- every Terminal window on my computer suddenly closes, and I get a dialog with a long error report (pastebin).
The exact circumstances that causes the crash is not clear, but it seems to only happen when my line contains Chinese characters, and when my line reach the right boundary of the Terminal.
My system is MacOS Mojave version 10.14. My python version information:
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 26 2016, 10:47:25)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
I wrote a program with a pseudo-console that uses gnureadline. Sometimes, when I am inputting a line, the Terminal will crash. It's the Terminal that crashes, not just my own program --- every Terminal window on my computer suddenly closes, and I get a dialog with a long error report (pastebin).
The exact circumstances that causes the crash is not clear, but it seems to only happen when my line contains Chinese characters, and when my line reach the right boundary of the Terminal.
My system is MacOS Mojave version 10.14. My python version information: