GNU bug report logs - #47244
28.0.50; SIGSEGV in long-runnning Emacs

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <md5i <at> md5i.com>

Date: Thu, 18 Mar 2021 15:40:01 UTC

Severity: normal

Found in version 28.0.50

Done: Michael Welsh Duggan <mwd <at> md5i.com>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Michael Welsh Duggan <mwd <at> cert.org>
Cc: "mwd <at> md5i.com" <mwd <at> md5i.com>,
 "47244 <at> debbugs.gnu.org" <47244 <at> debbugs.gnu.org>, Eli Zaretskii <eliz <at> gnu.org>,
 "schwab <at> linux-m68k.org" <schwab <at> linux-m68k.org>
Subject: Re: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs
Date: Thu, 1 Apr 2021 09:14:06 +0200
>>> Does it start with emacs -Q?
>>
>> Nope.  It fails.

Strange.  I have no problems running the changeset with ...

GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
 of 2021-04-01 built on restno
Repository revision: b4a125e5ad1de3eb770dff12017f1e0658c4c6a2
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)

Configured using:
 'configure --with-gif=ifavailable --with-tiff=ifavailable
 --with-gnutls=no --without-pop --enable-gcc-warnings=warn-only
 --with-x-toolkit=lucid --enable-checking=yes
 --enable-check-lisp-object-type=yes 'CFLAGS=-O0 -g3 -no-pie''

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GSETTINGS HARFBUZZ JPEG LIBSELINUX MODULES
NOTIFY INOTIFY PDUMPER PNG SOUND THREADS TOOLKIT_SCROLL_BARS X11 XAW3D
XDBE XIM XPM LUCID ZLIB

... which is almost yours but for a few missing features.

> Also verified that using with the previous changeset with
> --enable-checking=yes still works.

Which of the two additions is responsible?  Try to remove or comment out
either the two lines in buffer.c

  if (!b->base_buffer)
    eassert (b->window_count == 0);

or all four lines containing replace_buffer_in_windows_safely_count in
window.c, as there are

static int replace_buffer_in_windows_safely_count;

		replace_buffer_in_windows_safely_count += 1;

  replace_buffer_in_windows_safely_count = 0;

  eassert (count == replace_buffer_in_windows_safely_count);

Otherwise I'm clueless.  Maybe Eli has an idea.

martin




This bug report was last modified 4 years and 28 days ago.

Previous Next


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