gs 9.06 segfaults when converting to png, bmp, tiff, etc.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GS-GPL |
Fix Released
|
Critical
|
|||
ghostscript (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Using gs to convert a PDF to png works with gs 9.05, but not with 9.06.
Works
https:/
=====
gs -sDEVICE=pngalpha -o command-
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Segfaults
https:/
=========
gs -sDEVICE=pngalpha -o command-
GPL Ghostscript Release Candidate 1 9.06 (2012-07-31)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Segmentation fault
Original bug description
=======
Using imagemagick to convert PDFs doesn't work in Quantal, but it does in Precise.
$ convert command-
convert.im6: `%s' (%d) "gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=
convert.im6: Postscript delegate failed `command-
convert.im6: no images defined `command-
---
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
CupsErrorLog:
E [20/Sep/
E [20/Sep/
E [20/Sep/
DistroRelease: Ubuntu 12.10
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: TOSHIBA Satellite L745
Package: ghostscript 9.05~dfsg-6ubuntu4
PackageArchitec
Papersize: letter
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: quantal running-unity
Uname: Linux 3.5.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sbuild sudo
dmi.bios.date: 06/26/2012
dmi.bios.vendor: INSYDE
dmi.bios.version: 2.60
dmi.board.
dmi.board.name: Base Board Product Name
dmi.board.vendor: Intel Corp.
dmi.board.version: Base Board Version
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis Manufacturer
dmi.chassis.
dmi.modalias: dmi:bvnINSYDE:
dmi.product.name: Satellite L745
dmi.product.
dmi.sys.vendor: TOSHIBA
Related branches
description: | updated |
summary: |
- PDF convert + Using imagemagick for PDF converting fails with gs 9.06 |
Changed in gs-gpl: | |
importance: | Unknown → Critical |
status: | Unknown → Fix Released |
run
gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap= 500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlpha Bits=4 "-r72x72" "-sOutputFile= /tmp/magick- uaQSxHzp- -0000001" line-101. pdf
command-
and report the error.
It is a gs error not an imagemagick problem