all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Jason Rumney <jasonr@gnu.org>
Cc: Michael Schierl <schierlm@gmx.de>, 3208@emacsbugs.donarmstrong.com
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: Wed, 06 May 2009 19:11:57 -0400	[thread overview]
Message-ID: <87iqkdj076.fsf@cyd.mit.edu> (raw)

> I can reproduce this. The malloc warnings always seem to occur in the 
> SAFE_ALLOCA call in font_sort_entities. The vec passed in to that 
> function contains all the fonts on my system, and len is over 3000, 
> requiring 24kB to be allocated.

FWIW, I can't reproduce this on GNU/Linux.  My default font is DejaVu
Sans Mono, and I tried following the recipe by inserting 0x2203 (which
displays in Kochi Gothic) repeatedly, and moving to the beginning and to
the end of the buffer repeatedly.

font_sort_entities is called a few times initially when I insert 0x2203,
but it is not called repeatedly thereafter.

Could you try to debug why font_sort_entities is called repeatedly in
your case?






             reply	other threads:[~2009-05-06 23:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 23:11 Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-04 18:26 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) Michael Schierl
2009-05-05 15:25 ` Jason Rumney
2009-05-05 15:46   ` Jason Rumney
2009-05-19  2:13   ` Kenichi Handa
2009-06-18  5:29     ` Jason Rumney
2009-06-22  5:47     ` Jason Rumney
2009-06-22 11:22       ` Kenichi Handa
2009-06-22 11:51         ` Jason Rumney
2009-06-22 12:51           ` Kenichi Handa
2009-06-22 13:05             ` Jason Rumney
2009-06-24  4:26               ` Kenichi Handa
2009-06-24 10:37                 ` Jason Rumney
2009-06-24 11:45                   ` Kenichi Handa
2009-06-24 10:43                 ` Jason Rumney
2009-06-24 11:55                   ` Kenichi Handa
     [not found]                     ` <4A422909.9060800@gnu.org>
2009-06-25  8:10                       ` Kenichi Handa
2009-06-25 13:21                         ` Jason Rumney
2009-06-26  1:26                           ` Kenichi Handa
2009-06-26  5:54                             ` Jason Rumney
2009-06-26 13:12                               ` Kenichi Handa
2009-07-02 12:13                             ` Kenichi Handa
2009-07-02 21:36                               ` Stefan Monnier
2009-07-03  2:11                                 ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iqkdj076.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=3208@emacsbugs.donarmstrong.com \
    --cc=jasonr@gnu.org \
    --cc=schierlm@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.