Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#489874: evince: saving a pdf file produces bad pdf

100 views
Skip to first unread message

Francesco Potorti`

unread,
Jul 8, 2008, 9:40:13 AM7/8/08
to
Package: evince
Version: 2.22.2-1
Severity: normal

To reproduce:

$ wget http://www.dvb-h.org/PDF/Implementation%20Guidelines%20TR102377.V1.2.1.pdf
$ evince "Implementation Guidelines TR102377.V1.2.1.pdf"
File / Save a copy / a.pdf

$ ls -l "Implementation Guidelines TR102377.V1.2.1.pdf" a.pdf
-rw-rw-r-- 1 pot pot 830181 Jul 18 2006 Implementation Guidelines TR102377.V1.2.1.pdf
-rw------- 1 pot pot 873986 Jul 8 15:20 a.pdf

$ evince a.pdf
Error (832218): Unknown compression method in flate stream
Error (834466): Unknown compression method in flate stream
Error (836761): Unknown compression method in flate stream
Error (838641): Unknown compression method in flate stream
Error (840739): Unknown compression method in flate stream
Error (842602): Unknown compression method in flate stream
Error (843998): Bad FCHECK in flate stream
... (many more messages)
You see a document with all blank pages

-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=it_IT@euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages evince depends on:
ii gconf2 2.22.0-1 GNOME configuration database syste
ii gnome-icon-theme 2.22.0-1 GNOME Desktop icon theme
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.22.0-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.22.0-1 The Bonobo UI library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.6.4-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.76-1 simple interprocess messaging syst
ii libdjvulibre21 3.5.20-6 Runtime support for the DjVu image
ii libfontconfig1 2.6.0-1 generic font configuration library
ii libfreetype6 2.3.6-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.1-2 GCC support library
ii libgconf2-4 2.22.0-1 GNOME configuration database syste
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii libgnome-keyring0 2.22.2-1 GNOME keyring services library
ii libgnome2-0 2.20.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgnomeui-0 2.20.1.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 1:2.22.0-3 GNOME Virtual File System (runtime
ii libgtk2.0-0 2.12.10-2 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libkpathsea4 2007.dfsg.2-3 TeX Live: path search library for
ii libnautilus-extension1 2.20.0-4 libraries for nautilus components
ii liborbit2 1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.20.3-2 Layout and rendering of internatio
ii libpixman-1-0 0.10.0-2 pixel-manipulation library for X a
ii libpng12-0 1.2.27-1 PNG library - runtime
ii libpoppler-glib3 0.8.2-2+lenny1 PDF rendering library (GLib-based
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libsm6 2:1.0.3-2 X11 Session Management library
ii libspectre1 0.2.0.ds-1 Library for rendering Postscript d
ii libstdc++6 4.3.1-2 The GNU Standard C++ Library v3
ii libtiff4 3.8.2-10 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.1.4-2 X11 client-side library
ii libxml2 2.6.32.dfsg-2 GNOME XML library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages evince recommends:
ii dbus-x11 1.2.1-2 simple interprocess messaging syst

-- no debconf information

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

Sven Arvidsson

unread,
Jul 8, 2008, 10:40:16 AM7/8/08
to
On Tue, 2008-07-08 at 15:22 +0200, Francesco Potorti` wrote:
> $ wget http://www.dvb-h.org/PDF/Implementation%20Guidelines%20TR102377.V1.2.1.pdf
> $ evince "Implementation Guidelines TR102377.V1.2.1.pdf"
> File / Save a copy / a.pdf
>
> $ ls -l "Implementation Guidelines TR102377.V1.2.1.pdf" a.pdf
> -rw-rw-r-- 1 pot pot 830181 Jul 18 2006 Implementation Guidelines TR102377.V1.2.1.pdf
> -rw------- 1 pot pot 873986 Jul 8 15:20 a.pdf
>
> $ evince a.pdf
> Error (832218): Unknown compression method in flate stream
> Error (834466): Unknown compression method in flate stream
> Error (836761): Unknown compression method in flate stream
> Error (838641): Unknown compression method in flate stream
> Error (840739): Unknown compression method in flate stream
> Error (842602): Unknown compression method in flate stream
> Error (843998): Bad FCHECK in flate stream
> ... (many more messages)
> You see a document with all blank pages

