[Top][All Lists]

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

Re: All platforms fail with Unicode in menus.

From: YAMAMOTO Mitsuharu
Subject: Re: All platforms fail with Unicode in menus.
Date: Mon, 30 Aug 2004 16:52:28 +0900
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Thu, 26 Aug 2004 20:30:12 +0200, "Jan D." <address@hidden> said:

> It seems that the string returned by ENCODE_UTF_8 gets collected
> during GC, resulting in passing garbage to the GTK menu code.

In this case, the Lisp Object returned by ENCODE_UTF_8 is reachable
from the root set via `menu_items', which is staticpro-ed.  I think
the problem is that ENCODE_UTF_8 may cause GC, and that leads to
relocation of string contents by the compaction of small strings.
Without the call of inhibit_garbage_collection, the buffer list in the
"Buffers" menu is also corrupted if "Math" menu is present.

                                     YAMAMOTO Mitsuharu

reply via email to

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