Launchpad has imported 7 comments from the remote bug at
http://bugs.ghostscript.com/show_bug.cgi?id=700315.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-12-03T16:49:41+00:00 Bheeshmar wrote:

We use ImageMagick to extract a the first page of a PDF as a thumbnail
and recently started getting exceptions with some PDFs. Traced it to the
call that ImageMagick was making:

gs  -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000
-dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4
-dGraphicsAlphaBits=4 '-r72x72' -dLastPage=1 -sOutputFile=1.png -f
Bloomfire-Security_and_Redundancy.pdf

When this is run with GS version 9.25, the thumbnail is extracted with no error.
When this is run with GS version 9.26, I see "Segmentation fault: 11"

I've attached a file that causes there error. Observed on both OSX and
Ubuntu Linux.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/1

------------------------------------------------------------------------
On 2018-12-03T16:50:51+00:00 Bheeshmar wrote:

Created attachment 16470
Output of run with -dDEBUG

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/2

------------------------------------------------------------------------
On 2018-12-03T16:51:24+00:00 Bheeshmar wrote:

Created attachment 16471
PDF example that causes the segfault

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/3

------------------------------------------------------------------------
On 2018-12-04T00:47:14+00:00 Ken Sharp wrote:


*** This bug has been marked as a duplicate of bug 699815 ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/4

------------------------------------------------------------------------
On 2018-12-04T21:05:41+00:00 Ken Sharp wrote:

*** Bug 700314 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/13

------------------------------------------------------------------------
On 2018-12-04T21:10:10+00:00 Ken Sharp wrote:

*** Bug 700313 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/14

------------------------------------------------------------------------
On 2018-12-04T21:32:36+00:00 Ken Sharp wrote:

Fixed in commit fae21f1668d2b44b18b84cf0923a1d5f3008a696

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1806517/comments/15


** Changed in: gs-gpl
       Status: Unknown => Fix Released

** Changed in: gs-gpl
   Importance: Unknown => Medium

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

Title:
  Ghostscript segmentation fault onb PDF using -dFirstPage and
  -dLastPage

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

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

Reply via email to