> ii libpoppler-glib3 0.8.2-2+lenny1 PDF rendering library (GLib-based

Hi,

This should be fixed with version 0.8.4-1 of libpoppler-glib3. Can you
grab a copy from unstable and confirm?

--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

signature.asc

Francesco Potorti`

unread,
Jul 8, 2008, 10:50:16 AM7/8/08
to
>This should be fixed with version 0.8.4-1 of libpoppler-glib3. Can you
>grab a copy from unstable and confirm?

I downloaded and installed the library:

Preparing to replace libpoppler-glib3 0.8.2-2+lenny1 (using .../libpoppler-glib3_0.8.4-1_amd64.deb) ...
Unpacking replacement libpoppler-glib3 ...
Setting up libpoppler-glib3 (0.8.4-1) ...

I quit all instances of Evince that were running, but still I can
reproduce the bug.

Loïc Minier

unread,
Jul 8, 2008, 11:10:17 AM7/8/08
to
Hi

On Tue, Jul 08, 2008, Francesco Potorti` wrote:
> You see a document with all blank pages

> ii libfreetype6 2.3.6-1 FreeType 2 font engine, shared lib

Could you please try with freetype 2.3.7-1?

Thanks,
--
Loïc Minier

Francesco Potorti`

unread,
Jul 8, 2008, 12:10:09 PM7/8/08
to
> Could you please try with freetype 2.3.7-1?

Tried as above, no change.

Francesco Potorti`

unread,
Jul 10, 2008, 8:10:16 AM7/10/08
to
One more strange thing that is a regression, if I remember correctly.
That's why I am following up on the same bug, even if the symptoms are
very different.

While evince displays correctly the file at
<http://fly.isti.cnr.it/riservato/debian-bug/ja2410-fig10.eps>,

it cannot display (any more) the file at
<http://fly.isti.cnr.it/riservato/debian-bug/ja2410-fig10+p.eps>,

which is the same as the previous file but with a tiff preview added:
evince just load the latter and shows a Loading... sign, without any
errors.

Gv displays both files without problems.

Sven Arvidsson

unread,
Jul 10, 2008, 11:40:18 AM7/10/08
to
On Thu, 2008-07-10 at 13:57 +0200, Francesco Potorti` wrote:
> One more strange thing that is a regression, if I remember correctly.
> That's why I am following up on the same bug, even if the symptoms are
> very different.
>
> While evince displays correctly the file at
> <http://fly.isti.cnr.it/riservato/debian-bug/ja2410-fig10.eps>,
>
> it cannot display (any more) the file at
> <http://fly.isti.cnr.it/riservato/debian-bug/ja2410-fig10+p.eps>,
>
> which is the same as the previous file but with a tiff preview added:
> evince just load the latter and shows a Loading... sign, without any
> errors.
>
> Gv displays both files without problems.

It is usually better to file a separate bug report. In this case I think
the problem is with libspectre. You could file a bug against it in
debian, or directly upstream at http://bugs.freedesktop.org

signature.asc

Sven Arvidsson

unread,
Aug 9, 2008, 5:40:18 PM8/9/08
to
On Tue, 2008-07-08 at 15:22 +0200, Francesco Potorti` wrote:
> To reproduce:
>
> $ wget http://www.dvb-h.org/PDF/Implementation%20Guidelines%20TR102377.V1.2.1.pdf
> $ evince "Implementation Guidelines TR102377.V1.2.1.pdf"
> File / Save a copy / a.pdf
>
> $ ls -l "Implementation Guidelines TR102377.V1.2.1.pdf" a.pdf
> -rw-rw-r-- 1 pot pot 830181 Jul 18 2006 Implementation Guidelines TR102377.V1.2.1.pdf
> -rw------- 1 pot pot 873986 Jul 8 15:20 a.pdf
>
> $ evince a.pdf
> Error (832218): Unknown compression method in flate stream
> Error (834466): Unknown compression method in flate stream
> Error (836761): Unknown compression method in flate stream
> Error (838641): Unknown compression method in flate stream
> Error (840739): Unknown compression method in flate stream
> Error (842602): Unknown compression method in flate stream
> Error (843998): Bad FCHECK in flate stream
> ... (many more messages)
> You see a document with all blank pages

Hi,

Do you still experience this bug?

signature.asc

Francesco Potorti`

unread,
Aug 10, 2008, 2:10:08 PM8/10/08
to
>Do you still experience this bug?

I am currently far from my PC. I will be able to check in September.
I will let you know by then.

Francesco Potorti`

unread,
Sep 1, 2008, 11:30:13 AM9/1/08
to
>> $ wget http://www.dvb-h.org/PDF/Implementation%20Guidelines%20TR102377.V1.2.1.pdf
>> $ evince "Implementation Guidelines TR102377.V1.2.1.pdf"
>> File / Save a copy / a.pdf
>>
>> $ ls -l "Implementation Guidelines TR102377.V1.2.1.pdf" a.pdf
>> -rw-rw-r-- 1 pot pot 830181 Jul 18 2006 Implementation Guidelines TR102377.V1.2.1.pdf
>> -rw------- 1 pot pot 873986 Jul 8 15:20 a.pdf
>>
>> $ evince a.pdf
>> Error (832218): Unknown compression method in flate stream
>> Error (834466): Unknown compression method in flate stream
>> Error (836761): Unknown compression method in flate stream
>> Error (838641): Unknown compression method in flate stream
>> Error (840739): Unknown compression method in flate stream
>> Error (842602): Unknown compression method in flate stream
>> Error (843998): Bad FCHECK in flate stream
>> ... (many more messages)
>> You see a document with all blank pages
>
>Hi,
>
>Do you still experience this bug?

No. The copy saved by evince is now identical to the original pdf, and
as expected no errors are signaled.

Thank you.

0 new messages