Bug 171529 - kghostview can't handle complex PDF
Summary: kghostview can't handle complex PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.15.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 16:14 UTC by Magnus Ihse Bursie
Modified: 2012-10-17 05:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Ihse Bursie 2008-09-23 16:14:21 UTC
Version:           0.20 (using 3.5.9, Kubuntu (hardy) 4:3.5.9-0ubuntu7.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-19-generic

Download the PDF from http://www.svmc.se/upload/Travel/Dokument/VV-Kartor/Stockholm.pdf.
This is a 5MB, graphics-heavy and complex PDF.

Open this pdf in kghostview.

This results in a blank display, and a popup with the following messages from ghostview:

Ghostscript Messages
An error occured in rendering.
Exited with error code 1.
...
and the following messages from gs:

Error: /unknownerror in --eofill--
Operand stack:
   --dict:6/15(L)--   0.0   -0.20835
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:2/20(G)--   --dict:97/200(L)--   --dict:107/127(ro)(G)--   --dict:275/300(ro)(G)--   --dict:22/25(L)--   --dict:4/6(L)--   --dict:21/40(L)--   --dict:5/5(L)--
Current allocation mode is local
Last OS error: 11
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

---
Expected behaviour:
That the PDF should be displayed.

Strangely enough, the thumbnail does indeed display correctly after some time.
Comment 1 Adrián Chaves (Gallaecio) 2012-10-17 05:08:23 UTC
Okular opens it just fine.