GNU bug report logs - #601
23.0.60; Startup-Crash by font look up

Previous Next

Package: emacs;

Reported by: Harald Maier <Harald <at> Maierh.de>

Date: Thu, 24 Jul 2008 05:25:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 601 in the body.
You can then email your comments to 601 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#601; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Harald Maier <Harald <at> Maierh.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Harald Maier <Harald <at> Maierh.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Startup-Crash by font look up
Date: Thu, 24 Jul 2008 07:14:46 +0200 (CEST)
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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#601; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 601 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Harald Maier <Harald <at> Maierh.de>
Cc: 601 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Startup-Crash by font look up
Date: Thu, 14 Aug 2008 13:13:07 -0400
> 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).




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#601; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Harald Maier <harald <at> maierh.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 601 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Harald Maier <harald <at> maierh.de>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 601 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Startup-Crash by font look up
Date: Fri, 15 Aug 2008 08:45:26 +0200
Chong Yidong <cyd <at> 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




bug closed, send any further explanations to Harald Maier <Harald <at> Maierh.de> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Fri, 15 Aug 2008 13:50:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 12 Sep 2008 14:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.