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


View this message in rfc822 format

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: bug#68940: 29.2; Random crashes in face for char / font
Date: Thu, 08 Feb 2024 11:17:40 +0100
Robert Vojta <rvojta <at> me.com> writes:

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

I'll write something when answering your other mail.

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

I'd say we can exclude that, then.

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

That's master, BTW, for other readers.

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

Yeah ;-).




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.