[gs-bugs] [Bug 692309] GS segfault on some PDF files when compiled with '--disable-compile-init'

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Jun 29 12:02:40 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692309

--- Comment #11 from Ken Sharp <ken.sharp at artifex.com> 2011-06-29 12:02:39 UTC ---
(In reply to comment #10)

> > > I attached output from 'gs --help' from 9.02 and git ver.
> > 
> > The search path shows that your system is currently set up to use the 89.02
> > resources and initialisation files, this could be the source of the problem.
> 
> I don't understand.
> The ver. compiled from git repo has the same directory structure as 9.02 (I
> compare self compiled package and distro one): there is directory
> `/usr/share/ghostscript/VER' (VER=9.03 and 9.02 resp.) which has following
> subdirs:
> Resources/
> doc/
> examples/
> iccprofiles/
> lib/
> and this structure was created by `make install soinstall'.

Ah, you didn't label the two 'gs --help' attachments (or rather labelled them
the same), and I read the wrong one, sorry about that. The one for 9.03 does
appear to be as expected.


> I'm lost...
> 
> P.S. Why this spurious message?
> [quote]
>   ./base/gsicc_manage.c:901: gsicc_open_search(): Could not find
> default_rgb.icc 
> | ./base/gsicc_manage.c:1155: gsicc_set_device_profile(): cannot find device
> profile
> [/quote]

Its not spurious I think, its telling you that it couldn't find a particular
icc profile, and that (eventually) is what is leading to your segmentation
fault.

What I don't understand is why your system can't find the iccprofiles
directory. It seems to be present, correctly named and in a location which the
search path ought to find, yet it persists in not finding it.

When I do the same here (on Fedora 14) it works, and even if I don't configure
GS properly it doesn't seg fault, it just exists with an error.

The only thing I can think of is to check that you have cleaned and rebuilt
9.03 completely ? 

Failing that I'm going to have to leave this to one of the  developers with
more Linux experience than me to try and reproduce.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list