From owner-freebsd-gnome Mon Feb 24 20:29:26 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B788537B401 for ; Mon, 24 Feb 2003 20:29:24 -0800 (PST) Received: from flora.securenet.com.au (ns1.isecure.com.au [202.125.0.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DC6943F3F for ; Mon, 24 Feb 2003 20:29:22 -0800 (PST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from leal.securenet.com.au (leal.isecure.com.au [202.125.0.94] (may be forged)) by flora.securenet.com.au (8.12.3/8.12.3/Debian -4) with ESMTP id h1P4TKDY027132 for ; Tue, 25 Feb 2003 15:29:20 +1100 Received: (from root@localhost) by leal.securenet.com.au (8.12.6/8.12.6) id h1P4TKep013469 for ; Tue, 25 Feb 2003 15:29:20 +1100 (EST) Received: from nodnsquery(10.11.3.10) by leal.securenet.com.au via csmap (V6.0) id srcAAAIDaGtA; Tue, 25 Feb 03 15:29:20 +1100 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) by gibbons.securenet.com.au (8.12.3/8.12.3/Debian -4) with ESMTP id h1P4TK0Z002364 for ; Tue, 25 Feb 2003 15:29:20 +1100 Received: from xena.aipo.gov.au (xena.aipo.gov.au [10.0.100.52]) by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id h1P4TJv69010 for ; Tue, 25 Feb 2003 15:29:19 +1100 (EST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from newton.aipo.gov.au (newton.aipo.gov.au [10.0.100.18]) by xena.aipo.gov.au (8.11.1/8.11.2) with ESMTP id h1P4TJW97914 for ; Tue, 25 Feb 2003 15:29:19 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: from newton.aipo.gov.au (localhost [127.0.0.1]) by newton.aipo.gov.au (8.12.6/8.12.6) with ESMTP id h1P4TJDt026674 for ; Tue, 25 Feb 2003 15:29:19 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: (from carl@localhost) by newton.aipo.gov.au (8.12.6/8.12.6/Submit) id h1P4TI2L026673 for gnome@freebsd.org; Tue, 25 Feb 2003 15:29:18 +1100 (EST) X-Authentication-Warning: newton.aipo.gov.au: carl set sender to carl@xena.ipaustralia.gov.au using -f Subject: Mozilla failure with GTk1.2 and XFT2 From: Carl Makin To: gnome@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1046147358.11390.120.camel@newton.aipo.gov.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 25 Feb 2003 15:29:18 +1100 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, I'm having real trouble with Mozilla 1.2.1 and Xft (I think). If I do a standard "portupgrade -vR mozilla" it builds using Gtk-1.2.10_9 and Xft-2.1_1. I try to start it and it just exits quietly. Running it as root generated a core. I loaded gdb on mozilla-bin and the core, typed "back" and got the following; Core was generated by `mozilla-bin'. Program terminated with signal 11, Segmentation fault. (gdb) back #0 0x29185186 in XftLockFace () from /usr/X11R6/lib/libXft.so.2 #1 0x29150922 in nsFontMetricsXft::CacheFontMetrics () from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so #2 0x291508c0 in nsFontMetricsXft::RealizeFont () from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so #3 0x2914fd33 in nsFontMetricsXft::Init () from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so #4 0x280b5159 in nsFontCache::GetMetricsFor () from /usr/X11R6/lib/mozilla/./libgkgfx.so #5 0x280b4116 in DeviceContextImpl::GetMetricsFor () from /usr/X11R6/lib/mozilla/./libgkgfx.so #6 0x29632bcc in nsHTMLReflowState::UseComputedHeight () from /usr/X11R6/lib/mozilla/components/libgklayout.so #7 0x29632d31 in nsHTMLReflowState::CalcLineHeight () from /usr/X11R6/lib/mozilla/components/libgklayout.so #8 0x29613af3 in nsBlockReflowState::nsBlockReflowState () from /usr/X11R6/lib/mozilla/components/libgklayout.so #9 0x2960abf4 in nsBlockFrame::Reflow () from /usr/X11R6/lib/mozilla/components/libgklayout.so #10 0x2970e96c in nsBoxToBlockAdaptor::Reflow () from /usr/X11R6/lib/mozilla/components/libgklayout.so (right down to #78, but I think the above is the most useful) Of course a build without Xft works fine. I have Mozilla 1.2.1 with Xft running perfectly at home so I'm reasonably sure it's something weird with my setup here. Phoenix also has exactly the same problem, however I'm running Gnome 2.2 which also uses Xft with no apparent problems. (I'm definitely getting anti-aliasing in gnome-terminal for example). FreeBSD newton.aipo.gov.au 4.7-STABLE FreeBSD 4.7-STABLE #5: Mon Feb 10 16:42:16 EST 2003 carl@newton.aipo.gov.au:/usr/obj/usr/src/sys/NEWTON i386 and a heap of fonts. My current guess is that I have a bad font but I can't work out which one (or more) it might be. Does fontconfig/Xft use the information generated by fc-cache over the font path information in XF86Config? Ie,if I remove a path in XF86Config, will it still be found by Xft? I've tried removing font paths using xset, but it seemed to make little difference. Does anyone have any other ideas on what could be happening here? Does anyone know of software that will check fonts (including Truetype fonts) to see if they are broken? Thanks, Carl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message