From: Stephen Berman <stephen.berman@gmx.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, 891@emacsbugs.donarmstrong.com
Subject: bug#891: 23.0.60; Emacs aborts after buffer-swap-text
Date: Fri, 05 Sep 2008 10:32:07 +0200 [thread overview]
Message-ID: <87iqtbgfi0.fsf@escher.local.home> (raw)
In-Reply-To: <jwvhc8v45dv.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Thu, 04 Sep 2008 23:52:45 -0400")
On Thu, 04 Sep 2008 23:52:45 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> 1. emacs -Q
>> 2. Load the library tabbar.el, available from
>> http://emhacks.cvs.sourceforge.net/emhacks/emhacks/tabbar.el?revision=1.69&view=markup
>> 3. M-x tabbar-mode
>> 4. M-: (buffer-swap-text (get-buffer "*Messages*"))
>> 5. C-c C-right (tabbar-forward)
>> ==> Emacs aborts
>
>> The full backtrace is below. According to the Lisp backtrace, the abort
>> occurs during or after switch-to-buffer. Yet typing C-x b after step 4
>> above does not make Emacs abort. Moreover, when I directly call any of
>> the tabbar.el functions listed in the backtrace and step through them
>> with edebug, this also fails to make Emacs abort. Yet the above recipe
>> is reliably reproducible.
>
>> (Since the abort occurs in unshow_buffer, my guess, based on a comment
>> at line 8314 of xdisp.c, is that switch-to-buffer needs to have
>> something like the code in with_echo_area_buffer that changes w->pointm.
>> I guess this would go after the call to Fset_buffer in switch-to-buffer,
>> but I don't know how to write the code.)
>
> Does the patch below fix the crash you see?
Yes; thanks!
Steve Berman
prev parent reply other threads:[~2008-09-05 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-04 22:33 bug#891: 23.0.60; Emacs aborts after buffer-swap-text Stephen Berman
2008-09-04 23:06 ` Jason Rumney
2008-09-04 23:15 ` Processed (with 1 errors): " Emacs bug Tracking System
2008-09-05 8:32 ` Stephen Berman
2008-09-05 9:57 ` Jason Rumney
2008-09-05 10:05 ` Processed: " Emacs bug Tracking System
2008-09-05 3:52 ` Stefan Monnier
2008-09-05 8:32 ` Stephen Berman [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iqtbgfi0.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--cc=891@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).