From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: size of emacs executable after unicode merge Date: Fri, 31 Oct 2008 16:32:26 +0900 Message-ID: References: <200805140351.m4E3pQuE004549@sallyv1.ics.uci.edu> <200805141652.m4EGqikr018644@sallyv1.ics.uci.edu> <200805151529.m4FFTlF1004684@sallyv1.ics.uci.edu> <482D8435.6060407@gnu.org> <20081030101819.GA15223@orion.lan> <87zlklff5a.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1225438374 30116 80.91.229.12 (31 Oct 2008 07:32:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2008 07:32:54 +0000 (UTC) Cc: rms@gnu.org, emanuele.giaquinta@gmail.com, jasonr@gnu.org, dann@ics.uci.edu, evilborisnet@netscape.net, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 08:33:55 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KvoW2-0002XS-76 for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 08:33:54 +0100 Original-Received: from localhost ([127.0.0.1]:50596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvoUv-0006EB-Ny for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 03:32:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvoUr-0006Cw-E0 for emacs-devel@gnu.org; Fri, 31 Oct 2008 03:32:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvoUp-0006CZ-Ts for emacs-devel@gnu.org; Fri, 31 Oct 2008 03:32:41 -0400 Original-Received: from [199.232.76.173] (port=44988 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvoUp-0006CQ-Pb for emacs-devel@gnu.org; Fri, 31 Oct 2008 03:32:39 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:5317) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KvoUm-0000M8-2N; Fri, 31 Oct 2008 03:32:36 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvoUk-0002yG-If; Fri, 31 Oct 2008 03:32:35 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m9V7WR6T000355; Fri, 31 Oct 2008 16:32:27 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m9V7WRPq022294; Fri, 31 Oct 2008 16:32:27 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m9V7WQ1P013394; Fri, 31 Oct 2008 16:32:26 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KvoUc-0002om-QZ; Fri, 31 Oct 2008 16:32:26 +0900 In-reply-to: <87zlklff5a.fsf@cyd.mit.edu> (message from Chong Yidong on Fri, 31 Oct 2008 02:32:49 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by mx20.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105180 Archived-At: In article <87zlklff5a.fsf@cyd.mit.edu>, Chong Yidong writes: > Kenichi Handa writes: > > (2) Just before dumping, clear-charset-maps is called. This > > function sets all char-tables built in (1) (except for > > Vchar_unified_charset_table) to nil. Then set > > Vchar_unify_table to Vchar_unified_charset_table, and > > set Vchar_unified_charset_table to nil. > > > > Then, garbage-collect is called. After that, the living > > char-table is Vchar_unify_table only, and the contents > > is not that big because it maps upper area characters to > > charset, and each charset has linear upper area, thus > > most succeeding charaters have the same value. > Is it possible to verify whether the garbage collection indeed reaps > this data? To verify that, I tried to run temacs under gdb, but I got this error. (gdb) run -batch -l loadup dump Starting program: /usr/local/work/emacs/src/temacs -batch -l loadup dump [Thread debugging using libthread_db enabled] [New process 10730] Executing new program: /usr/local/work/emacs/src/temacs warning: Cannot initialize thread debugging library: generic error warning: Cannot initialize thread debugging library: generic error [New process 10730] [Thread debugging using libthread_db enabled] Debugger segmentation fault Do you know about this error? Is this a bug of gdb? A few months ago, I didn't see this error on running temacs under gdb. --- Kenichi Handa handa@ni.aist.go.jp