all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@jidanni.org>
To: 16665@debbugs.gnu.org
Subject: bug#16665: Hitting C-c C-c in *shell* causes segmentation fault
Date: Thu, 06 Feb 2014 10:57:02 +0800	[thread overview]
Message-ID: <878utphrsx.fsf@jidanni.org> (raw)


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)





             reply	other threads:[~2014-02-06  2:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52F45028.6030509@case.edu>
2014-02-06  2:57 ` Dan Jacobson [this message]
2014-02-06 17:07   ` bug#16665: Hitting C-c C-c in *shell* causes segmentation fault Glenn Morris
     [not found]     ` <87k3d7degf.fsf_-_@jidanni.org>
2014-02-07  3:16       ` bug#16665: Hitting C-c C-c in Emacs' " Chet Ramey
2014-02-06 23:11   ` Dan Jacobson
2014-02-07  3:25   ` Dan Jacobson
2014-02-07  3:27 ` Chris Down
2014-02-07  3:32 ` Glenn Morris
     [not found] ` <878utnd2o9.fsf@jidanni.org>
2014-02-07 14:13   ` Chet Ramey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878utphrsx.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=16665@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.