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


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

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

> It still needs more testing, thought, and comments.  All the volatile
> stuff is needed because we can't copy a union with word atomicity: all
> we have is memcpy, which might copy bytewise and result in an invalid
> intermediate state.

But volatile doesn't guarantee atomicity.  Does it?

> Helmut, can you look over the larger_marker_vector changes?  While
> testing, I hit easserts there, so I added some new ones to catch the
> situation earlier.  I think the old code was fine, but the new one
> should also be, right?

Yes, I think the same.

Helmut




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.