GNU bug report logs - #9006
24.0.50; Abort in unshow_buffer/kill-buffer

Previous Next

Package: emacs;

Reported by: Stephen Berman <Stephen.Berman <at> rub.de>

Date: Tue, 5 Jul 2011 23:22:01 UTC

Severity: normal

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 9006 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 9006 <at> debbugs.gnu.org
Subject: Re: bug#9006: 24.0.50; Abort in unshow_buffer/kill-buffer
Date: Thu, 07 Jul 2011 17:47:44 +0200
> This time I wasn't editing but just moving around the buffer rapidly,
> holding down keys like C-n, C-p, C-f, C-v etc. until Emacs didn't
> respond anymore, then C-g, upon which Emacs aborted.  The session was
> not quite as old as the previous one, 9-10 hours.  I had tried
> unsuccessfully to induce the crash several times earlier in the session.

I'm quite lost here.  From the code it seems obvious that tabbar uses
`vertical-motion' which makes a temporary buffer appear in the selected
window without displaying it in order to calculate the tabs to display.
Apparently, the problem is that `vertical-motion' does

      XSETBUFFER (w->buffer, current_buffer);

but does not

      set_marker_both (w->pointm, buffer, BEG, BEG_BYTE);

as the comment I posted earlier suggests.  This makes the subsequent
unshow_buffer abort.  In any case, someone who knows `vertical-motion'
better than me will have to look into this.

martin




This bug report was last modified 12 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.