all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@f2s.com>
To: Jason Rumney <jasonr@gnu.org>, 716@emacsbugs.donarmstrong.com
Subject: bug#716: Bug in buffer-swap-text (was Re: bug#716: 23.0.60; opening tgz file causes emacs crash)
Date: Mon, 01 Sep 2008 20:12:23 +0800	[thread overview]
Message-ID: <48BBDC27.1090601@f2s.com> (raw)
In-Reply-To: <48AEE576.4000606@gnu.org>

I've managed to reduce this to a small test case that shows that the bug 
is in new function buffer-swap-text.

Create the following new buffers:

---- test1.txt ----
This is buffer 1
(buffer-swap-text "test2.txt")

---- test2.txt ----
This is buffer 2
(buffer-swap-text "test2.txt")

After creating these buffers, switch to test1.txt buffer and press C-x 
C-e at the end of the second line.
This works fine, and you can swap the two buffers without problem 
repeatedly.

Now, still in test1.txt buffer, C-x RET f binary

Now try C-x C-e on the second line again. Perhaps not on the first try, 
but sooner or later Emacs crashes.







  reply	other threads:[~2008-09-01 12:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49521AFE.4030105@gnu.org>
2008-08-14  8:07 ` bug#716: 23.0.60; opening tgz file causes emacs crash robert marshall
2008-08-22 12:10   ` Jason Rumney
2008-08-22 16:12     ` Jason Rumney
2008-09-01 12:12       ` Jason Rumney [this message]
2008-09-01 12:19         ` bug#716: Bug in buffer-swap-text (was Re: bug#716: 23.0.60; opening tgz file causes emacs crash) Jason Rumney
2008-11-21 15:14           ` Juanma Barranquero
2008-12-24 11:30   ` bug#716: marked as done (23.0.60; " Emacs bug Tracking System
2008-09-05 23:11 ` bug#899: 23.0.60; Opening a foo.tar.gz file crashes Yary Hluchan
2008-12-24 11:30   ` bug#899: marked as done (23.0.60; Opening a foo.tar.gz file crashes) Emacs bug Tracking System
2008-10-05  4:37 ` bug#1088: 23.0.60; Crash during opening a large .tar.gz file TAKAHASHI Yoshio
2008-12-24 11:30   ` bug#1088: marked as done (23.0.60; Crash during opening a large .tar.gz file) Emacs bug Tracking System
     [not found] ` <as3akqfb8k.fsf@fencepost.gnu.org>
2008-12-24 11:30   ` bug#805: marked as done (Emacs crashes on Windows when visiting .tar.gz files) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48BBDC27.1090601@f2s.com \
    --to=jasonr@f2s.com \
    --cc=716@emacsbugs.donarmstrong.com \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.