GNU bug report logs - #76121
31.0.50; crash in uniscribe_close

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Fri, 7 Feb 2025 15:43:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Copley <rcopley <at> gmail.com>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 76121 <at> debbugs.gnu.org
Subject: bug#76121: 31.0.50; crash in uniscribe_close
Date: Fri, 7 Feb 2025 16:24:36 +0000
Pip Cet wrote:

> My guess is if we made uniscribe_close return immediately if
> uniscribe_font->cache is NULL, this crash might be avoided.

That does seem to work. Thanks.
Another way to ensure idempotence is to set
'uniscribe_font->dwrite_cache' to NULL after calling
'w32_dwrite_free_cached_face'. This also seems to avoid the crash.




This bug report was last modified 77 days ago.

Previous Next


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