From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.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, 04 May 2009 20:26:08 +0200 Message-ID: <49FF3340.2040008@gmx.de> Reply-To: Michael Schierl , 3208@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241463141 13657 80.91.229.12 (4 May 2009 18:52:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2009 18:52:21 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 04 20:52:12 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 1M13Gt-00009e-2P for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 May 2009 20:52:11 +0200 Original-Received: from localhost ([127.0.0.1]:53141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M13Gs-00086k-TA for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 May 2009 14:52:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M13Go-00085F-0f for bug-gnu-emacs@gnu.org; Mon, 04 May 2009 14:52:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M13Gi-00082M-9D for bug-gnu-emacs@gnu.org; Mon, 04 May 2009 14:52:05 -0400 Original-Received: from [199.232.76.173] (port=43218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M13Gi-000829-1K for bug-gnu-emacs@gnu.org; Mon, 04 May 2009 14:52:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49586) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M13Gg-0004Gk-Qd for bug-gnu-emacs@gnu.org; Mon, 04 May 2009 14:51:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n44Ipruq030125; Mon, 4 May 2009 11:51:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n44IZ39h024423; Mon, 4 May 2009 11:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Schierl Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 04 May 2009 18:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3208 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124146159322660 (code B ref -1); Mon, 04 May 2009 18:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 May 2009 18:26:33 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n44IQSaK022652 for ; Mon, 4 May 2009 11:26:29 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:49348 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M12rz-0006da-HS for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 14:26:27 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M12ry-0008Bn-17 for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 14:26:27 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:48443) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M12rx-0008Ay-Dj for emacs-pretest-bug@gnu.org; Mon, 04 May 2009 14:26:25 -0400 Original-Received: (qmail invoked by alias); 04 May 2009 18:26:21 -0000 Original-Received: from p549BC434.dip.t-dialin.net (EHLO [192.168.0.201]) [84.155.196.52] by mail.gmx.net (mp032) with SMTP; 04 May 2009 20:26:21 +0200 X-Authenticated: #13243522 X-Provags-ID: V01U2FsdGVkX1+4eoxdUPm47ilb5YlO2g3q8ATeUuOtVTudGIvoWF hSfkJ0771hPZUM User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 X-Enigmail-Version: 0.95.7 OpenPGP: id=58B48CDD X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 04 May 2009 14:52:05 -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:27679 gmane.emacs.pretest.bugs:24372 Archived-At: Please describe exactly what actions triggered the bug and the precise symptoms of the bug: - It is easier if you have one of the fonts Code2000 or Arial Unicode installed. I tried it with fonts that come with Windows XP (like Lucida Sans Unicode) but did not succeed in reproducing the bug. It might happen with other fonts as well, most likely ones that have lots of glyphs. - You need to know a character that is in your font but not in the default font (0x2203 works for both Arial Unicode and Code2000, 0x2202 would work for Lucida Sans Unicode, 0xFFFD works for Arial Unicode). - Start emacs -Q - Insert a few thousand characters of that kind, and move to the beginning and to the end of the buffer repeatedly. At first you receive warnings like "Emergency (alloc): Warning: past 95% of memory limit", then the memory is exhausted, and if you still go on, you will be asked if you want to debug Emacs. This is perfectly reproducable for me, both on my main machine and on a freshly installed WinXP virtual machine where I only added Emacs and one of the fonts. You can use code like this to insert the characters: like (let ((str (char-to-string (decode-char 'ucs #x2203)))) (dotimes (i 16) (setq str (concat str str))) (insert str) (goto-char (point-min)) (goto-char (point-max)) (goto-char (point-min)) (goto-char (point-max)) (goto-char (point-min)) (goto-char (point-max))) In GNU Emacs 23.0.93.1 (i386-mingw-nt5.1.2600) of 2009-05-02 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-y C-x C-e M-x r e p o r t - e m a Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 65903