Bug 31209 - Fails to render ps document
Fails to render ps document
Status: NEW
Product: libspectre
Classification: Unclassified
Component: general
unspecified
Other All
: medium normal
Assigned To: Carlos Garcia Campos
Carlos Garcia Campos
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-29 01:08 UTC by Xan Lopez
Modified: 2013-02-17 02:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PS Test case (181.13 KB, application/postscript)
2013-02-17 02:22 UTC, Germán Poo-Caamaño
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xan Lopez 2010-10-29 01:08:10 UTC
Evince 2.30.3 fails to render the ps document in http://labs.oracle.com/self/papers/pics.html. All pages get stuck in "Loading ...", and the following appears on the console:


typecheck -20
typecheck -20
typecheck -20
typecheck -20
typecheck -20

** (evince:1008): WARNING **: Error rendering thumbnail
Comment 1 Germán Poo-Caamaño 2013-02-17 02:22:17 UTC
Created attachment 74960 [details]
PS Test case

I am attaching the offending file.  Using ps2ps or ps2pdf fixes the issue.

The output of spectre-test from master is:

test/spectre-test /tmp/ecoop91.ps 
Testing libspectre version: 0.2.7
process 11921: spectre_document_load: assertion `document != NULL' failed (spectre-document.c:57)
Rendering document
typecheck -20
Error rendering document: render error
Rendering document at 2x
typecheck -20
Error rendering document at 2x: render error
GPL Ghostscript 9.05: **** Could not open the file (null)/output.pdf .
fatal internal error -100Error exporting document as pdf: exporter error
Error exporting document as ps: exporter error
Error saving document as (null)/document-copy.ps: save error
GPL Ghostscript 9.05: **** Could not open the file (null)/document-copy.pdf .
fatal internal error -100Error saving document as (null)/document-copy.pdf: save error
Document format: Unknown
Postscript language level: 0
Encapsulated PostScript: No
Number of pages: 18
Title: (null)
Creator: (null)
For: (null)
Creation date: (null)
Document Orientation: Portrait
Page 0
	Page label: "1"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 0: render error
Page 1
	Page label: "2"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 1: render error
Page 2
	Page label: "3"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 2: render error
Page 3
	Page label: "4"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 3: render error
Page 4
	Page label: "5"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 4: render error
Page 5
	Page label: "6"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 5: render error
Page 6
	Page label: "7"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 6: render error
Page 7
	Page label: "8"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 7: render error
Page 8
	Page label: "9"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 8: render error
Page 9
	Page label: "10"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 9: render error
Page 10
	Page label: "11"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
typecheck -20
Error rendering page 10: render error
Page 11
	Page label: "12"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 11: render error
Page 12
	Page label: "13"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 12: render error
Page 13
	Page label: "14"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 13: render error
Page 14
	Page label: "15"
	Page size: 720 x 931
	Page orientation: Portrait
typecheck -20
Error rendering page 14: render error
Page 15
	Page label: "16"
	Page size: 720 x 931
	Page orientation: Portrait
Page 16
	Page label: "17"
	Page size: 720 x 931
	Page orientation: Portrait
Page 17
	Page label: "18"
	Page size: 720 x 931
	Page orientation: Portrait
Rendering page 0 slice 240, 310, 240, 310
typecheck -20
Error rendering page slice 240, 310, 240, 310: render error
Rendering page 0 in a4 page
typecheck -20
Error rendering page in a4 page: render error
typecheck -20
Error rendering page 0 at rotation 0: render error
typecheck -20
Error rendering page 1 at rotation 90: render error
typecheck -20
Error rendering page 2 at rotation 180: render error
typecheck -20