After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318532 - gnome-font-viewer segfault
gnome-font-viewer segfault
Status: RESOLVED DUPLICATE of bug 158551
Product: gnome-control-center
Classification: Core
Component: [obsolete] fonts:///
2.12.x
Other Linux
: Normal critical
: ---
Assigned To: James Henstridge
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-11 04:31 UTC by Miguel Manuel Meléndez Gómez
Modified: 2005-10-11 05:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Miguel Manuel Meléndez Gómez 2005-10-11 04:31:46 UTC
Distribution/Version: Slackware 10.2/Gnome 2.12.0 from GWARE.org

GNOME Font Viewer doesn't start when double click in Nautilus over any truetype
font. On terminal "gnome-font-viewer anyfont.ttf" shows "Segmentation fault".

Steps:
1. Open Nautilus
2. Double click (or use context menu: Open with "GNOME Font Viewer") on any
truetype file.
Actual results:
Startup notifier is working but GNOME Font Viewer never starts.

Alternate steps:
1. Open terminal
2. $ gnome-font-viewer <path_to>/anyfont.ttf
Actual results:
Segmentation fault

Expected results:
Truetype font opened in GNOME Font Viewer.

Stack trace using gdb:
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 14522)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14522)]
0x40b72263 in strlen () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 1 (Thread 16384 (LWP 14522))

  • #0 strlen
    from /lib/libc.so.6
  • #1 _XftReleaseFile
    from /usr/X11R6/lib/libXft.so.2
  • #2 XftFontDestroy
    from /usr/X11R6/lib/libXft.so.2
  • #3 XftFontManageMemory
    from /usr/X11R6/lib/libXft.so.2
  • #4 XftFontClose
    from /usr/X11R6/lib/libXft.so.2
  • #5 create_text_pixmap
  • #6 main

Comment 1 James Henstridge 2005-10-11 05:37:03 UTC
This crash is due to a bug in the version of libXft included with your distribution.

The fix for that bug is in the upstream Xft, but if you want to see the problem
fixed in your distribution, you could ask the distro to apply the patch found here:
    https://bugs.freedesktop.org/show_bug.cgi?id=1951


*** This bug has been marked as a duplicate of 158551 ***