From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#16665: Hitting C-c C-c in *shell* causes segmentation fault Date: Thu, 06 Feb 2014 10:57:02 +0800 Message-ID: <878utphrsx.fsf@jidanni.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391666594 22066 80.91.229.3 (6 Feb 2014 06:03:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 06:03:14 +0000 (UTC) To: 16665@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 06 07:03:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBI3U-00028D-Nt for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Feb 2014 07:03:20 +0100 Original-Received: from localhost ([::1]:34765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBI3U-0004gS-BV for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Feb 2014 01:03:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBI3J-0004eA-Mu for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:03:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBI3C-0003I4-3K for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:03:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBI3C-0003I0-0j for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBI3B-00037c-S3 for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Feb 2014 06:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139166653111927 (code B ref -1); Thu, 06 Feb 2014 06:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2014 06:02:11 +0000 Original-Received: from localhost ([127.0.0.1]:51920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBI2N-00036J-H5 for submit@debbugs.gnu.org; Thu, 06 Feb 2014 01:02:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46549) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBI2L-00036B-KG for submit@debbugs.gnu.org; Thu, 06 Feb 2014 01:02:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBI2E-0002vw-1F for submit@debbugs.gnu.org; Thu, 06 Feb 2014 01:02:09 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBI2D-0002vs-Uq for submit@debbugs.gnu.org; Thu, 06 Feb 2014 01:02:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBI27-0004Js-6S for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:02:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBI20-0002sN-Ft for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:01:55 -0500 Original-Received: from hapkido.dreamhost.com ([66.33.216.122]:37848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBI20-0002ry-7a for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 01:01:48 -0500 Original-Received: from homiemail-a37.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by hapkido.dreamhost.com (Postfix) with ESMTP id 5E68B783D3 for ; Wed, 5 Feb 2014 22:01:46 -0800 (PST) Original-Received: from homiemail-a37.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id 44C9220806E for ; Wed, 5 Feb 2014 22:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=7eX62q/gHCH7Nlyi9MkxodxtOeE=; b=JZ777nH5cbjuvIg8 miy4xor0PnJ92Uvbq+spXjOsbTFgoM3r7XTfFOVQ5qSPA1AmPQdg/zUTZ8FmIGjQ qjoJchOlx8Jy5Ge98Gr8BnQG8PhYSkoVddhYFDi1VSubGZl02s1cAyeDalDocxg1 yiEYujnt3jSQHZKnDW6ekwEygGs= Original-Received: from jidanni.org (1-170-83-228.dynamic.hinet.net [1.170.83.228]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id E1E5620806D for ; Wed, 5 Feb 2014 22:01:45 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84698 Archived-At: Hitting C-c C-c in *shell* causes segmentation fault. Reproducible every time. The message always starts with sh: syntax error near unexpected token `1' and ends with Process shell segmentation fault # grep nobody /etc/passwd nobody:x:65534:65534:nobody:/nonexistent:/bin/sh # su - nobody No directory, logging in with HOME=/ $ emacs -nw -f shell sh-4.3$ C-c C-c sh-4.3$ sh: syntax error near unexpected token `1' sh-4.3$ sh: $'\b\210D\020\b\035\v\b\340\313': command not found sh-4.3$ sh: $'\b\300\347': command not found ... sh-4.3$ sh: syntax error near unexpected token `(' sh-4.3$ > Process shell segmentation fault # ls -l /bin/sh lrwxrwxrwx 1 root root 4 Mar 5 2012 /bin/sh -> bash $ bash --version GNU bash, version 4.3.0(1)-rc1 (i486-pc-linux-gnu)