GNU bug report logs - #24634
25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters

Previous Next

Package: emacs;

Reported by: Georges Ko <gko <at> gko.net>

Date: Fri, 7 Oct 2016 05:01:02 UTC

Severity: normal

Found in version 25.1

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: Eli Zaretskii <eliz <at> gnu.org>
To: Georges Ko <gko <at> gko.net>
Cc: 24634 <at> debbugs.gnu.org
Subject: bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters
Date: Sat, 08 Oct 2016 17:43:40 +0300
> From: Georges Ko <gko <at> gko.net>
> Date: Sat, 08 Oct 2016 22:11:47 +0800
> 
> When compiled with compact_font_caches empty or not called, Emacs
> crashes at launch...

Sorry, I failed to mention that you need to leave the mark_object call
there.  IOW, the function compact_font_caches should be like this:

static void
compact_font_caches (void)
{
  struct terminal *t;

  for (t = terminal_list; t; t = t->next_terminal)
    {
      Lisp_Object cache = TERMINAL_FONT_CACHE (t);
      mark_object (cache);
    }
}




This bug report was last modified 8 years and 286 days ago.

Previous Next


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