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 02:55:46 +0000 Message-ID: <1228272946.4935f532858b8@webmail.freedom2surf.net> References: <1228263110.4935cec65ee1a@webmail.freedom2surf.net> 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 1228273853 15306 80.91.229.12 (3 Dec 2008 03:10:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 03:10:53 +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 04:11:55 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 1L7i9a-0003gK-Au for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2008 04:11:54 +0100 Original-Received: from localhost ([127.0.0.1]:60899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7i8P-0000ut-Tf for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 22:10:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7i8L-0000t8-Q6 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 22:10:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7i8L-0000sW-78 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 22:10:37 -0500 Original-Received: from [199.232.76.173] (port=39821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7i8K-0000sT-WE for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 22:10:37 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47607) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7i8K-00018w-Gr for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 22:10:36 -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 mB33ACBq028006; Tue, 2 Dec 2008 19:10:13 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB3358w1026508; Tue, 2 Dec 2008 19:05:08 -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 03:05:08 +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.122827295624053 (code B ref 716); Wed, 03 Dec 2008 03:05:08 +0000 Original-Received: (at 716) by emacsbugs.donarmstrong.com; 3 Dec 2008 02:55:56 +0000 Original-Received: from mk-outboundfilter-6-a-2.mail.uk.tiscali.com (mk-outboundfilter-6-a-2.mail.uk.tiscali.com [212.74.114.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB32tqY5024046 for <716@emacsbugs.donarmstrong.com>; Tue, 2 Dec 2008 18:55:53 -0800 Original-X-Trace: 57993954/mk-outboundfilter-6.mail.uk.tiscali.com/F2S/$F2S-MX-ACCEPTED/f2s-freedom2surf-infrastructure/194.106.33.239 X-SBRS: None X-RemoteIP: 194.106.33.239 X-IP-MAIL-FROM: jasonr@f2s.com X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsACANODNUnCaiHv/2dsb2JhbACSNsBFgn8 X-IronPort-AV: E=Sophos;i="4.33,705,1220223600"; d="scan'208";a="57993954" 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 02:55:46 +0000 Original-Received: from localhost (i-194-106-33-239 [127.0.0.1]) by webmail1.freedom2surf.net (Postfix) with ESMTP id 92299228539; Wed, 3 Dec 2008 02:55:46 +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 02:55:46 +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 22:10:37 -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:22876 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. > > Can you reproduce it by evaluating the following first: > > (set-default-coding-systems 'iso-latin-1-dos) > > No, that doesn't help. I'm still not able to reproduce it. Since the crashes seem to be happening when the swapped buffers are subsequently displayed, how about trying different font backends, for example: emacs -Q -xrm Emacs.fontBackend:x Not sure what font backend the user on NetBSD/powerpc was using, but there might be something that the xft font backend does that buffer-swap-text is relying on which the w32 and one of the x font backends are not doing correctly.