From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Svend Sorensen Newsgroups: gmane.emacs.bugs Subject: bug#20349: 25.0.50; C-c C-c in shell buffer occasionally dumps garbage to the screen Date: Thu, 16 Apr 2015 11:16:21 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1429208247 29320 80.91.229.3 (16 Apr 2015 18:17:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2015 18:17:27 +0000 (UTC) To: 20349@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 20:17:14 2015 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 1YioLh-000372-Ta for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 20:17:14 +0200 Original-Received: from localhost ([::1]:38112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YioLh-0008SY-Bf for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 14:17:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YioLc-0008Qg-Vk for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:17:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YioLW-0005ae-Eo for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:17:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YioLW-0005aW-BQ for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YioLV-0001uI-OF for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Svend Sorensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Apr 2015 18:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20349 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.14292082127306 (code B ref -1); Thu, 16 Apr 2015 18:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Apr 2015 18:16:52 +0000 Original-Received: from localhost ([127.0.0.1]:58320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YioLL-0001tk-6B for submit@debbugs.gnu.org; Thu, 16 Apr 2015 14:16:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40581) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YioLI-0001tT-NB for submit@debbugs.gnu.org; Thu, 16 Apr 2015 14:16:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YioL8-0005RG-Gx for submit@debbugs.gnu.org; Thu, 16 Apr 2015 14:16:43 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YioL8-0005RC-Eh for submit@debbugs.gnu.org; Thu, 16 Apr 2015 14:16:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YioL6-0007fH-Q3 for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:16:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YioKu-0005P9-Tg for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:16:36 -0400 Original-Received: from mail-pd0-f182.google.com ([209.85.192.182]:35984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YioKu-0005Oj-MM for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 14:16:24 -0400 Original-Received: by pdea3 with SMTP id a3so100393620pde.3 for ; Thu, 16 Apr 2015 11:16:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=nuQtLVVkwSoQeCmll8kvkKdVbWL7jhUsMKRdHIaSCtE=; b=mB4xIrDtkZBaMuMtUyc3YpF5QZAQShNiqOCozirrqgDXGAtp/rBL+23OMTDcoLm3aX aZXL3CXY1JAdyCZO03g9DlWyZbr635TT/uUzQyevVXxnrxTF09GxxFZZkC+StO4n1WPV HCB2FzaJK184kttX1CqQ3/S4aBmfNYqp4zrvFNWqqj1/ryEHsisn7/x8OklauRcYRmbp DGW1WVZBfPanWs2Atgjj+wkwmu+M3zctX2X9oi75ziE8AFbIdxppc9vK8YrRJUaK/QmV iEDxNZ3yKHVwRqfhyH+4O6ws+e1Bf6YYCII7V6L/NRVmLOSqClwc+9LMfrbsoocHEO6b gACA== X-Gm-Message-State: ALoCoQm4Ed43YQc2xkZ2+fNL2US93Ca7tVdrfd25syRvWGVCc8yfwieZsPj40mLF7gXDjDIiCapo X-Received: by 10.68.94.197 with SMTP id de5mr58581857pbb.57.1429208182725; Thu, 16 Apr 2015 11:16:22 -0700 (PDT) Original-Received: from svesorm0.corp.w3data.com ([64.124.61.215]) by mx.google.com with ESMTPSA id e5sm6603274pdc.94.2015.04.16.11.16.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Apr 2015 11:16:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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:101594 Archived-At: --=-=-= Content-Type: text/plain Pressing C-c C-c in a shell mode buffer will occasionally dump garbage to the screen, and then the bash process dies. I have reproduced this with 'emacs -Q', but it does not happen every time. An example of a shell buffer where this happened under 'emacs -Q' is attached. I installed Emacs on OS X Yosemite using the following homebrew command: brew install emacs --with-cocoa --with-glib --with-gnutls \ --with-imagemagick --with-librsvg --HEAD In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.1.0, NS appkit-1344.72 Version 10.10.2 (Build 14C1514)) of 2015-04-16 on svesorm0.corp.w3data.com Repository revision: abba535271c3bd617d198c237a6fbb7d8dbb8cf7 Windowing system distributor `Apple', version 10.3.1344 Configured using: `configure --prefix=/usr/local/Cellar/emacs/HEAD --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --with-file-notification=gfile --without-dbus --with-gnutls --with-rsvg --with-imagemagick --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: " Mark set [2 times] Saved text until " > > > > > Process shell bus error: 10 " Mark set [2 times] Saved text until " > > > > > Process shell bus error: 10 " Wrote /Users/ssorensen/emacs-shell-died.txt Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu shell pcomplete comint ansi-color ring mule-util time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process gfilenotify cocoa ns multi-tty emacs) Memory information: ((conses 16 90162 7648) (symbols 48 18940 1) (miscs 40 73 280) (strings 32 14368 7704) (string-bytes 1 455332) (vectors 16 15712) (vector-slots 8 1045316 203461) (floats 8 77 203) (intervals 56 1102 16) (buffers 976 13)) --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=emacs-shell-died.txt Content-Transfer-Encoding: 8bit Content-Description: Example of shell buffer with this problem svesorm0:~ $ C-c C-c svesorm0:~ $ > > bash: syntax error near unexpected token `(' svesorm0:~ $ > > > > > > > > > > > > > > > > > > bash: syntax error near unexpected token `)' svesorm0:~ $ bash: j8ja: command not found svesorm0:~ $ [1] 13724 bash: Q0ǃwk: command not found bash: ,G: command not found [1]+ Exit 127 Q0ǃwk svesorm0:~ $ bash: AAK~֮EI~O665: command not found svesorm0:~ $ bash: P}^: command not found svesorm0:~ $ bash: U: command not found bash: T0,#Qұ4QX4XM:3ζDJer:: command not found svesorm0:~ $ bash: syntax error near unexpected token `)' svesorm0:~ $ bash: syntax error near unexpected token `&' svesorm0:~ $ bash: e@0Zf: command not found svesorm0:~ $ > > > bash: ! ř0: event not found > > > > > > > > > > bash: !"#$%: event not found > bash: !"#$%: event not found > > > > > > > > > > > > > > [1] 13731 bash: command substitution: line 1: syntax error near unexpected token `newline' bash: : No such file or directory bash: command substitution: line 1: `>' V M,u: No such file or directory bash: command substitution: line 14: unexpected EOF while looking for matching `'' bash: command substitution: line 15: syntax error: unexpected end of file bash: command substitution: line 1: unexpected EOF while looking for matching `'' bash: command substitution: line 4: syntax error: unexpected end of file bash: : command not found bash: :h=n: command not found bash: 0=vBvv~Nw:0nh>$  ?4D= _ -'.0]0AU5ݸsrݏ PO&c=f2b{t5^OjXl[za,JS)UW4hSmxuQ֥F,&x1AYx^ 0b1 0 UUS10U  261024173941Z01 0 UUS10U : command not found [1]+ Exit 1 c* C <  ]kYZ: command not found svesorm0:~ $ bash: syntax error near unexpected token `)' svesorm0:~ $ bash: syntax error near unexpected token `yڟ' svesorm0:~ $ bash: : command not found svesorm0:~ $ [1] 13742 bash: 0$U Apple: command not found bash: Apple: command not found [1]+ Exit 127 Apple Inc.1 svesorm0:~ $ bash: : command not found svesorm0:~ $ > > [1] 13745 [2] 13746 bash: Apple: command not found bash: [: command not found bash: g: command not found bash: 0$U Apple: command not found [1]- Exit 127 Apple Inc.1 bash: 0#: command not found 0 䑩 k+Y |@Vtӷ#;Go$ѷpE'mx~"5%kԢ$#s`[ /DH`8= svesorm0:~ $ bash: : command not found svesorm0:~ $ [1] 13751 bash: Apple: command not found bash: 0$U Apple: command not found [1]+ Exit 127 Apple Inc.1 svesorm0:~ $ bash: : command not found svesorm0:~ $ > > > > > > Process shell bus error: 10 --=-=-=--