all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Maier <Harald@Maierh.de>
To: emacs-pretest-bug@gnu.org
Subject: bug#601: 23.0.60; Startup-Crash by font look up
Date: Thu, 24 Jul 2008 07:14:46 +0200 (CEST)	[thread overview]
Message-ID: <20080724051446.AD05C3E935@ate-s10-x64.maierh> (raw)

On my system emacs crashes at startup if the function
ftfont_cache_data in ftfont.c accesses the variable
fontset->fonts. This variable is on my system NULL. The following
workaround fixes the problem.

Harald

Index: ftfont.c
===================================================================
RCS file: /sources/emacs/emacs/src/ftfont.c,v
retrieving revision 1.27
diff -w -r1.27 ftfont.c
303c303,304
< 	  if (FcPatternGetCharSet (fontset->fonts[0], FC_CHARSET, 0, &charset)
---
> 	  if (fontset->fonts &&
> 	      FcPatternGetCharSet (fontset->fonts[0], FC_CHARSET, 0, &charset)



In GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.11)
 of 2008-07-24 on ate-s10-x64
Windowing system distributor `The X.Org Foundation', version 11.0.60900000
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: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t







             reply	other threads:[~2008-07-24  5:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24  5:14 Harald Maier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-14 17:13 bug#601: 23.0.60; Startup-Crash by font look up Chong Yidong
2008-08-15  6:45 ` Harald Maier

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=20080724051446.AD05C3E935@ate-s10-x64.maierh \
    --to=harald@maierh.de \
    --cc=601@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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.