From t-walton@cquest.utoronto.ca Wed Nov 19 11:35:53 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=-6.8 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_2,MURPHY_SEX_L5,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Nov 2008 19:35:54 +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 mAJJZnqo031935 for ; Wed, 19 Nov 2008 11:35:51 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2sq4-0005sr-Df for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 14:35:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2sq1-0005ov-1F for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 14:35:47 -0500 Received: from [199.232.76.173] (port=48714 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2sq0-0005oc-Q0 for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 14:35:44 -0500 Received: from www.cquest.utoronto.ca ([192.82.128.5]:58273) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L2sq0-0001rO-9q for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 14:35:44 -0500 Received: from ntdws12.chass.utoronto.ca ([128.100.160.253] ident=93) by www.cquest.utoronto.ca with esmtp (Exim 4.43) id 1L2spv-00085r-Io for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 14:35:39 -0500 Received: from t-walton by ntdws12.chass.utoronto.ca with local (Exim 4.63) (envelope-from ) id 1L2spv-0000c6-HS for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 14:35:39 -0500 From: "Ben Walton (student)" To: bug-gnu-emacs@gnu.org Subject: segfault when killing unsaved buffer Message-Id: Sender: Ben Walton (student) Date: Wed, 19 Nov 2008 14:35:39 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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. 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 (i686-redhat-linux-gnu) of 2007-12-10 on hs20-bc2-3.build.redhat.com configured using `configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --without-x' 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: 1. Open new emacs (-nox) session [tested with -q --no-site-file also] 2. Open buffer for new file (C-x C-f ~/somenewfile.txt RET) 3. Enter some text so buffer is modified/dirty. 4. Kill buffer (C-x k) 5. RET (to confirm killing the buffer) 6. Segfault The following is a gdb backtrace from the core file: $ gdb `which emacs-nox` core.21239 GNU gdb Red Hat Linux (6.5-37.el5_2.2rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/libncurses.so.5...done. Loaded symbols for /usr/lib/libncurses.so.5 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Core was generated by `emacs-nox'. Program terminated with signal 11, Segmentation fault. #0 0x0095a402 in __kernel_vsyscall () (gdb) backtrace #0 0x0095a402 in __kernel_vsyscall () #1 0x00690146 in kill () from /lib/libc.so.6 #2 0x0809b3c9 in fatal_error_signal (sig=11) at emacs.c:354 #3 #4 0x006d6053 in strlen () from /lib/libc.so.6 #5 0x0812e6f8 in doprnt1 (lispstrings=0, buffer=0xbfc6059c "Buffer \n, bufsize=, format=0x81407f8 "Buffer %s modified; kill anyway? ", format_end=0x8140819 "", nargs=5, args=0xbfc60594) at doprnt.c:249 #6 0x080ec919 in format1 ( string1=0x81407f8 "Buffer %s modified; kill anyway? ") at editfns.c:3536 #7 0x080b6b58 in Fkill_buffer (buffer=973129580) at buffer.c:1213 #8 0x080f6df4 in Ffuncall (nargs=2, args=0xbfc60720) at eval.c:2659 #9 0x080f45a3 in Fcall_interactively (function=405216116, record_flag=405074988, keys=1210440104) at callint.c:797 #10 0x0809dbf7 in Fcommand_execute (cmd=405216116, record_flag=405074988, keys=405074988, special=405074988) at keyboard.c:9255 #11 0x080a68b6 in command_loop_1 () at keyboard.c:1661 #12 0x080f56fd in internal_condition_case (bfun=0x80a6540 , handlers=405172732, hfun=0x80a0740 ) at eval.c:1267 #13 0x080a0333 in command_loop_2 () at keyboard.c:1245 #14 0x080f57b2 in internal_catch (tag=405132772, func=0x80a0310 , arg=405074988) at eval.c:1030 #15 0x080a0467 in command_loop () at keyboard.c:1224 #16 0x080a0505 in recursive_edit_1 () at keyboard.c:950 #17 0x080a0603 in Frecursive_edit () at keyboard.c:1006 #18 0x0809a7f0 in main (argc=1, argv=0xbfc61044, envp=Cannot access memory at address 0x8 ) at emacs.c:1547 #19 0x0067cdec in __libc_start_main () from /lib/libc.so.6 #20 0x0804ac71 in _start () (gdb) Recent input: ESC x r e p o TAB e DEL r TAB RET Recent messages: (emacs-nox -q --no-site-file) Loading disp-table...done For information about the GNU Project and its goals, type C-h C-p. Making completion list... Loading view...done Loading emacsbug...done From rgm@gnu.org Wed Nov 19 18:56:16 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=-13.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1382) by emacsbugs.donarmstrong.com; 20 Nov 2008 02:56:16 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK2u83G016536; Wed, 19 Nov 2008 18:56:09 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L2zi2-0005i3-Ni; Wed, 19 Nov 2008 21:55:58 -0500 From: Glenn Morris To: "Ben Walton" Cc: 1382@debbugs.gnu.org Subject: Re: bug#1382: segfault when killing unsaved buffer References: X-Spook: terrorist CIA ASLET Qaddafi Mole Merlin satellite imagery X-Ran: ftS{G4611.Ic}L^(*rHoSqA;WRisih6nm{P(qm|eRUN%ja^A2c,fd2]71L8w>$,Jb!yl (Ben Walton's message of "Wed, 19 Nov 2008 14:35:39 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reassign 1382 emacs21 stop "Ben Walton (student)" wrote: > In GNU Emacs 21.4.1 (i686-redhat-linux-gnu) > of 2007-12-10 on hs20-bc2-3.build.redhat.com Unfortunately, Emacs 21 is rather old and not supported any more. I would recommend you use the latest release, Emacs 22.3 instead. But if you can't do that and your 21.4 is a Red Hat package (it seems it might be), you should report this problem to them. From rgm@gnu.org Thu Nov 20 09:36:48 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=-14.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1382-quiet) by emacsbugs.donarmstrong.com; 20 Nov 2008 17:36:48 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAKHajqx021823 for <1382-quiet@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 09:36:46 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L3DSE-00013a-Dm for 1382-quiet@emacsbugs.donarmstrong.com; Thu, 20 Nov 2008 12:36:34 -0500 Resent-Message-ID: <18725.40993.563520.185592@fencepost.gnu.org> Resent-Date: Thu, 20 Nov 2008 12:36:33 -0500 Resent-From: Glenn Morris Resent-To: 1382-quiet@debbugs.gnu.org References: In-Reply-To: Message-Id: <1227190054-sup-3729@ntdws12.chass.utoronto.ca> Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1227190432-360994-2498-7986-5-="; micalg="pgp-sha1" MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Date: Thu, 20 Nov 2008 09:13:49 -0500 From: Ben Walton To: Glenn Morris Subject: Re: bug#1382: segfault when killing unsaved buffer X-Bogosity: no, spamicity=0.027202, v1.0.1 User-Agent: Sup/git X-Debbugs-No-Ack: yes Resent-Date: Thu, 20 Nov 2008 12:36:34 -0500 --=-1227190432-360994-2498-7986-5-= Content-Type: text/plain; charset=UTF-8 Excerpts from Glenn Morris's message of Wed Nov 19 21:55:58 -0500 2008: > > In GNU Emacs 21.4.1 (i686-redhat-linux-gnu) > > of 2007-12-10 on hs20-bc2-3.build.redhat.com > > Unfortunately, Emacs 21 is rather old and not supported any more. I > would recommend you use the latest release, Emacs 22.3 instead. But if > you can't do that and your 21.4 is a Red Hat package (it seems it > might be), you should report this problem to them. OK. Thanks for the response anyway. I may dig into that back trace and the code a little more, but I'll definitely kick it over to redhat also. My personal ubuntu boxes run a more recent version and I don't have this issue there. [This is my first foray into emacs after using vim for ~10 years. So far, I'm quite happy! :) ] Thanks! -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu Contact me to arrange for a CAcert assurance meeting. --=-1227190432-360994-2498-7986-5-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFJJXCg8vuMHY6J9tIRAlxeAJ9frvaT5em7heKIselBHiIbK6oUzwCfRMh4 9cOpGS8eGQ4xI10GwEql4U8= =nINQ -----END PGP SIGNATURE----- --=-1227190432-360994-2498-7986-5-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 14:23:37 2010 Received: (at control) by debbugs.gnu.org; 24 Jun 2010 18:23:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5N-00051L-8v for submit@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:37 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5K-00051G-K0 for control@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:35 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o5OINUI2013527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Jun 2010 14:23:30 -0400 Received: by furry (Postfix, from userid 1000) id 5BF4B16D416; Thu, 24 Jun 2010 20:23:29 +0200 (CEST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 1382 Date: Thu, 24 Jun 2010 14:23:29 -0400 Message-ID: <87r5jw5ly6.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control 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: -2.7 (--) severity 135 minor tags 710 + moreinfo unreproducible close 756 tags 844 + moreinfo unreproducible close 917 close 1000 tags 1125 + moreinfo unreproducible close 1159 severity 1238 wishlist close 1247 close 1381 close 1382 tags 1708 + moreinfo unreproducible close 1993 severity 2024 wishlist close 2236 severity 2299 wishlist tags 2394 + moreinfo unreproducible severity 2507 minor close 2583 tags 2690 + moreinfo unreproducible tags 2812 + moreinfo unreproducible tags 2843 + moreinfo unreproducible tags 2870 + moreinfo unreproducible tags 2877 + moreinfo unreproducible close 3032 close 3273 close 3349 close 4046 close 4358 close 4591 close 4656 thanks From unknown Fri Aug 15 21:22:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Jul 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator