* Re: master 1233bcb: Work around GC+Cairo bug
[not found] ` <20180403152443.B15F6215A9@vcs0.savannah.gnu.org>
@ 2018-04-03 22:14 ` Robert Pluim
2018-04-04 6:31 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Robert Pluim @ 2018-04-03 22:14 UTC (permalink / raw)
To: emacs-devel; +Cc: Paul Eggert
eggert@cs.ucla.edu (Paul Eggert) writes:
> branch: master
> commit 1233bcb0a78755ec4f3a925b84c15b1c6f715b1c
> Author: Paul Eggert <eggert@cs.ucla.edu>
> Commit: Paul Eggert <eggert@cs.ucla.edu>
>
> 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);
}
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: master 1233bcb: Work around GC+Cairo bug
2018-04-03 22:14 ` master 1233bcb: Work around GC+Cairo bug Robert Pluim
@ 2018-04-04 6:31 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2018-04-04 6:31 UTC (permalink / raw)
To: Robert Pluim; +Cc: eggert, emacs-devel
> From: Robert Pluim <rpluim@gmail.com>
> Date: Wed, 04 Apr 2018 00:14:20 +0200
> Cc: Paul Eggert <eggert@cs.ucla.edu>
>
> > 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:
Sorry, I don't understand: are you saying that you still get crashes
inside ftfont_close, after the above commit? If so, can you please
show the backtrace?
(Let's please continue discussing this in the bug report, not here.)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-04 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180403152442.25413.61540@vcs0.savannah.gnu.org>
[not found] ` <20180403152443.B15F6215A9@vcs0.savannah.gnu.org>
2018-04-03 22:14 ` master 1233bcb: Work around GC+Cairo bug Robert Pluim
2018-04-04 6:31 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).