unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Christoph Scholtes <cschol2112@googlemail.com>, 12007@debbugs.gnu.org
Subject: bug#12007: 24.1.50; Crash in auto-revert-handler
Date: Sun, 22 Jul 2012 08:11:57 +0400	[thread overview]
Message-ID: <500B7D8D.3060309@yandex.ru> (raw)
In-Reply-To: <83mx2t1aut.fsf@gnu.org>

On 07/21/2012 05:51 PM, Eli Zaretskii wrote:

>> From: Christoph Scholtes <cschol2112@googlemail.com>
>> Date: Sat, 21 Jul 2012 07:17:07 -0600
>>
>> Emacs seems to have crashed while executing the auto-revert-function. I
>> was not working on anything at that moment and Emacs was minimized.
>>
>> Eli, gdb session is available. :)
>
> Thanks, but this looks like a completely different crash, it happened
> inside GC:
>
>> #1  0x0114fabd in w32_abort () at w32fns.c:7183
>>          button = 6
>> #2  0x01041cc6 in die (
>>      msg=0x152fa40 "assertion failed: buffer->base_buffer->indirections > 0",
>>      file=0x152d874 "buffer.c", line=1454) at alloc.c:6701
>> No locals.
>> #3  0x010a9ab1 in compact_buffer (buffer=0x10847c00) at buffer.c:1454
>> No locals.
>> #4  0x0103ef10 in Fgarbage_collect () at alloc.c:5416  <<<<<<<<<<<<<<<<<<<
>
> The failed assertion seems to point to the latest changes which added
> buffer indirection counting.  Dmitry, could you please take a look?
> You can ask Christoph to look around in the crashed session, since it
> is still runs under GDB.

Most probably this is a fix:

=== modified file 'src/buffer.c'
--- src/buffer.c	2012-07-20 16:05:47 +0000
+++ src/buffer.c	2012-07-22 04:08:08 +0000
@@ -2145,6 +2145,7 @@
    swapfield (zv_byte, ptrdiff_t);
    eassert (!current_buffer->base_buffer);
    eassert (!other_buffer->base_buffer);
+  swapfield (indirections, ptrdiff_t);
    current_buffer->clip_changed = 1;	other_buffer->clip_changed = 1;
    swapfield (newline_cache, struct region_cache *);
    swapfield (width_run_cache, struct region_cache *);

Christoph, can you try it?

Dmitry





  parent reply	other threads:[~2012-07-22  4:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-21 13:17 bug#12007: 24.1.50; Crash in auto-revert-handler Christoph Scholtes
2012-07-21 13:51 ` Eli Zaretskii
2012-07-21 22:22   ` Christoph Scholtes
2012-07-25  0:39     ` Christoph Scholtes
2012-07-25  2:37       ` Dmitry Antipov
     [not found]       ` <500F5BD7.6050203@yandex.ru>
2012-07-25  3:53         ` Christoph Scholtes
2012-07-25  4:42           ` Dmitry Antipov
     [not found]           ` <500F7930.3060100@yandex.ru>
2012-07-25 11:34             ` Christoph Scholtes
     [not found]             ` <500FD9C8.7080705@gmail.com>
2012-07-25 12:39               ` Dmitry Antipov
     [not found]               ` <500FE913.9030801@yandex.ru>
2012-08-13 19:03                 ` Christoph Scholtes
2012-08-13 19:24                   ` Eli Zaretskii
2012-08-14  2:52                     ` Eli Zaretskii
2012-08-15 14:55                     ` Dmitry Antipov
     [not found]                     ` <502BB870.7030505@yandex.ru>
2012-08-15 15:08                       ` Drew Adams
2012-08-15 16:34                     ` bug#12007: probably a fix Dmitry Antipov
2012-08-15 16:40                     ` bug#12007: 24.1.50; Crash in auto-revert-handler Eli Zaretskii
2012-08-15 16:50                       ` Dmitry Antipov
2012-08-15 17:27                         ` Eli Zaretskii
2012-08-15 18:35                       ` Jan Djärv
2012-07-22  4:11   ` Dmitry Antipov [this message]
2012-07-22 17:46     ` Christoph Scholtes
2012-07-22 19:50       ` Andreas Schwab
2012-07-22 20:50         ` Eli Zaretskii

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=500B7D8D.3060309@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=12007@debbugs.gnu.org \
    --cc=cschol2112@googlemail.com \
    --cc=eliz@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 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).