Bug#573115: ghostscript: all PDF files give Error: /undefined in copy_trailer_attrs

2010-03-09 Thread Jonas Smedegaard

Hi Peter,

On Tue, Mar 09, 2010 at 01:57:13PM +1100, Peter Billam wrote:

I just brought my debian squeeze up to date with   aptitude update
and   aptitude safe-upgrade,  and now my GPL Ghostscript 8.71 can't
display _any_ PDF files, not even those generated by gs version
8.71, nor those generated by previous versions of gs, like
 http://www.pjb.com.au/muscript/samples/courante.pdf
nor the PDF invoice my ISP just sent me :-(

It displays the the correct number of page-buttons down the
left-hand-side, but then every page it tries to display gives:

 Error: /undefined in copy_trailer_attrs
 Operand stack:

 Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--
  --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop
  1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3
  %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
--nostringval--
  --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
 Dictionary stack:
  --dict:1159/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--
  --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--   --dict:21/25(L)--
 Current allocation mode is local
 Last OS error: 11
 GPL Ghostscript 8.71: Unrecoverable error, exit code 1

But all Postscript files seem to work fine.


What command did you invoke that lead to above error?

I tried the following (using the slightly newer ghostscript from 
unstable):


  wget http://www.pjb.com.au/muscript/samples/courante.pdf
  /usr/bin/gs courante.pdf

It displayed a page full of musical notes, and did not crash.



Versions of packages ghostscript recommends:
ii  psfontmgr 0.11.10-4  PostScript font manager -- part of


Did you try install above recommended package?

Do you perhaps have something odd below /usr/local which confuses 
ghostscript?



Kind regards,

 - Jonas

--
* Jonas Smedegaard - idealist  Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature


Bug#573115: ghostscript: all PDF files give Error: /undefined in copy_trailer_attrs

2010-03-08 Thread Peter Billam
Package: ghostscript
Version: 8.71~dfsg-1
Severity: important


I just brought my debian squeeze up to date with   aptitude update
and   aptitude safe-upgrade,  and now my GPL Ghostscript 8.71 can't
display _any_ PDF files, not even those generated by gs version
8.71, nor those generated by previous versions of gs, like
  http://www.pjb.com.au/muscript/samples/courante.pdf
nor the PDF invoice my ISP just sent me :-(

It displays the the correct number of page-buttons down the
left-hand-side, but then every page it tries to display gives:

  Error: /undefined in copy_trailer_attrs
  Operand stack:

  Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop
   1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3
   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
--nostringval--
   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
  Dictionary stack:
   --dict:1159/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--
   --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--   --dict:21/25(L)--
  Current allocation mode is local
  Last OS error: 11
  GPL Ghostscript 8.71: Unrecoverable error, exit code 1

But all Postscript files seem to work fine.

I reported this to gs-b...@ghostscript.com but they say it works
fine in Fedora and I should report it to the Debian folk.

Any ideas ?

Peter Billamwww.pjb.com.au

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghostscript depends on:
ii  debconf [debc 1.5.28 Debian configuration management sy
ii  debianutils   3.2.2  Miscellaneous utilities specific t
ii  defoma0.11.10-4  Debian Font Manager -- automatic f
ii  ghostscript [ 8.71~dfsg-1The GPL Ghostscript PostScript/PDF
ii  gs-common 8.71~dfsg-1Dummy package depending on ghostsc
ii  gsfonts   1:8.11+urwcyr1.0.7~pre44-4 Fonts for the Ghostscript interpre
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  libgs88.71~dfsg-1The Ghostscript PostScript/PDF int

Versions of packages ghostscript recommends:
ii  psfontmgr 0.11.10-4  PostScript font manager -- part of

ghostscript suggests no packages.

-- no debconf information


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghostscript depends on:
ii  debconf [debc 1.5.28 Debian configuration management sy
ii  debianutils   3.2.2  Miscellaneous utilities specific t
ii  defoma0.11.10-4  Debian Font Manager -- automatic f
ii  ghostscript [ 8.71~dfsg-1The GPL Ghostscript PostScript/PDF
ii  gs-common 8.71~dfsg-1Dummy package depending on ghostsc
ii  gsfonts   1:8.11+urwcyr1.0.7~pre44-4 Fonts for the Ghostscript interpre
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  libgs88.71~dfsg-1The Ghostscript PostScript/PDF int

Versions of packages ghostscript recommends:
ii  psfontmgr 0.11.10-4  PostScript font manager -- part of

ghostscript suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org