Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317739 - media-gfx/fontforge-20090622 segfaults upon startup, font "missing"
Summary: media-gfx/fontforge-20090622 segfaults upon startup, font "missing"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 10:42 UTC by Peter Ulrich
Modified: 2010-05-17 10:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ulrich 2010-04-29 10:42:41 UTC
# fontforge
produces a segfault

Reproducible: Always

Steps to Reproduce:
1. # fontforge
Actual Results:  

Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 22:35 GMT 22-Jun-2009.
 Library based on sources from 22:35 GMT 22-Jun-2009.
Failed to create a fontset for the input method
-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-2,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-3,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-4,-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-5,-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-7,-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-8,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-9,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-10,-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-11,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-13,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-14,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-15,-misc-fixed-medium-r-normal--15-140-75-75-c-90-koi8-r,-misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0,-adobe-symbol-medium-r-normal--14-140-75-75-p-85-adobe-fontspecific,-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0,-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso10646-1
Help! Server claimed font
        -adobe-times-medium-r-normal--14-140-75-75-p-74-iso10646-1
 existed in the font list, but when I asked for it there was nothing.
 I may crash soon.
Segmentation fault


Expected Results:  
no segfault...

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 28 Apr 2010 15:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/genoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en ru"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/g-ctan"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl semantic-desktop session spell spl ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-04 21:08:33 UTC
Please, paste  your "emerge -pv media-gfx/fontforge" output.
Comment 2 Peter Ulrich 2010-05-05 08:03:00 UTC
(In reply to comment #1)
> Please, paste  your "emerge -pv media-gfx/fontforge" output.
> 

Thats it:

# emerge -pv media-gfx/fontforge

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-gfx/fontforge-20090622  USE="X cairo gif jpeg nls pango png python svg tiff truetype unicode -cjk -debug -doc -pasteafter -tilepath -truetype-debugger -type3" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-05-05 12:23:38 UTC
What package installs fonts.dir with -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1?
Comment 4 Peter Ulrich 2010-05-05 13:01:55 UTC
(In reply to comment #3)
> What package installs fonts.dir with
> -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1?
> 

I have no idea, can I run some test for that?
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-05-05 13:17:53 UTC
grep fonts.dir files on your computer for '-adobe-helvetica-medium-r-normal--' and then run qfile on directory containing that fonts.dir.
Comment 6 Peter Ulrich 2010-05-05 13:47:30 UTC
(In reply to comment #5)
> grep fonts.dir files on your computer for '-adobe-helvetica-medium-r-normal--'
> and then run qfile on directory containing that fonts.dir.
> 

the only matching file is:
/usr/share/fonts/75dpi/fonts.dir
which contains, e.g., 
helvR14-ISO8859-1.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1
helvR14-ISO8859-10.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-10
helvR14-ISO8859-13.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-13
helvR14-ISO8859-14.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-14
helvR14-ISO8859-15.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-15
helvR14-ISO8859-2.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-2
helvR14-ISO8859-3.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-3
helvR14-ISO8859-4.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-4
helvR14-ISO8859-9.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-9
helvR14.pcf.gz -adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso10646-1

# qfile /usr/share/fonts/75dpi
media-fonts/font-alias (/usr/share/fonts/75dpi)
# emerge -pv media-fonts/font-alias
[ebuild   R   ] media-fonts/font-alias-1.0.1  USE="-debug" 0 kB
# equery d media-fonts/font-alias
media-fonts/font-misc-misc-1.0.0 (media-fonts/font-alias)
# equery d media-fonts/font-misc-misc
dev-python/pygobject-2.20.0 (test? media-fonts/font-misc-misc)
media-gfx/xfig-3.2.5b (media-fonts/font-misc-misc)
x11-libs/gtk+-2.18.6 (test? media-fonts/font-misc-misc)

hope that helps... what now?
Comment 7 Peter Ulrich 2010-05-14 10:28:19 UTC
Is there some package I should remerge? Is it possible to clean up the list of available fonts? Should I unmerge a specific package?
What can I do?

Please do not give up on me here .. :-/
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-05-14 11:53:32 UTC
(In reply to comment #6)
> the only matching file is:
> /usr/share/fonts/75dpi/fonts.dir

This file was created during installation of 75dpi adobe fonts and later it was not removed. Confirm that there is no helvR14-ISO8859-13.pcf.gz file on your system (with qfile) and try to remove fonts.dir and fonts.scale files in 75dpi directory. After that run xset fp rehash and try fontforge another time. 

Actually installation/removal of any font package may help to resolve this problem as currently font.eclass will drop empty font directories... Although right now I have questions to that process (see bug 315369).

Also, please, try fontforge 20100501.
Comment 9 Peter Ulrich 2010-05-17 10:51:34 UTC
> Confirm that there is no helvR14-ISO8859-13.pcf.gz file on your
> system (with qfile) 

done. the file does not exist.

> and try to remove fonts.dir and fonts.scale files in 75dpi
> directory.

fonts.scale is not in that directory.

> After that run xset fp rehash and try fontforge another time. 

works!

Brilliant! Thank you very much.

RESOLVED