From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#3208: 23.0.93; Memory full / crash when displaying lots of characters from a large font (like Arial Unicode or Code2000) which is not explicitly selected (on Win32) Date: Mon, 22 Jun 2009 21:51:46 +0900 Message-ID: References: <49FF3340.2040008@gmx.de> <4A005A64.5050908@gnu.org> <4A3F1B05.7030105@gnu.org> <4A3F7058.902@gnu.org> Reply-To: Kenichi Handa , 3208@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1245677437 6848 80.91.229.12 (22 Jun 2009 13:30:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2009 13:30:37 +0000 (UTC) Cc: schierlm@gmx.de, 3208@emacsbugs.donarmstrong.com To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 15:30:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MIjbV-0004dH-FT for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 15:30:33 +0200 Original-Received: from localhost ([127.0.0.1]:39680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIjbU-0005nI-OZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jun 2009 09:30:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIjOv-00076N-Q0 for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2009 09:17:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIjOq-00072y-4C for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2009 09:17:31 -0400 Original-Received: from [199.232.76.173] (port=43524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIjOo-00071z-PP for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2009 09:17:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46586) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIjOn-0002ad-P4 for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2009 09:17:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5MDHME3029155; Mon, 22 Jun 2009 06:17:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5MD04o1025037; Mon, 22 Jun 2009 06:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Mon, 22 Jun 2009 13:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3208 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 3208-submit@emacsbugs.donarmstrong.com id=B3208.124567511723840 (code B ref 3208); Mon, 22 Jun 2009 13:00:04 +0000 Original-Received: (at 3208) by emacsbugs.donarmstrong.com; 22 Jun 2009 12:51:57 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5MCpqiQ023830 for <3208@emacsbugs.donarmstrong.com>; Mon, 22 Jun 2009 05:51:53 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n5MCpoBV008669; Mon, 22 Jun 2009 21:51:50 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n5MCpoZv015559; Mon, 22 Jun 2009 21:51:50 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id n5MCpkeq027562; Mon, 22 Jun 2009 21:51:46 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MIizy-00049S-1j; Mon, 22 Jun 2009 21:51:46 +0900 In-reply-to: <4A3F7058.902@gnu.org> (message from Jason Rumney on Mon, 22 Jun 2009 19:51:52 +0800) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 22 Jun 2009 09:17:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28904 Archived-At: In article <4A3F7058.902@gnu.org>, Jason Rumney writes: > > By the way, in short, which part of the current code is > > wrong? Do you mean that there's a bug, or that the current > > strategy doesn't work for Windows? > I haven't found what is actually going wrong here yet. But it looks like > the problem is caused by has_char returning -1, then later encode_char > returns FONT_INVALID_CODE. The latter does not happen with the gdi > backend, because it just keeps the code as unicode, rejecting only > characters that are beyond the first and last characters covered by the > font. I think the same thing happens with x font-backend when iso10646-1 font is requested. But, it doesn't cause a problem on GNU/Linux. I managed to install mingw and msys, and built Emacs with them. Then, I started Emacs, set the defualt font to "Arial Unicode MS", and insert many #x2203 characters. But, I can't reproduce the problem. By the way, I also installed gdb-6.8-mingw-3.tar.bz2. But, with "M-x gdb", pp and pr commands doesn't work. They print nothing. They do work when gdb is invoked from command line. Do you know what is wrong? --- Kenichi Handa handa@m17n.org