← Back to team overview

desktop-packages team mailing list archive

[Bug 1449875] [NEW] ghostscript fails on some EPS files

 

Public bug reported:

On Ubuntu 15.04, running in the cloud, I issue to following command to
find the Bounding Box on the attached EPS. When I download the
ghostscript binary from ghostscript.com or try the same on my FreeBSD
server, it works just fine. Here's the command to reproduce:

$ gs -q -sDEVICE=bbox -dNOPAUSE -dBATCH -dSAFER -dEPSCrop -r300 broken-
on-ubuntu-1504.eps

The expected output:
%%BoundingBox: 87 81 1515 1510
%%HiResBoundingBox: 87.840941 81.600003 1514.790058 1509.385370

The output on Ubuntu 15.04:
Error: /undefinedresource in resourcestatus
Operand stack:
   false   ct_StyleDicts   --dict:0/4(L)--   Adobe-Japan1   --dict:0/4(L)--   Serif   HeiseiMin-W3-83pv-RKSJ-H   Font   HeiseiMin-W3   CIDFont
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1967   1   3   %oparray_pop   1967   1   3   %oparray_pop   1966   1   3   %oparray_pop   --nostringval--   1950   1   3   %oparray_pop   1836   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   1915   10   9   %oparray_pop
Dictionary stack:
   --dict:1183/1684(ro)(G)--   --dict:0/20(G)--   --dict:87/200(L)--   --dict:57/75(L)--   --dict:2/10(L)--   --dict:39/70(L)--   --dict:0/4(L)--   --dict:0/4(L)--   --dict:20/27(ro)(G)--   --dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.15: Unrecoverable error, exit code 1

** Affects: ghostscript (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "This EPS shows the problem in the Ghostscript package"
   https://bugs.launchpad.net/bugs/1449875/+attachment/4387258/+files/broken-on-ubuntu-1504.eps

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1449875

Title:
  ghostscript fails on some EPS files

Status in ghostscript package in Ubuntu:
  New

Bug description:
  On Ubuntu 15.04, running in the cloud, I issue to following command to
  find the Bounding Box on the attached EPS. When I download the
  ghostscript binary from ghostscript.com or try the same on my FreeBSD
  server, it works just fine. Here's the command to reproduce:

  $ gs -q -sDEVICE=bbox -dNOPAUSE -dBATCH -dSAFER -dEPSCrop -r300
  broken-on-ubuntu-1504.eps

  The expected output:
  %%BoundingBox: 87 81 1515 1510
  %%HiResBoundingBox: 87.840941 81.600003 1514.790058 1509.385370

  The output on Ubuntu 15.04:
  Error: /undefinedresource in resourcestatus
  Operand stack:
     false   ct_StyleDicts   --dict:0/4(L)--   Adobe-Japan1   --dict:0/4(L)--   Serif   HeiseiMin-W3-83pv-RKSJ-H   Font   HeiseiMin-W3   CIDFont
  Execution stack:
     %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1967   1   3   %oparray_pop   1967   1   3   %oparray_pop   1966   1   3   %oparray_pop   --nostringval--   1950   1   3   %oparray_pop   1836   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   1915   10   9   %oparray_pop
  Dictionary stack:
     --dict:1183/1684(ro)(G)--   --dict:0/20(G)--   --dict:87/200(L)--   --dict:57/75(L)--   --dict:2/10(L)--   --dict:39/70(L)--   --dict:0/4(L)--   --dict:0/4(L)--   --dict:20/27(ro)(G)--   --dict:20/26(ro)(G)--
  Current allocation mode is local
  Last OS error: No such file or directory
  GPL Ghostscript 9.15: Unrecoverable error, exit code 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1449875/+subscriptions


Follow ups

References