[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-17 Thread Launchpad Bug Tracker
This bug was fixed in the package ghostscript - 9.04~dfsg-0ubuntu12

---
ghostscript (9.04~dfsg-0ubuntu12) precise; urgency=low

  * debian/patches/1001_dont-crash-when-not-finding-icc-profile.patch,

debian/patches/020110923-5688545-fix-setting-the-iccprofilesdir-userparam.patch,

debian/patches/020110923-7e048c5-dont-crash-when-not-finding-icc-profile.patch:
Patch got applied upstream, replaced the patch by official upstream GIT
patches. No change in source code.
  * debian/control, debian/rules: Build Ghostscript against liblcms instead
of liblcms1, to fix a crash on Apple-generated EPS figures (both
standalone or embedded in LaTeX-generated PostScript files, LP: #787067).
  * debian/control, debian/rules, debian/libgs__VER__.install.in,
debian/libgs-dev.install: Stop using d-shlibmove, it is not compatible
with libcms2.
  * debian/symbols.common: Updated. Applied patch which dpkg-gensymbols
generated for debian/libgs9.symbols to this file.
 -- Till Kamppeter till.kamppe...@gmail.com   Mon, 17 Oct 2011 15:52:31 +0200

** Changed in: ghostscript (Ubuntu Precise)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-06 Thread Till Kamppeter
** Changed in: lcms (Ubuntu Oneiric)
Milestone: None = ubuntu-11.10

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-06 Thread Till Kamppeter
debdiff to fix the problem in Oneiric via the lcms package is
attached. The fix is a trivial NULL-pointer check, so no regression
potential.

** Patch added: lcms_1.19.dfsg-1ubuntu1_1.19.dfsg-1ubuntu2.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/787067/+attachment/2516871/+files/lcms_1.19.dfsg-1ubuntu1_1.19.dfsg-1ubuntu2.debdiff

** Changed in: lcms (Ubuntu Oneiric)
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-06 Thread Till Kamppeter
Second attempt, the first debdiff contained an irrelevant temporary
file, blowing up the source package.

** Patch added: lcms_1.19.dfsg-1ubuntu1_1.19.dfsg-1ubuntu2.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/787067/+attachment/2516889/+files/lcms_1.19.dfsg-1ubuntu1_1.19.dfsg-1ubuntu2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lcms - 1.19.dfsg-1ubuntu2

---
lcms (1.19.dfsg-1ubuntu2) oneiric; urgency=low

  * src/cmslut.c: Added NULL pointer check to prevent Ghostscript from crashing
on Apple-generated EPS files (LP: #787067).
 -- Till Kamppeter till.kamppe...@gmail.com   Thu,  6 Oct 2011 11:25:00 +0200

** Changed in: lcms (Ubuntu Oneiric)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lcms

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-05 Thread Lars Uebernickel
Attached is a small patch (hack), which sanitizes an internal lcms
struct to prevent this crash from happening. However, it writes an
incorrect color profile to the resulting pdf. Evince complains about
that on the command line, but renders all images (probably not in the
correct colors).

** Patch added: lcms-assure-lut.patch
   
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/787067/+attachment/2513400/+files/lcms-assure-lut.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-05 Thread Till Kamppeter
Lars, thank you for your patch. It actually works for me. Looking into
the patch one sees that it does not change anything in cases where the
segfault did not happen before, it only kicks in in cases where there
was the segfault, so there should be no regression potential.


** Changed in: lcms (Ubuntu Oneiric)
   Status: Won't Fix = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-05 Thread Till Kamppeter
The patch would be a good workaround for Oneiric, for the time until we
get P where Ghostscript will use liblcms2. Reopening lcms task for
Oneiric.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-10-05 Thread Ubuntu QA's Bug Bot
The attachment lcms-assure-lut.patch of this bug report has been
identified as being a patch.  The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch.  In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch.  Additionally, if you are member
of the ubuntu-sponsors please also unsubscribe the team from this bug
report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-28 Thread Bug Watch Updater
** Changed in: gs-gpl
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-26 Thread Till Kamppeter
Corrected LCMS task, GS is linked against lcms1.

** Package changed: lcms2 (Ubuntu) = lcms (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-26 Thread Till Kamppeter
A possible solution is to build Ghostscript with the new liblcms2. At
least for me it does not crash any more on your EPS files. But as this
is a major change and the upstream developers of Ghostscript think that
there are still bugs, and this case of Apple-generated EPS files is the
only know cause of Ghostscript to segfault, I cannot put this change
into Oneiric. But I make it available for you and everyone who actually
suffers this problem. It is on my PPA:

https://launchpad.net/~till-kamppeter/+archive/ppa

Please follow the instructions under Adding this PPA to your system.
After that update your system, for example via

sudo apt-get update
sudo apt-get dist-upgrade

After more testing (by me, by you, and by the development of Ubuntu
12.04) I will check whether we can upload this package as SRU (Stable
Release Update) for Oneiric. Especially it needs to be tested whether
the switchover from liblcms1 to liblcms2 does not introduce any
regressions.


** Also affects: ghostscript (Ubuntu Oneiric)
   Importance: High
   Status: Confirmed

** Also affects: lcms (Ubuntu Oneiric)
   Importance: Medium
   Status: Confirmed

** Also affects: ghostscript (Ubuntu P-series)
   Importance: Undecided
   Status: New

** Also affects: lcms (Ubuntu P-series)
   Importance: Undecided
   Status: New

** Changed in: lcms (Ubuntu Oneiric)
   Status: Confirmed = Invalid

** Changed in: lcms (Ubuntu P-series)
   Status: New = Invalid

** Changed in: ghostscript (Ubuntu Oneiric)
   Status: Confirmed = Won't Fix

** Changed in: ghostscript (Ubuntu P-series)
   Status: New = Confirmed

** Changed in: lcms (Ubuntu Oneiric)
   Status: Invalid = Won't Fix

** Changed in: lcms (Ubuntu P-series)
   Status: Invalid = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-26 Thread Till Kamppeter
liblcms1 (lcms package) is not maintained any more upstream, so we
should aim on switching our Ghostscript package to liblcms2 (lcms2)
instead of trying to fix libcms1 (the copy of libcms1 shipped with the
Ghostscript source is also heavily patched). So in the P cycle we should
provide a liblcms2-based Ghostscript early to get as much testing as
possible.

Closing lcms tasks and Oneiric task for Ghostscript.

** Changed in: ghostscript (Ubuntu P-series)
   Status: Confirmed = Triaged

** Changed in: ghostscript (Ubuntu)
Milestone: ubuntu-11.10 = None

** Changed in: ghostscript (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: ghostscript (Ubuntu P-series)
   Importance: Undecided = Medium

** Changed in: ghostscript (Ubuntu)
   Importance: High = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-26 Thread William Spears
Till, thank you - this indeed seems to work. I  went through my 675 page
book, with the 3 offending figures, using ghostscript 9.04, and it all
looks correct!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-24 Thread William Spears
You are welcome - I hope these help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-24 Thread Till Kamppeter
Reported the problem also to the upstream developers of Ghostscript
(http://bugs.ghostscript.com/show_bug.cgi?id=692539). Thank you for the
sample files.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 787067] Re: Apple-generated EPS figures in LaTeX-generated PS file cause Ghostscript to segfault

2011-09-24 Thread Bug Watch Updater
** Changed in: gs-gpl
   Status: Unknown = Confirmed

** Changed in: gs-gpl
   Importance: Unknown = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787067

Title:
  Apple-generated EPS figures in LaTeX-generated PS file cause
  Ghostscript to segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/787067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs