[Scribus] segfault with ghostscript fonts

Peter Linnell scribusdocs
Sun Oct 12 19:11:01 CEST 2003


On Sun, 2003-10-12 at 06:56, Koblinger Egmont wrote:
> 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.
> 
> 

These are somewhat deprecated fonts, which include duplicates of newer
fonts which are included with Xfree86. 

I have tested these fonts with Adobe Type Manager and Cross font and
from their behavior, would say some of these are suspect. there is an
updated set of ghostscript fonts on the ghostscript.com site.

Regards,
Peter








More information about the scribus mailing list