[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278268: marked as done (libxft2: SEGV in strlen() <- _XftSetFace() when hinting in gnome-font-viewer (capplets) changed twice)



Your message dated Tue, 29 Mar 2005 13:11:12 -0500
with message-id <20050329181112.GI10138@redwald.deadbeast.net>
and subject line Bug#278268: capplets: gnome-font-viewer crashes when hinting is changed twice
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; 25 Oct 2004 20:21:36 +0000
>From peter.whysall@ntlworld.com Mon Oct 25 13:21:36 2004
Return-path: <peter.whysall@ntlworld.com>
Received: from mta01-svc.ntlworld.com [62.253.162.41] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CMBLU-0005Bz-00; Mon, 25 Oct 2004 13:21:36 -0700
Received: from localhost.localdomain ([82.11.79.125])
          by mta01-svc.ntlworld.com
          (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
          id <20041025202018.VKWV13844.mta01-svc.ntlworld.com@localhost.localdomain>;
          Mon, 25 Oct 2004 21:20:18 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Peter Whysall <peter.whysall@ntlworld.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: capplets: gnome-font-viewer crashes when hinting is changed twice
Bcc: Peter Whysall <peter.whysall@ntlworld.com>
X-Mailer: reportbug 3.0
Date: Mon, 25 Oct 2004 21:20:59 +0100
Message-Id: <20041025202018.VKWV13844.mta01-svc.ntlworld.com@localhost.localdomain>
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: capplets
Version: 1:2.8.0-1
Severity: important
Tags: experimental

gnome-font-viewer crashes with a segmentation fault when the hinting preference is changed twice.

Steps to reproduce:

1. Use gnome-font-viewer to view any font
2. Open the Font Preferences panel and enter the Details... panel.
3. Change the hinting twice. 

Backtrace follows:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087639456 (LWP 18717)]
0x40aea763 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x40aea763 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1  0x4002eb6d in _XftSetFace () from /usr/lib/libXft.so.2
#2  0x4002f9fe in XftFontCopy () from /usr/lib/libXft.so.2
#3  0x4002fbd3 in XftFontManageMemory () from /usr/lib/libXft.so.2
#4  0x4002fc9a in XftFontClose () from /usr/lib/libXft.so.2
#5  0x40815a8a in pango_xft_picture_render () from /usr/lib/libpangoxft-1.0.so.0
#6  0x408663a9 in g_object_interface_list_properties () from /usr/lib/libgobject-2.0.so.0
#7  0x4083a598 in pango_item_free () from /usr/lib/libpango-1.0.so.0
#8  0x4083de8a in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#9  0x4083f603 in pango_layout_line_unref () from /usr/lib/libpango-1.0.so.0
#10 0x4083dc83 in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#11 0x4083a872 in pango_layout_get_type () from /usr/lib/libpango-1.0.so.0
#12 0x408663a9 in g_object_interface_list_properties () from /usr/lib/libgobject-2.0.so.0
#13 0x4057a2e8 in gtk_label_get () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x40878e1e in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#15 0x40863fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#16 0x40863c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x4087744e in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#18 0x40876be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0x40876ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0x40690d8c in gtk_widget_modify_font () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x4069036a in gtk_widget_ensure_style () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x4069122d in _gtk_widget_propagate_screen_changed () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x405f17f3 in gtk_table_get_homogeneous () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x4050b941 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x4069121b in _gtk_widget_propagate_screen_changed () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x404d0d85 in gtk_box_set_child_packing () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x4050b941 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x4069121b in _gtk_widget_propagate_screen_changed () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x404cccac in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x4050b941 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x4069121b in _gtk_widget_propagate_screen_changed () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x4069127b in gtk_widget_reset_rc_styles () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x405c75fa in gtk_rc_style_unref () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x405d613d in gtk_settings_get_default () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x40878bae in g_cclosure_marshal_VOID__PARAM () from /usr/lib/libgobject-2.0.so.0
#36 0x40863fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#37 0x40863c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#38 0x4087744e in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#39 0x40876be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#40 0x40876ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#41 0x40866465 in g_object_interface_list_properties () from /usr/lib/libgobject-2.0.so.0
#42 0x4086554f in g_object_type_init () from /usr/lib/libgobject-2.0.so.0
#43 0x4086af5f in g_cclosure_new_object_swap () from /usr/lib/libgobject-2.0.so.0
#44 0x408666c9 in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#45 0x405d7cb3 in _gtk_settings_handle_event () from /usr/lib/libgtk-x11-2.0.so.0
#46 0x4058cd78 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#47 0x4078b185 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#48 0x40a15b92 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#49 0x40a16c88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0x40a16fc0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#51 0x40a17603 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#52 0x4058c4e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x0804bad9 in main ()


-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (1001, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages capplets depends on:
ii  capplets-data             1:2.8.0-1      configuration applets for GNOME 2 
ii  gnome-control-center      1:2.8.0-1      The GNOME Control Center for GNOME
ii  gnome-desktop-data        2.8.1-1        Common files for GNOME 2 desktop a
ii  gnome-icon-theme          1.2.3-1.1      GNOME Desktop icon theme
ii  gnome-panel               2.8.1-1        Launcher and docking facility for 
ii  gnome-session             2.8.0-1        The GNOME 2 Session Manager
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libasound2                1.0.6-3        ALSA library
ii  libatk1.0-0               1.8.0-2        The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
ii  libbonobo2-0              2.8.0-2        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.8.0-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libeel2-2                 2.8.1-1        Eazel Extensions Library (for GNOM
ii  libesd0                   0.2.35-2       Enlightened Sound Daemon - Shared 
ii  libfontconfig1            2.2.3-2        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libgail-common            1.8.0-1        GNOME Accessibility Implementation
ii  libgail17                 1.8.0-1        GNOME Accessibility Implementation
ii  libgconf2-4               2.8.1-1        GNOME configuration database syste
ii  libgcrypt11               1.2.0-10       LGPL Crypto library - runtime libr
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.7-1        The GLib library of C routines
ii  libgnome-desktop-2        2.8.1-1        Utility library for loading .deskt
ii  libgnome-keyring0         0.4.0-1        GNOME keyring services library
ii  libgnome2-0               2.8.0-1        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.7.1-1        A powerful object-oriented display
ii  libgnomeui-0              2.8.0-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.8.2-1        The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-9       GNU TLS library - runtime library
ii  libgpg-error0             1.0-1          library for common error values an
ii  libgstreamer-plugins0.8-0 0.8.5-1        Various GStreamer libraries and li
ii  libgstreamer0.8-0         0.8.7-1        Core GStreamer libraries, plugins,
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libmetacity0              1:2.8.5-2      Common library of lightweight GTK2
ii  libnautilus2-2            2.8.1-1        libraries for nautilus components 
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.6.0-1        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
ii  libstartup-notification0  0.7-1          library for program launch feedbac
ii  libtasn1-2                0.2.10-4       Manage ASN.1 structures (runtime)
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxklavier8              1.03-1         X Keyboard Extension high-level AP
ii  libxml2                   2.6.14-1       GNOME XML library
ii  libxrandr2                4.3.0.dfsg.1-8 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  nautilus                  2.8.1-1        file manager and graphical shell f
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-1      compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 278268-done) by bugs.debian.org; 29 Mar 2005 18:11:14 +0000
>From branden@redwald.deadbeast.net Tue Mar 29 10:11:13 2005
Return-path: <branden@redwald.deadbeast.net>
Received: from cpe-65-26-182-85.indy.res.rr.com (sisyphus.deadbeast.net) [65.26.182.85] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DGLBJ-0006Tb-00; Tue, 29 Mar 2005 10:11:13 -0800
Received: by sisyphus.deadbeast.net (Postfix, from userid 1000)
	id 4F89868C02E; Tue, 29 Mar 2005 13:11:12 -0500 (EST)
Date: Tue, 29 Mar 2005 13:11:12 -0500
From: Branden Robinson <branden@debian.org>
To: 278268-done@bugs.debian.org
Subject: Re: Bug#278268: capplets: gnome-font-viewer crashes when hinting is changed twice
Message-ID: <20050329181112.GI10138@redwald.deadbeast.net>
Reply-To: 278268@bugs.debian.org
References: <20050326063728.GG31663@redwald.deadbeast.net> <1111826188.9198.5.camel@cordelia>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="/GPgYEyhnw15BExa"
Content-Disposition: inline
In-Reply-To: <1111826188.9198.5.camel@cordelia>
User-Agent: Mutt/1.5.8i
Delivered-To: 278268-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--/GPgYEyhnw15BExa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 26, 2005 at 08:36:28AM +0000, Peter Whysall wrote:
> On Sat, 2005-03-26 at 01:37 -0500, Branden Robinson wrote:
> > retitle 278268 libxft2: SEGV in strlen() <- _XftSetFace() when hinting =
in gnome-font-viewer (capplets) changed twice
> > tag 278268 + upstream moreinfo
> > thanks
> >=20
> > Mr. Whysall,
> >=20
> > Can you still reproduce this problem?
> >=20
> > If so, could you please provide a full backtrace (with the GDB "bt full=
")
> > command while using the debugging version of the Xft2 library?
>=20
> Mr Robinson,
>=20
> Subsequent to my bug report, I have switched to Ubuntu (Hoary). I don't
> know whether the following information is of any use to you but I cannot
> reproduce the bug.

The only change in Ubunty (hoary) appears to be a backport of a couple of
fixes from freedesktop.org xlibs CVS.

----------------------------
revision 1.45
date: 2004-11-28 22:15:58 +0000;  author: keithp;  state: Exp;  lines: +2 -2
2004-11-28  James Henstridge  <james@jamesh.id.au>

	* xftfreetype.c (_XftReleaseFile): add parentheses in the
	expression in the second argument to XftMemFree so that it is
	interpreted correctly.
----------------------------
revision 1.44
date: 2004-08-04 03:45:11 +0000;  author: keithp;  state: Exp;  lines: +3 -2
2004-08-03  Keith Packard  <keithp@keithp.com>

	* xftfreetype.c: (_XftReleaseFile):
	Called strlen with (f->file) without checking for NULL (which
	happens when directly using FT_Face objects).
----------------------------

The bug you're reporting, however, is in _XftSetFace(), not
_XftReleaseFile().  Furthermore, in the version of Xft currently in Debian
testing/unstable (and Ubuntu hoary), _XftSetFace() does not call strlen()
at all.

Either the backtrace is bogus (always a possibility), or this bug has
indeed been fixed already.

> I have asked a friend of mine who is running Debian Unstable to examine
> the bug and check if it can be reproduced; I expect he will reply to the
> bug directly.

He did indeed followup and report that he can no longer reproduce it.
(Assuming Greg Folkert is the friend in question.  :) )
>=20
> (Based on this -- the same version of libxft2, packaging notwithstanding
> -- it's starting to smell like a GNOME bug)

I agree, and am therefore closing this bug.

--=20
G. Branden Robinson                |      There's no trick to being a
Debian GNU/Linux                   |      humorist when you have the whole
branden@debian.org                 |      government working for you.
http://people.debian.org/~branden/ |      -- Will Rogers

--/GPgYEyhnw15BExa
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEARECAAYFAkJJmkAACgkQ6kxmHytGonzTVQCdHWJhYQMek6EL154pHl7W80LV
Lp0An2cXmpTpWvuo1/MNUovl1KAK7Dyq
=rR6S
-----END PGP SIGNATURE-----

--/GPgYEyhnw15BExa--



Reply to: