From unknown Fri Sep 05 08:22:05 2025 X-Loop: don@donarmstrong.com Subject: bug#991: Emacs crashes when working with unapplied diff/patch file Reply-To: Michal Kovarik , 991@debbugs.gnu.org Resent-From: Michal Kovarik Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Sep 2008 16:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 991 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122166944826935 (code B ref -1); Wed, 17 Sep 2008 16:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2008 16:37:28 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8HGbK1M026848 for ; Wed, 17 Sep 2008 09:37:22 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kg01n-00041B-QT for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kg01m-0003yg-I7 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:19 -0400 Received: from [199.232.76.173] (port=37434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg01m-0003yH-79 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:18 -0400 Received: from mail.autokelly.cz ([194.228.19.236]:55963) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kg01l-0005Zo-Cj for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:18 -0400 Received: by mail.autokelly.cz (Postfix, from userid 1002) id 7D0EC100B747; Wed, 17 Sep 2008 18:37:10 +0200 (CEST) To: bug-gnu-emacs@gnu.org Message-Id: From: Michal Kovarik Date: Wed, 17 Sep 2008 18:37:06 +0200 X-NOD32Result: clean (vdv=3312) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-06-19 on ninsei, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' '--with-x-toolkit=athena' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I created diff/patch file (using the cvs diff) and reversed the diff afterwards, but when I opened the unapplied diff and did on the line to be added, it crashed (Segmentation fault) Recent input: C-f d i f f Recent messages: Loading xrefactory (source)...done xrefactory loaded Loading regexp-opt...done For information about the GNU Project and its goals, type C-h C-p. Loading view...done Note: file is write protected Type C-h for help, h for commands, q to quit. Mark saved where search started Loading emacsbug...done byte-code: Command attempted to use minibuffer while in minibuffer From unknown Fri Sep 05 08:22:05 2025 X-Loop: don@donarmstrong.com Subject: bug#991: Emacs crashes when working with unapplied diff/patch file Reply-To: Chong Yidong , 991@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 19 Sep 2008 18:15:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 991 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 991-submit@emacsbugs.donarmstrong.com id=B991.12218477107521 (code B ref 991); Fri, 19 Sep 2008 18:15:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 991) by emacsbugs.donarmstrong.com; 19 Sep 2008 18:08:30 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8JI8RZo007514 for <991@emacsbugs.donarmstrong.com>; Fri, 19 Sep 2008 11:08:28 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 7814457E342; Fri, 19 Sep 2008 14:08:27 -0400 (EDT) From: Chong Yidong To: Michal Kovarik Cc: 991@debbugs.gnu.org Date: Fri, 19 Sep 2008 14:08:27 -0400 Message-ID: <873ajw57qc.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I created diff/patch file (using the cvs diff) and reversed the diff > afterwards, but when I opened the unapplied diff and did on > the line to be added, it crashed (Segmentation fault) Please a recipe for reproducing this bug, including if possible the file that caused the crash. Also, Emacs 21.4 is rather old; I would suggest trying a more recent version of Emacs, as there's a good chance this bug has already been fixed. Could you try that, and report back? From unknown Fri Sep 05 08:22:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michal Kovarik Subject: bug#991: closed (Re: bug#991: Emacs crashes when working with unapplied diff/patch file) Message-ID: References: <3box11t7g.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 991 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 991@debbugs.gnu.org Date: Mon, 11 Jul 2011 01:51:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1310349062-20604-1" This is a multi-part message in MIME format... ------------=_1310349062-20604-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #991: Emacs crashes when working with unapplied diff/patch file which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 991@debbugs.gnu.org. --=20 991: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D991 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1310349062-20604-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 991-done) by debbugs.gnu.org; 11 Jul 2011 01:50:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg5dq-0005Lj-RI for submit@debbugs.gnu.org; Sun, 10 Jul 2011 21:50:35 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg5do-0005LU-PA for 991-done@debbugs.gnu.org; Sun, 10 Jul 2011 21:50:33 -0400 Received: from localhost ([127.0.0.1]:41671) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qg5dj-0008Am-Ax; Sun, 10 Jul 2011 21:50:27 -0400 From: Glenn Morris To: 991-done@debbugs.gnu.org Subject: Re: bug#991: Emacs crashes when working with unapplied diff/patch file References: <873ajw57qc.fsf@cyd.mit.edu> X-Spook: corporate security MILSATCOM basement interception ASLET X-Ran: YH05aF7*XD2sG.MQq^xs1VX7js7iqJSGsIxGXQ_ACH|7+/]%[?i_eSxp*uLvn5\}em&r^1 X-Hue: yellow X-Attribution: GM Date: Sun, 10 Jul 2011 21:50:27 -0400 In-Reply-To: <873ajw57qc.fsf@cyd.mit.edu> (Chong Yidong's message of "Fri, 19 Sep 2008 14:08:27 -0400") Message-ID: <3box11t7g.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 991-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) This report is being closed because it refers to what is now an old release of Emacs and there is no information for us to be able to reproduce the problem. If you still see the issue with the latest release, 23.3, please reply and we can reopen the report if needed. Chong Yidong wrote: > Please a recipe for reproducing this bug, including if possible the file > that caused the crash. > > Also, Emacs 21.4 is rather old; I would suggest trying a more recent > version of Emacs, as there's a good chance this bug has already been > fixed. Could you try that, and report back? ------------=_1310349062-20604-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From mkov01@autokelly.cz Wed Sep 17 09:37:28 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2008 16:37:28 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8HGbK1M026848 for ; Wed, 17 Sep 2008 09:37:22 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kg01n-00041B-QT for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kg01m-0003yg-I7 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:19 -0400 Received: from [199.232.76.173] (port=37434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg01m-0003yH-79 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:18 -0400 Received: from mail.autokelly.cz ([194.228.19.236]:55963) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kg01l-0005Zo-Cj for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:37:18 -0400 Received: by mail.autokelly.cz (Postfix, from userid 1002) id 7D0EC100B747; Wed, 17 Sep 2008 18:37:10 +0200 (CEST) To: bug-gnu-emacs@gnu.org Subject: Emacs crashes when working with unapplied diff/patch file Message-Id: From: Michal Kovarik Date: Wed, 17 Sep 2008 18:37:06 +0200 X-NOD32Result: clean (vdv=3312) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-06-19 on ninsei, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' '--with-x-toolkit=athena' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I created diff/patch file (using the cvs diff) and reversed the diff afterwards, but when I opened the unapplied diff and did on the line to be added, it crashed (Segmentation fault) Recent input: C-f d i f f Recent messages: Loading xrefactory (source)...done xrefactory loaded Loading regexp-opt...done For information about the GNU Project and its goals, type C-h C-p. Loading view...done Note: file is write protected Type C-h for help, h for commands, q to quit. Mark saved where search started Loading emacsbug...done byte-code: Command attempted to use minibuffer while in minibuffer ------------=_1310349062-20604-1--