[Scribus] segfault with ghostscript fonts

Koblinger Egmont egmont
Sun Oct 12 12:56:11 CEST 2003


Hi,

scribus 1.1.1 segfaults for me at startup (splash screen phase 2:
Searching for Fonts) if fonts of the gnu-gs-fonts-other-6.0
package (ftp://ftp.gnu.org/gnu/ghostscript/) are installed under the
standard font search path. 1.1.0 and earlier versions didn't segfault.

The end of strace is this:
close(9)                                = 0
munmap(0x43b69000, 47083)               = 0
open("/usr/share/fonts/URW/d050000l.pfb", O_RDONLY) = 9
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
fstat64(9, {st_mode=S_IFREG|0644, st_size=45955, ...}) = 0
old_mmap(NULL, 45955, PROT_READ, MAP_PRIVATE, 9, 0) = 0x43b69000
close(9)                                = 0
munmap(0x43b69000, 45955)               = 0
open("/usr/share/fonts/URW/hrger.pfa", O_RDONLY) = 9
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
fstat64(9, {st_mode=S_IFREG|0644, st_size=58276, ...}) = 0
old_mmap(NULL, 58276, PROT_READ, MAP_PRIVATE, 9, 0) = 0x43b69000
close(9)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

(/usr/share/fonts/URW is a symlink to the location of the ghostscript
fonts.)

An "xset fp- /usr/share/fonts/URW" solves the segfault problem, but
removing fonts.cache-1 instead doesn't solve the segfault. Interesting
though, the string "hrger" (name of the last file scribus opens) isn't
mentioned in any of the fonts.{dir,scale,cache-1} files.

xfree 4.3.0, freetype 2.1.5, qt 3.2.1.



bye,
Egmont




More information about the scribus mailing list