Skip to content

Sometimes readline causes Terminal on MacOS to crash #54

@bbbbbbbbba

Description

@bbbbbbbbba

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions