Bug 22771

Summary: kghostview loads pdf or ps, but displays blank pages
Product: [Unmaintained] kghostview Reporter: Boudewijn Rempt <boud>
Component: generalAssignee: Wilco Greven <greven>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 0.11   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Boudewijn Rempt 2001-03-20 22:38:51 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kghostview
Version:           0.11 (using KDE 2.1.9 >= 20010310)
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
OS:                Linux (i586) release 2.4.0-prerelease
OS/Compiler notes: 

With recent versions of CVS kghostview tries to load a pdf or ps file displays the correct number of pages but each page is blank. Turning on the messages gives:

Unrecoverable error: rangecheck
 in .putdeviceprops


Unexpected interpreter error -15.

Error object: 
.
p
u
t
d
e
v
i
c
e
props

(1488)op_array(592)0x8242974:Execution stack at 0x81dd0e0:
0x81f9414: 0x0f oper --F---e-- 0x0000 0x080869b0 = %interp_exit
0x81f941c: 0x03 file --G-rxe-- 0x0001 0x0824312c
0x81f9424: 0x0e null --F---e-- 0x0000 0x080883f0
0x81f942c: 0x0b int  --F------ 0x01e6 0x00000006 = 6
0x81f9434: 0x0b int  --F------ 0x0007 0x00000004 = 4
0x81f943c: 0x0f oper --F---e-- 0x0000 0x080883d0 = %oparray_pop
0x81f9444: 0x05 mpry --G-rxe-- 0x0002 0x08243ee0
0x81f944c: 0x0e null --F---e-- 0x0000 0x080883f0
0x81f9454: 0x0b int  --F------ 0x0001 0x00000006 = 6
0x81f945c: 0x0b int  --F------ 0x0000 0x00000004 = 4
0x81f9464: 0x0f oper --F---e-- 0x0000 0x080883d0 = %oparray_pop
0x81f946c: 0x05 mpry --G-rxe-- 0x0039 0x08244962
Dictionary stack at 0x81dd1a0:
0x81f9c44: 0x02 dict --Gwrx--- 0x402c 0x081e9c1c
0x81f9c4c: 0x02 dict --Gwrx--- 0xbfff 0x08252ecc
0x81f9c54: 0x02 dict --Lwrx--- 0x4000 0x081f3b28
0x81f9c5c: 0x02 dict --Gwrx--- 0x402c 0x081e9c1c

However running gs on the same file does show the contents. I have not found a single file that will work with kghostview since version 2.1

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Robin Webbe 2002-03-12 16:23:50 UTC
I have also experienced this problem in my current configuration.  The 
PDF viewer that came with Mandrake Linux 8.0's KDE seemed to work. 
Unfortunately Adobe's install of their Linux version of Acrobat Reader 
leaves something to be desired...

kghostview 0.12
KDE 2.2.1
Linus (i686) release 2.4.8-26mdk
gcc ver. 2.96 20000731 (Mandrake-Linux 8.1 2.96-0.62mdk)
Comment 2 Luís Pedro Coelho 2003-04-05 01:21:13 UTC
Given the bug's age and lack of precision instruction to trigger it off (I can certainly 
view postscripts and pdfs), I am closing with WORKSFORME.