From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Maier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#601: 23.0.60; Startup-Crash by font look up Date: Thu, 24 Jul 2008 07:14:46 +0200 (CEST) Message-ID: <20080724051446.AD05C3E935@ate-s10-x64.maierh> Reply-To: Harald Maier , 601@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1216877260 22803 80.91.229.12 (24 Jul 2008 05:27:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 05:27:40 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 24 07:28:29 2008 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 1KLtNM-0002Tr-0Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jul 2008 07:28:28 +0200 Original-Received: from localhost ([127.0.0.1]:47111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLtMS-0006jU-8b for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jul 2008 01:27:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLtMJ-0006iE-Tf for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2008 01:27:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLtMH-0006hi-JJ for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2008 01:27:22 -0400 Original-Received: from [199.232.76.173] (port=36560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLtMH-0006hf-7x for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2008 01:27:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47448) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLtMH-0001kE-A4 for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2008 01:27:21 -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 m6O5RJpS009093; Wed, 23 Jul 2008 22:27:19 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6O5P4HA007988; Wed, 23 Jul 2008 22:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Harald Maier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 24 Jul 2008 05:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 601 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12168765116180 (code B ref -1); Thu, 24 Jul 2008 05:25:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 24 Jul 2008 05:15:11 +0000 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 m6O5F6Hu005797 for ; Wed, 23 Jul 2008 22:15:07 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:53363) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KLt9h-0004DG-GC for emacs-pretest-bug@gnu.org; Thu, 24 Jul 2008 01:14:21 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KLtAM-0007kF-B4 for emacs-pretest-bug@gnu.org; Thu, 24 Jul 2008 01:15:06 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:50176) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLtAL-0007hf-Sh for emacs-pretest-bug@gnu.org; Thu, 24 Jul 2008 01:15:02 -0400 Original-Received: from ate-s10-x64.maierh (p5498056D.dip0.t-ipconnect.de [84.152.5.109]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1KLtA70tuS-0000fI; Thu, 24 Jul 2008 07:14:47 +0200 Original-Received: by ate-s10-x64.maierh (Postfix, from userid 1000) id AD05C3E935; Thu, 24 Jul 2008 07:14:46 +0200 (CEST) X-Provags-ID: V01U2FsdGVkX19M49JXfw848aEb139wxLte3Dg6J1r/L/ed+rg 8OD4nd+O90XT38NcN9KbldjehT9pRlQ/ZYP0XszdjFkSREznWN Jc8gRwW7GNlZwJV3vl1vw== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 24 Jul 2008 01:27:22 -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:18820 gmane.emacs.pretest.bugs:22757 Archived-At: 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