all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#601: 23.0.60; Startup-Crash by font look up
@ 2008-07-24  5:14 Harald Maier
  0 siblings, 0 replies; 3+ messages in thread
From: Harald Maier @ 2008-07-24  5:14 UTC (permalink / raw)
  To: emacs-pretest-bug

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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#601: 23.0.60; Startup-Crash by font look up
@ 2008-08-14 17:13 Chong Yidong
  2008-08-15  6:45 ` Harald Maier
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2008-08-14 17:13 UTC (permalink / raw)
  To: Harald Maier; +Cc: 601

> 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.

Do you still see this problem with latest (unpatched) CVS?  I can't
reproduce it on my computer (x86_64-unknown-linux-gnu, GTK+ Version
2.12.9).






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#601: 23.0.60; Startup-Crash by font look up
  2008-08-14 17:13 Chong Yidong
@ 2008-08-15  6:45 ` Harald Maier
  0 siblings, 0 replies; 3+ messages in thread
From: Harald Maier @ 2008-08-15  6:45 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 601

Chong Yidong <cyd@stupidchicken.com> writes:

>> 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.
>
> Do you still see this problem with latest (unpatched) CVS?  I can't
> reproduce it on my computer (x86_64-unknown-linux-gnu, GTK+ Version
> 2.12.9).

With the latest CVS code this is fixed!

Harald






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-15  6:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24  5:14 bug#601: 23.0.60; Startup-Crash by font look up Harald Maier
  -- strict thread matches above, loose matches on Subject: below --
2008-08-14 17:13 Chong Yidong
2008-08-15  6:45 ` Harald Maier

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.