emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 1233bcb: Work around GC+Cairo bug


From: Robert Pluim
Subject: Re: master 1233bcb: Work around GC+Cairo bug
Date: Wed, 04 Apr 2018 00:14:20 +0200

address@hidden (Paul Eggert) writes:

> branch: master
> commit 1233bcb0a78755ec4f3a925b84c15b1c6f715b1c
> Author: Paul Eggert <address@hidden>
> Commit: Paul Eggert <address@hidden>
>
>     Work around GC+Cairo bug
>     
>     Workaround suggested by Robert Pluim (Bug#20890#13).
>     * src/ftfont.c (ftfont_close) [USE_CAIRO]:
>     Do nothing if GC is in progress.

And whilst this reduces the frequency of the issue, of course it
doesnʼt eliminate it. Currently Iʼve deployed the following
sledgehammer, but we really need something better:

diff --git i/src/alloc.c w/src/alloc.c
index 9fdcc7306a..5be765aeab 100644
--- i/src/alloc.c
+++ w/src/alloc.c
@@ -3191,7 +3191,7 @@ cleanup_vector (struct Lisp_Vector *vector)
        {
          /* Attempt to catch subtle bugs like Bug#16140.  */
          eassert (valid_font_driver (drv));
-         drv->close ((struct font *) vector);
+         //      drv->close ((struct font *) vector);
        }
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]