From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: All platforms fail with Unicode in menus. Date: Mon, 30 Aug 2004 16:52:28 +0900 Organization: Faculty of Science, Chiba University Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <412E2C34.8070905@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1093852403 28567 80.91.224.253 (30 Aug 2004 07:53:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2004 07:53:23 +0000 (UTC) Cc: reiner.steib@gmx.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 30 09:53:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C1gyS-0008Th-00 for ; Mon, 30 Aug 2004 09:53:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1h3H-0001gZ-3j for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2004 03:58:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C1h2y-0001gO-S4 for emacs-devel@gnu.org; Mon, 30 Aug 2004 03:57:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C1h2w-0001g6-9q for emacs-devel@gnu.org; Mon, 30 Aug 2004 03:57:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1h2w-0001fq-6f for emacs-devel@gnu.org; Mon, 30 Aug 2004 03:57:46 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C1gxu-0004sL-GI; Mon, 30 Aug 2004 03:52:35 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 383391A639D; Mon, 30 Aug 2004 16:52:29 +0900 (JST) Original-To: "Jan D." In-Reply-To: <412E2C34.8070905@swipnet.se> 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) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26613 >>>>> On Thu, 26 Aug 2004 20:30:12 +0200, "Jan D." 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 mituharu@math.s.chiba-u.ac.jp