[cups.bugs] Re: [HIGH] STR #1850: GS using 800MB of VSZ memory for a 15KB eps file

Hin-Tak Leung hintak_leung at yahoo.co.uk
Fri Jul 21 16:43:16 PDT 2006


westslnt.pfb seems to be a font that has not been updated
for about 10 years. I don't know why ghostscript is looking inside
- /usr/share/fonts/sharefonts/ - you might want to get rid of it
anyway.

It would be interesting to see the last part of your "gs -h" (the search path).
gs also should not look inside .fonts - at least not AFPL ghostscript
nor GPL ghostscript. I believe there are some patches around
which make ghostscript xft/fontconfig-aware (and hence will be sensitive
to broken fonts in .fonts and your X-server's font path) - that
might be your problem. If your ghostsript is xft/fontconfig-aware,
you may have to remove as many strange/bad fonts as possible.

Thomas Heiserowski wrote:
> [STR New]
> 
> I still have that problem, of course. Now I can reproduce it with a PDF
> exported from OpenOffice 2.
> 
> I used strace this time and it seems to be connected to fonts. This is
> where gs halts:
> 
> munmap(0xb7994000, 4096)                = 0
> open("/usr/share/fonts/sharefonts/westslnt.pfb", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0644, st_size=62107, ...}) = 0
> fstat64(7, {st_mode=S_IFREG|0644, st_size=62107, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0xb7994000
> _llseek(7, 0, [0], SEEK_CUR)            = 0
> _llseek(7, 0, [0], SEEK_SET)            = 0
> read(7, "\200\1x\4\0\0%!PS-AdobeFont-1.0: Wester"..., 4096) = 4096
> mprotect(0xb775a000, 16384, PROT_READ|PROT_WRITE) = 0
> --- SIGTERM (Terminated) ---
> +++ killed by SIGTERM +++
> 
> I have to kill gs at this point as it starts swapping again.
> 
> First, this happend with fonts located in ~/.fonts/. I deleted the
> seemingly affected ones and re-run gs. Then it stuck with the one above.
> 
> I re-generated the font-cache for my user and system wide using "fc-cache
> -f".
> 
> Any ideas?
> 
> Cheers,
> Thomas
> 
> Link: http://www.cups.org/str.php?L1850
> Version: 8.15.2
> 
> _______________________________________________
> cups-bugs mailing list
> cups-bugs at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-bugs
> 

	
	
		
___________________________________________________________ 
Win tickets to the 2006 FIFA World Cup Germany with Yahoo! Messenger. http://advision.webevents.yahoo.com/fifaworldcup_uk/





More information about the cups-devel mailing list