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 #49 received at 30931 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 30931 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Michał Kondraciuk <k.michal <at> zoho.com>
Subject: Re: bug#30931: abort() due to CHECK_ALLOCATED_AND_LIVE failure during
 GC
Date: Fri, 30 Mar 2018 08:56:04 -0400
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> This patch puts more pressure on the GC. Although it might be nice to
> relieve the pressure, I'm not sure it's worth the trouble.

> -      /* These aren't needed anymore, so don't wait for GC.  */
> -      free_marker (XCAR (data));
> -      free_marker (XCDR (data));
> +      /* This isn’t needed anymore, so don’t wait for GC.
> +         Do not call free_marker on XCAR (data) or XCDR (data),
> +         though, since record_marker_adjustments may have put
> +         them on the buffer’s undo list (Bug#30931).  */
>        free_cons (XCONS (data));

Shouldn't we at least do set-marker?

    Fset_marker (XCAR (data), Qnil, Qnil)
    Fset_marker (XCDR (data), Qnil, Qnil)




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.