Bug#239448: marked as done (capplets-data: odd upgrade path breaks fonts)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 08 Jul 2004 15:48:08 -0700


Your message dated Fri, 09 Jul 2004 00:44:36 +0200
with message-id <85u0wiyv8r.fsf@Orfeo.duckcorp.org>
and subject line capplets-data: odd upgrade path breaks fonts
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Mar 2004 19:18:54 +0000
>From scott@tranzoa.net Mon Mar 22 11:18:54 2004
Return-path: <scott@tranzoa.net>
Received: from dsl254-027-160.sea1.dsl.speakeasy.net (mail.tranzoa.net) [216.254.27.160] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B5Uwn-0006Uw-00; Mon, 22 Mar 2004 11:18:53 -0800
Received: from mail.mvdomain (asuka.mvdomain [10.1.1.45])
	by mail.tranzoa.net (Postfix) with ESMTP
	id 593B68409; Mon, 22 Mar 2004 11:18:48 -0800 (PST)
Received: from tara.mvdomain (tara.mvdomain [10.1.1.66])
	by mail.mvdomain (Postfix) with ESMTP
	id 77F3812625; Mon, 22 Mar 2004 11:18:32 -0800 (PST)
Received: by tara.mvdomain (Postfix, from userid 1000)
	id 1F0DD20CEE4; Mon, 22 Mar 2004 11:18:31 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Scott Robinson <scott@tranzoa.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libxft2: Fails to render fonts, making GTK+ 2 and related system unusable.
X-Mailer: reportbug 2.54
Date: Mon, 22 Mar 2004 11:18:31 -0800
Message-Id: <20040322191831.1F0DD20CEE4@tara.mvdomain>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level: 

Package: libxft2
Version: 2.1.2-6
Severity: grave
Tags: sid
Justification: renders package unusable

The latest update of libxft2 has made my system totally unusable. It fails
to render fonts properly such that my desktop environment appears strangely
blank. Menus and related items are sized improperly. The following link
given an example:

http://tranzoa.net/~scott/no-fonts.jpeg 

I tracked the problem down to xft via mozilla-firebird. Unlike other gtk+2
applications, it was crashing (floating point exception) instead of
rendering blank. GDB gave me the following backtrace:

#0  0x4201db67 in nsFontMetricsXft::CacheFontMetrics() ()
   from /usr/lib/mozilla-firefox/components/libgfx_gtk.so
#1  0x4201da22 in nsFontMetricsXft::RealizeFont() ()
   from /usr/lib/mozilla-firefox/components/libgfx_gtk.so
#2  0x00000061 in ?? ()
#3  0x42037330 in nsICharRepresentable::GetIID()::iid ()
   from /usr/lib/mozilla-firefox/components/libgfx_gtk.so
#4  0x42048730 in gXftFontLoad ()
   from /usr/lib/mozilla-firefox/components/libgfx_gtk.so
#5  0x4203ea18 in ?? () from /usr/lib/mozilla-firefox/components/libgfx_gtk.so
#6  0xbfffda24 in ?? ()
#7  0xbfffdae8 in ?? ()
#8  0x4201cabe in nsFontMetricsXft::Init(nsFont const&, nsIAtom*, nsIDeviceContext*) () from /usr/lib/mozilla-firefox/components/libgfx_gtk.so

This pointed me in the thought that the newly updated package wasn't reading
my cached font metrics properly.

I have temporarily gained a working system creating a stub .xsession with the line:

export GDK_USE_XFT=0

The full .xsession (for anyone else experiencing this problem and wanting a working system):

#!/bin/sh

export GDK_USE_XFT=0

if [ -x /usr/bin/x-session-manager ]; then
  STARTUP=x-session-manager
elif [ -x /usr/bin/x-window-manager ]; then
  STARTUP=x-window-manager
elif [ -x /usr/bin/x-terminal-emulator ]; then
  STARTUP=x-terminal-emulator
fi

exec $STARTUP

My next hunch is to regenerate my font metrics. If this is the source of the
problem, I recommend forcing this to occur on update and releasing a new
package that handles that.

This has been a disaster experience is terms of I carefully checked
apt-listbugs for problems like this.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=C, LC_CTYPE=C

Versions of packages libxft2 depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libfontconfig1              2.2.2-1      generic font configuration library
ii  libfreetype6                2.1.7-2      FreeType 2 font engine, shared lib
ii  libx11-6                    4.3.0-7      X Window System protocol client li
ii  libxrender1                 0.8.3-7      X Rendering Extension client libra
ii  xlibs                       4.3.0-7      X Window System client libraries m
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 239448-done) by bugs.debian.org; 8 Jul 2004 22:44:40 +0000
>From arnaud.patard@rtp-net.org Thu Jul 08 15:44:40 2004
Return-path: <arnaud.patard@rtp-net.org>
Received: from orfeo.duckcorp.org (mx.duckcorp.org) [62.4.21.229] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BihdA-000638-00; Thu, 08 Jul 2004 15:44:40 -0700
Received: from localhost (localhost [127.0.0.1])
	by mx.duckcorp.org (Postfix) with ESMTP id 624F45000B4;
	Fri,  9 Jul 2004 00:44:39 +0200 (CEST)
Received: from mx.duckcorp.org ([127.0.0.1])
	by localhost (Orfeo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 01776-05; Fri, 9 Jul 2004 00:44:36 +0200 (CEST)
Received: from Orfeo.duckcorp.org (localhost [127.0.0.1])
	by mx.duckcorp.org (Postfix) with ESMTP id 7C6365000B3;
	Fri,  9 Jul 2004 00:44:36 +0200 (CEST)
From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: 239448-submitter@bugs.debian.org
Cc: 239448-done@bugs.debian.org
Subject: Re: capplets-data: odd upgrade path breaks fonts
Organization: RtpNet
Date: Fri, 09 Jul 2004 00:44:36 +0200
Message-ID: <85u0wiyv8r.fsf@Orfeo.duckcorp.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: by Amavis at DuckCorp
Delivered-To: 239448-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi,

This should be fine with current depencies. So, I close the bug.
Feel free to reopen the bug if it needed.


Regards,
Arnaud