Bug 171282

Summary: on I/O-error only blank page shown instead of error
Product: [Applications] okular Reporter: Gregor B. Rosenauer <gregor.rosenauer>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 0.7.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gregor B. Rosenauer 2008-09-18 17:23:16 UTC
Version:           0.7.1 (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic

For some reason I cannot open a particular document on a network share (others on the same share work fine, I hope it's no FS issue).
Okular then only displys blank pages, but the real error is hidden in the console output:

Error (924986): Bad 'Length' attribute in stream
Error: Weird page contents

In that case, okular should display an error and *exit* instead of displaying only whitespace, leaving the user to wonder what happened.
Comment 1 Gregor B. Rosenauer 2008-09-18 17:24:02 UTC
btw the network share is a samba share hosted by an Ubuntu server.
However this is completely transparent to okular as the share is mounted over a local mounpoint.
Comment 2 Pino Toscano 2008-09-18 19:32:25 UTC
Can you please attach the faulty document?
Comment 3 Albert Astals Cid 2008-09-18 22:20:09 UTC
Not an I/O error, the document is just faulty and confuses our renderer. It will work with poppler >= 0.9.1