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

From: Robert Vojta <rvojta <at> me.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.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 10:00:11 +0100
> 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.

Thanks, I really thought that I'm mad while seeing all these random
crashes & backtraces ;)

> - 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.

Crashing with:

../../emacs/src/lisp.h:1314: Emacs fatal error: assertion failed:
FIXNUMP (a)

It always crashes. Sometimes with ^ & SIGABRT, sometimes w/o ^ &
SIGSEGV. 

> - 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.

I've tried:

  - Delete all my custom fonts -> crashing
  - Add back PragmataPro Mono, validate it, no issues -> crashing

>   expected. Maybe it's worth commenting out the calls and see if that
>   makes a difference, phenomenologically. That's only a shot in the

I've checked out d6c7092ff0713087f38b9492d53be0177af67514, configured
it with:

  CFLAGS="-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT -O0 -g3"
  configure --with-ns --with-modules --with-x-toolkit=no
    --enable-checking

Playing w/ "redisplay ();" in the "layoutSublayersOfLayer:", line 8732.

  - Kept - instant crash, 10/10 launches
  - Commented out - no crash, 10/10 launches

Shot in the dark, but it seems that it's somehow related to all this.

--- 

- I run the full HW diagnostics over night. Everything seems to be okay.

- Will try the new LLVM, yes, I'm using the one (15) from Apple now.

- Still figuring out the minimal reproducible init.el. Feeling like Don
Quixote now, comment out, no crash, aha, comment another line out,
crash, huh, revert, another combination, ...




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.