bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35061: 27.0.50; Pressing C-\ in term-mode while program is running c


From: Noam Postavsky
Subject: bug#35061: 27.0.50; Pressing C-\ in term-mode while program is running crashes the program.
Date: Sun, 31 Mar 2019 15:52:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux)

Sergey Trofimov <address@hidden> writes:

> If I press C-\ (bound to term-send-raw) while some non-interactive
> program is running in term-mode then the program crashes with nothing
> suspicious in core dump. I've tried this in emacs 27.0.50 and emacs
> 26.1 started with -Q on Debian Linux.
>
> So, to reproduce this, start term-mode with any shell, enter sleep 5 and
> while the program is running press C-\. If I start program which expects
> input from stdin (less, for example) then this bug doesn't appear.

I get this

    $ sleep 5
    ^\Quit
    $ 

But I get the same result in an rxvt terminal, so I don't think it's a
bug.  https://en.wikipedia.org/wiki/Kill_(command)#Unix_and_Unix-like
says:

    It is also common [...] for CTRL+\ (backslash) to be mapped to SIGQUIT,
    which can force a program to do a core dump.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]