Opening incomplete djvu files crashes evince

Bug #368536 reported by Fishy
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Critical
evince (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: evince

Ubuntu version : 9.04 - 32 bits

When I try to open a djvu document with evince, it crashes and closes also other windows with evince reading pdf.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/evince
Package: evince 2.26.0-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Fishy (marc-fishy) wrote :
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu even better! It would be quite helpful if you attach the document you are having a problem with so we can better recreate this bug and work on fixing it. Thanks in advance.

Changed in evince (Ubuntu):
status: New → Incomplete
Revision history for this message
Fishy (marc-fishy) wrote :

Here it is.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Confirmed on latest Jaunty.

The error messages are:
** (evince:6333): WARNING **: DjvuLibre error: Unexpected End Of File.
** (evince:6333): WARNING **: DjvuLibre error: DataPool.cpp:1771
** (evince:6333): WARNING **: DjvuLibre error: DjVuFile.cpp:2253
EvinceDocument:ERROR:ev-document-misc.c:56:ev_document_misc_get_thumbnail_frame: assertion failed: (width_r >= 0 && height_r >= 0)
Aborted

Changed in evince (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

note: the file opens correctly with djview4

Revision history for this message
Curtis Bright (cbright-gmail) wrote :

It opens in Evince 2.22.2 but not in 2.24.1 or 2.26.1. I can only see the first 88 pages though.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Still an issue in Karmic.
We should report this upstream...

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

reported upstream, added bug watch

Changed in evince:
status: Unknown → New
Changed in evince (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: Confirmed → Triaged
Revision history for this message
Motin (motin) wrote :

"note: the file opens correctly with djview4"
Well, on Jaunty only the first 88 pages are available here as well.

Are you sure this djvu file is complete? Can all pages be opened in a djvu reader on Windows or similar?

I have no problems opening other djvu files in evince.

If this file is damaged, the bug should be renamed to "Opening incomplete/damaged djvu files crashes evince", which still would be valid, as it would be about fixing evince to incorporate the same behavior as djview, ie not crash but simply displaying the pages that exists.

Revision history for this message
Motin (motin) wrote :

Ah, upstream it already says:

Carlos Garcia Campos [evince developer] 2009-08-29 13:49:17 UTC

That document is broken, we shouldn't crash though.

Revision history for this message
Fishy (marc-fishy) wrote :

I must admit I never tried to open it on another djvu reader.

At least evince should display an error message, and it shouldn't crash the other instances of evince.

I agree the name of the bug should be changed (anything I can do about it ? I'm not a LaunchPad expert)

summary: - Opening djvu files crashes evince
+ Opening incomplete djvu files crashes evince
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Upstream bug has been marked as duplicate of bug https://bugzilla.gnome.org/show_bug.cgi?id=594408

Changed in evince:
status: New → Unknown
Changed in evince:
status: Unknown → Confirmed
Changed in evince:
importance: Unknown → Critical
Changed in evince:
status: Confirmed → Fix Released
Revision history for this message
penalvch (penalvch) wrote :

Crash not reproducible in Trusty.

Changed in evince (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.