Bug 692539 - Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault
Summary: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to s...
Status: RESOLVED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: 9.04
Hardware: PC Linux
: P4 major
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 08:34 UTC by Till Kamppeter
Modified: 2011-09-27 20:49 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
book.ps (301.49 KB, application/postscript)
2011-09-24 08:34 UTC, Till Kamppeter
Details
unreachableZone.eps (77.12 KB, text/plain)
2011-09-24 08:36 UTC, Till Kamppeter
Details
couette.eps (199.66 KB, text/plain)
2011-09-24 08:36 UTC, Till Kamppeter
Details
couette2.eps (198.48 KB, text/plain)
2011-09-24 08:37 UTC, Till Kamppeter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Kamppeter 2011-09-24 08:34:25 UTC
Created attachment 7913 [details]
book.ps

See Ubuntu bugs

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/787067
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/857948

(First contains discussion and sample files, second contains symbolic stack trace)

Ghostscript segfaults when trying to render the attached files, Apple-generated figures and a PostScript file generated by LaTeX with such a figure embedded.

It does not matter what the output device is, It was first observed by using the "ps2pdf" conversion utility but a simple

gs <file>

for output in an X window is enough.
Comment 1 Till Kamppeter 2011-09-24 08:36:03 UTC
Created attachment 7914 [details]
unreachableZone.eps
Comment 2 Till Kamppeter 2011-09-24 08:36:40 UTC
Created attachment 7915 [details]
couette.eps
Comment 3 Till Kamppeter 2011-09-24 08:37:31 UTC
Created attachment 7916 [details]
couette2.eps
Comment 4 Till Kamppeter 2011-09-24 08:38:44 UTC
The problem occurs on Ubuntu Oneiric (11.10) beta 2. Ghostscript is version 9.04.
Comment 5 Alex Cherepanov 2011-09-24 23:19:09 UTC
Our default build works.
Comment 6 Till Kamppeter 2011-09-25 09:03:18 UTC
Alex, can you try with Ubuntu Oneiric?
Comment 7 Alex Cherepanov 2011-09-26 14:13:36 UTC
The problem is reproduced in the current development version
by building it with SHARE_LCMS=1
Comment 8 Chris Liddell (chrisl) 2011-09-27 15:42:05 UTC
The problem is clearly in the stock lcms, and not in our supplied one, therefore it is not our bug.
Comment 9 Till Kamppeter 2011-09-27 19:49:35 UTC
The upstream lcms1 is not maintained any more, therefore my plan for Ubuntu 12.04 is to use lcms2 as shared library from the system.
Comment 10 Chris Liddell (chrisl) 2011-09-27 20:49:59 UTC
If you persist with the plan to use lcms2, you're doing so against our strenuous recommendation. Please do not report bugs with this configuration, make sure you first confirm the bug in a Ghostscript built with our supplied lcms1 code.

In fact, bugs should *always* be tested with all our supplied third party library code before being reported.