GNU bug report logs - #68940
29.2; Random crashes in face for char / font

Previous Next

Package: emacs;

Reported by: Robert Vojta <rvojta <at> me.com>

Date: Mon, 5 Feb 2024 22:47:02 UTC

Severity: normal

Found in version 29.2

Full log


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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rvojta <at> me.com, 68940 <at> debbugs.gnu.org
Subject: Re: bug#68940: 29.2; Random crashes in face for char / font
Date: Thu, 08 Feb 2024 08:31:49 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>> Cc: 68940 <at> debbugs.gnu.org,  Eli Zaretskii <eliz <at> gnu.org>
>> Date: Thu, 08 Feb 2024 06:42:14 +0100
>> 
>> Robert Vojta <rvojta <at> me.com> writes:
>> 
>> > Address sanitizer gave me ...
>> >
>> >   https://gist.github.com/zrzka/3506322a8e4e63fc6b323a48faad8f64
>> >
>> > ... heap user after free in "Automatic GC". When this happened, Emacs
>> > was showing the mentioned init file load error, and weird character.
>> >
>> > Don't know if it's related to my initial issue, if the problem is the
>> > timer & kill, ...
>> 
>> I can't make sense of what is happening here: A marker M is created from
>> Lisp (point-marker), and later GC'd. So far so good, and nrmal, but some
>> later GC then finds M in a member of struct buffer. No idea how that's
>> possible.
>
> Exactly my thoughts.  I suspect that it could be a bug in the address
> sanitizer, perhaps triggered by our quite unique memory management.

Maybe it would be worth upgrading to current LLVM? I think Robert
mentioned he is using LLVM 15 from Apple, and LLVM from Homebrew is now
at 17.0.6.




This bug report was last modified 1 year and 128 days ago.

Previous Next


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