GNU bug report logs - #30931
abort() due to CHECK_ALLOCATED_AND_LIVE failure during GC

Previous Next

Package: emacs;

Reported by: Michał Kondraciuk <k.michal <at> zoho.com>

Date: Sat, 24 Mar 2018 22:07:02 UTC

Severity: normal

Tags: confirmed

Found in versions 25.3, 26.0.91, 27.0.50

Fixed in version 26.2

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Michał Kondraciuk <k.michal <at> zoho.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 30931 <30931 <at> debbugs.gnu.org>
Subject: Re: bug#30931: 27.0.50; Crash in "Automatic GC"
Date: Thu, 29 Mar 2018 17:52:49 +0200
I was able to reproduce crash in the same place in bare Emacs versions 
27.0.50, 25.3, 24.4 with the form below.

(progn
  (defun on-overlay-modification (&rest args)
    (push nil buffer-undo-list))

  (defun crash ()
    (save-restriction
      (narrow-to-region 1 1)

      (let (end)
        (insert " 123aaa")
        (narrow-to-region 2 3)

        (setq end (set-marker (make-marker) 3))
        (save-restriction
          (widen)
          (lisp-indent-line))

        (garbage-collect)

        (overlay-put (make-overlay end (1+ end))
                     'modification-hooks '(on-overlay-modification)))))

  (with-current-buffer "*scratch*"
    (let ((buffer-undo-list t))
      (while t
        (erase-buffer)
        (crash)))))





This bug report was last modified 7 years and 81 days ago.

Previous Next


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