From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jasonr@f2s.com Newsgroups: gmane.emacs.bugs Subject: bug#716: Bug in buffer-swap-text Date: Wed, 3 Dec 2008 00:11:50 +0000 Message-ID: <1228263110.4935cec65ee1a@webmail.freedom2surf.net> References: Reply-To: jasonr@f2s.com, 716@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1228264273 26414 80.91.229.12 (3 Dec 2008 00:31:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 00:31:13 +0000 (UTC) Cc: Geoff Gole , 716@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 03 01:32:16 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7ff2-0005wm-Fz for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2008 01:32:12 +0100 Original-Received: from localhost ([127.0.0.1]:53948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7fds-0007TC-7c for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 19:31:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7fdo-0007SJ-AM for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 19:30:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7fdm-0007RY-62 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 19:30:55 -0500 Original-Received: from [199.232.76.173] (port=53647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7fdm-0007RV-0W for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 19:30:54 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39075) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7fdl-0003uy-JC for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 19:30:53 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB30UDeX018935; Tue, 2 Dec 2008 16:30:13 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB30K3aw015845; Tue, 2 Dec 2008 16:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: jasonr@f2s.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 03 Dec 2008 00:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 716 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 716-submit@emacsbugs.donarmstrong.com id=B716.122826312114553 (code B ref 716); Wed, 03 Dec 2008 00:20:03 +0000 Original-Received: (at 716) by emacsbugs.donarmstrong.com; 3 Dec 2008 00:12:01 +0000 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB30BuiL014547 for <716@emacsbugs.donarmstrong.com>; Tue, 2 Dec 2008 16:11:58 -0800 Original-X-Trace: 113551704/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-MX-ACCEPTED/f2s-freedom2surf-infrastructure/194.106.33.239/None/jasonr@f2s.com X-SBRS: None X-RemoteIP: 194.106.33.239 X-IP-MAIL-FROM: jasonr@f2s.com X-MUA: Internet Messaging Program (IMP) 3.2.3 X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsACAJ9dNUnCaiHv/2dsb2JhbACSNsA3gn8 X-IronPort-AV: E=Sophos;i="4.33,704,1220223600"; d="scan'208";a="113551704" X-IP-Direction: IN Original-Received: from mail5.freedom2surf.net (HELO webmail1.freedom2surf.net) ([194.106.33.239]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Dec 2008 00:11:50 +0000 Original-Received: from localhost (i-194-106-33-239 [127.0.0.1]) by webmail1.freedom2surf.net (Postfix) with ESMTP id 6FC21228539; Wed, 3 Dec 2008 00:11:50 +0000 (GMT) Original-Received: from 61.4.103.130 ([61.4.103.130]) by webmail.freedom2surf.net (IMP) with HTTP for ; Wed, 3 Dec 2008 00:11:50 +0000 In-Reply-To: User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 61.4.103.130 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 02 Dec 2008 19:30:55 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22872 Archived-At: Quoting Stefan Monnier : > > I can reliably get a crash without changing coding systems: > > (progn > > (buffer-swap-text (generate-new-buffer "test")) > > (insert (make-string 128 ?a))) I get a crash at this point using C-x C-e on this line as the first activity in emacs -Q, after pasting the above into *scratch* and removing the > quotations. > > (progn > > (buffer-swap-text (generate-new-buffer "test")) > > (garbage-collect)) > > I cannot seem to reproduce it here, tho I'm not 100% sure how you run > the above code. Could you give a more detailed recipe, starting from > "emacs -Q" and showing whether you use M-: or C-x C-e, ... ? Can you reproduce it by evaluating the following first: (set-default-coding-systems 'iso-latin-1-dos) Possibly not, as setting the coding systems to ...-unix does not make the problem go away for me, and the user who saw the bug on NetBSD/powerpc did not report doing anything special like this to trigger the bug.