GNU bug report logs - #76091
31.0.50; festure/igc: buffer.h:829: Emacs fatal error: assertion failed: BUFFERP (a)

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Thu, 6 Feb 2025 12:51:01 UTC

Severity: normal

Found in version 31.0.50

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 76091 <at> debbugs.gnu.org, Gregor Zattler <telegraph <at> gmx.net>, Helmut Eller <eller.helmut <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#76091: 31.0.50; festure/igc: buffer.h:829: Emacs fatal error: assertion failed: BUFFERP (a)
Date: Fri, 07 Feb 2025 16:53:15 +0100
Pip Cet <pipcet <at> protonmail.com> writes:

> Well, here it is:

IIUC, that fixes the problem with igc_on_grow_specpdl as part of a
grander effort that avoids parking the arena in more cases.

(I'd naively just written a new igc_xpalloc_specpdl patterned after the
existing igc_xpalloc_exectly and ambig variants, but I'm also lazy :-).)

Hard to review. Did you take this into account?

igc.c:
 3240   /* Can't make a root that has zero length.  Want one to be able to
 3241      detect calling igc_free on something not having a root.  */
 3242   void *end = (char *) p + size;
 3243   if (end == p)
 3244     end = (char *) p + IGC_ALIGN_DFLT;
 3245   root_create_ambig (global_igc, p, end, "xzalloc-ambig");





This bug report was last modified 102 days ago.

Previous Next


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