From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs 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 Message-ID: <87mulaizz1.fsf@gmail.com> References: <87imvz9fw7.fsf@thinkpad.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20899"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) Cc: 35061@debbugs.gnu.org To: Sergey Trofimov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 31 21:53:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAgW0-0005GO-N1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 21:53:12 +0200 Original-Received: from localhost ([127.0.0.1]:42640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAgVz-0002Fy-J7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 15:53:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAgVs-0002FY-OC for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 15:53:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAgVr-0003D2-5B for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 15:53:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAgVq-0003Ce-Cm for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 15:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAgVq-0002oQ-6s for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 15:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Mar 2019 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35061 X-GNU-PR-Package: emacs Original-Received: via spool by 35061-submit@debbugs.gnu.org id=B35061.155406193310756 (code B ref 35061); Sun, 31 Mar 2019 19:53:02 +0000 Original-Received: (at 35061) by debbugs.gnu.org; 31 Mar 2019 19:52:13 +0000 Original-Received: from localhost ([127.0.0.1]:38496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAgV2-0002nQ-Ne for submit@debbugs.gnu.org; Sun, 31 Mar 2019 15:52:12 -0400 Original-Received: from mail-qt1-f193.google.com ([209.85.160.193]:45029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAgUz-0002nD-VR for 35061@debbugs.gnu.org; Sun, 31 Mar 2019 15:52:10 -0400 Original-Received: by mail-qt1-f193.google.com with SMTP id w5so8172328qtb.11 for <35061@debbugs.gnu.org>; Sun, 31 Mar 2019 12:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5Bvvh668HIzciwfZnZp4pJCogHZ27ukqzACSVjWd2Dc=; b=C0gpixy65c6qI5zGo0QiNlnPW7G4yBRokLcUKkzG0iSX47KF+U1tQz6GGiTvihhcse GrKvWeCOjiHpLPsyzVDm3y05hYzT9Qzp8qW5jh8NbxLl7cL3HeEnVfx8Vs92a47PZsE4 kDFt3iVpuovnRGESAMHR7cOOumqYiYgdYJ8TvScNFtdK8cuH+8T/T5+2aULyOa9ctpQt muaNwxKB1hbdj8ayBlXbaF366EhBA4YRuJ21Dh5AOIU0kaD5xQv898CSg4lSJl95ZtDj dZJhRWMRoggT2waYoEmD+iXwil6wXjx7rS/hrxqkLVbzXJDGpZwpC6rQtl01JRCBec7j KQAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5Bvvh668HIzciwfZnZp4pJCogHZ27ukqzACSVjWd2Dc=; b=REnFcLN5sePJP+VRWScpF73bi5xemgN92KJlwZyvJFuHqKbYcqBDPL0a2IX2w0Rgv8 HemxWTMSuH8/syBQm2aWH+ju/1GGWG+B+/FDGKr/OAiS7OfbJhBMHhISr9ETbdxEK1F3 Rr4XBzn2dFmz3eOWKWOSGO6dUGkUU7wSO/InSNWO9Oa8Lc4tHz/goB3pBNBbNa7z2Xsy yV11764LS3rX+QW9JvMcIBhOTqQqmykHvQ2RkgncN3gjw5MW4K6LgghBgYWdLxDU9EqH wnMuPurg0P9pbrzxy37ZRG/fGXGOZTxq1o/uyE/mcFLmwT9LIAlJLhSrW+fyT+J+SMki ElbA== X-Gm-Message-State: APjAAAVezZwcawAgsFnk2irYswd3hHmDPephVt8MYKjEUsyQJ/wUxEQi e9JB66g5JWYNs6SHPuoLep21nTES X-Google-Smtp-Source: APXvYqzVPU/05CzO8n+CLSFH3Ventx7FoUVSW6riCWfqFiNO6Tss9ykeRME2/8l3UOrmym8NHRePlA== X-Received: by 2002:ac8:17bd:: with SMTP id o58mr51770436qtj.245.1554061924332; Sun, 31 Mar 2019 12:52:04 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id m41sm4879362qtb.58.2019.03.31.12.52.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 31 Mar 2019 12:52:03 -0700 (PDT) In-Reply-To: <87imvz9fw7.fsf@thinkpad.i-did-not-set--mail-host-address--so-tickle-me> (Sergey Trofimov's message of "Sun, 31 Mar 2019 19:18:16 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156983 Archived-At: Sergey Trofimov 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.