[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696417: marked as done (pdfopt: crash on some input PDF file)



Your message dated Thu, 04 Jan 2024 20:35:21 -0600
with message-id <2164596.KlZ2vcFHjT@riemann>
and subject line Re: wontfix
has caused the Debian Bug report #696417,
regarding pdfopt: crash on some input PDF file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
696417: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696417
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ghostscript
Version: 8.71~dfsg2-9
Severity: important
File: /usr/bin/pdfopt

I was trying to compress a PDF file generated from my HP/Scanner. The file is reported as:

$ pdfinfo
Title:          /tmp/simple-scan-J7U3PW.pdf
Producer:       ImageMagick 6.6.0-4 2012-05-02 Q16 http://www.imagemagick.org
CreationDate:   Thu Dec 20 15:36:45 2012
ModDate:        Thu Dec 20 15:36:45 2012
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      611.76 x 841.44 pts
File size:      1715008 bytes
Optimized:      no
PDF version:    1.3

This PDF makes pdfopt crashes with:

Error: /typecheck in --setfileposition--
Operand stack:
   --nostringval--   13   0   1714253   13   1714253   77   3348   --nostringval--   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   1711312   --nostringval--   --nostringval--   %array_continue   --nostringval--   --nostringval--   %array_continue   --nostringval--
Dictionary stack:
   --dict:1163/1684(ro)(G)--   --dict:1/20(G)--   --dict:116/200(L)--   --dict:76/200(G)--   --dict:291/300(ro)(G)--   --dict:20/31(L)--   --dict:37/40(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 38334
GPL Ghostscript 9.05: Unrecoverable error, exit code 1


There is one easy way to reproduce with any PDF generated by imagemagick:

$ sudo apt-get install imagemagick    
$ convert -size 611x841 xc:white test.pdf 

I am attaching test.pdf to this bug report, just in case.

Thanks


-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghostscript depends on:
ii  debconf [de 1.5.36.1                     Debian configuration management sy
ii  debianutils 3.4                          Miscellaneous utilities specific t
ii  gsfonts     1:8.11+urwcyr1.0.7~pre44-4.2 Fonts for the Ghostscript interpre
ii  libc6       2.11.3-4                     Embedded GNU C Library: Shared lib
ii  libgs8      8.71~dfsg2-9                 The Ghostscript PostScript/PDF int

ghostscript recommends no packages.

ghostscript suggests no packages.

-- debconf-show failed

Attachment: test.pdf
Description: Adobe PDF document


--- End Message ---
--- Begin Message ---
On Mon, 19 Jan 2015 18:00:52 +0100 Didier 'OdyX' Raboud <odyx@debian.org> 
wrote:
> Control: reopen -1
> 
> Le lundi, 19 janvier 2015, 16.13:55 Mathieu Malaterre a écrit :
> > tags 696417 wontfix
> > thanks
> > 
> > As explained by upstream:
> > 
> > [...]
> > pdfopt is obselete, and no longer supported. We don't believe it ever
> > worked properly and there are so many bugs it isn't reasonable to try
> > and fix them.
> > 
> > As of the next release the pdfwrite device has a 'FastWebView' switch
> > which enables production of Linearised PDF files (the switch defaults
> > to off).
> > [...]
> 
> Reopening, but keeping the wontfix tag: the fact that upstream will not 
> fix it doesn't make it a fixed bug: pdfopt is still shipped in 
> ghostscript, 

ghostscript no longer shipts pdfopt

-Steve

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: