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

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

> Sorry for the noise so far, this randomness drives me crazy, and the
> only thing exhibiting it is Emacs, rest is doing fine.

I feel with you :-). There have been, and still are, strange things
happening with GUI Emacs on macOS. Although, I think it has improved
a lot over the last year or two.

Whatever. Some other ideas:

- Maybe configuring with --enable-checking can find something? That
  enables a number of asserts in the code, among them things that ASAN
  can't find.

- If it's a font thing, Font Book could be used to validate the font in
  question. Select the font in Font Book and use File > Validate
  Selection.

- One of my pet peeves: nsterm.m contains calls to C function
  redisplay(), which is known to be problematic, although I didn't have
  seens downright crashes from this yet. The problem is that such
  redisplays can clear the face cache in settings where this isn't
  expected. Maybe it's worth commenting out the calls and see if that
  makes a difference, phenomenologically. That's only a shot in the
  dark, though, only based on the crashes being in some face-related
  stuff.





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.