Bug 35925 - Wrong pdf rendering in Okular
Summary: Wrong pdf rendering in Okular
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 05:45 UTC by vitruss
Modified: 2011-07-19 20:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
PDF with lost pages (500.70 KB, application/pdf)
2011-04-03 05:45 UTC, vitruss
Details
Another broken pdf (555.78 KB, application/pdf)
2011-05-18 20:29 UTC, Martin
Details

Description vitruss 2011-04-03 05:45:52 UTC
Created attachment 45179 [details]
PDF with lost pages

poppler 0.16.3 and 0.16.4.
Archlinux current

Okular doen't show pages 3-4 of the paper in attachment

Reproducible: Always

Steps to Reproduce:
1. Open the file.

Actual Results:  
Pages 3 and 4 are empty

Expected Results:  
Pages 3 and 4 should have content

Acroread renders the file right. Okular prints to the console:
"Error: Invalid shared object hint table offset"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Failed to get object num from hint tables for page 6"                   
"Error: Failed parsing page 6 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (7471215) for page 8"                                
"Error: Failed parsing page 8 using hint tables"                                
"Error: Failed to get object num from hint tables for page 6"                   
"Error: Failed parsing page 6 using hint tables"                                
"Error: Invalid object num (7471215) for page 8"                                
"Error: Failed parsing page 8 using hint tables"                                
"Error: Invalid object num (7471215) for page 8"                                
"Error: Failed parsing page 8 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (7471215) for page 8"                                
"Error: Failed parsing page 8 using hint tables"                                
"Error: Invalid object num (7471215) for page 8"                                
"Error: Failed parsing page 8 using hint tables"                                
"Error: Invalid object num (7471215) for page 8"                                
"Error: Failed parsing page 8 using hint tables"                                
okular(19025)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory!   
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 6"                   
"Error: Failed parsing page 6 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Invalid object num (5733152) for page 7"                                
"Error: Failed parsing page 7 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 1"                   
"Error: Failed parsing page 1 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Invalid object num (19062666) for page 5"                               
"Error: Failed parsing page 5 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"                                
"Error: Failed to get object num from hint tables for page 2"                   
"Error: Failed parsing page 2 using hint tables"
Comment 1 Albert Astals Cid 2011-04-03 07:07:14 UTC
It works for me but i found a problem using valgrind that might trigger that effect if you are unlucky enough, shall be fixed in next poppler version, please reopen if it still fails for you.
Comment 2 Martin 2011-05-18 20:29:42 UTC
Created attachment 46881 [details]
Another broken pdf
Comment 3 Martin 2011-05-18 20:34:45 UTC
(In reply to comment #1)
> It works for me but i found a problem using valgrind that might trigger that
> effect if you are unlucky enough, shall be fixed in next poppler version,
> please reopen if it still fails for you.

I have this same issue in Archlinux running poppler 0.16.5 and okular 0.12.2.

I attach one (of many) pdf I have with this problem.

Console prints:
okular(7839)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(7839)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(7839)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(7839)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(7839)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
"Error: Object (7 0) is not a pageDict" 
"Error: Failed parsing page 3 using hint tables" 
okular(7839)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x11de908 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.

It's weird that I can see the first submitted pdf fine in my machine, so maybe this is a different issue.

Needless to say, this pdf opens fine elsewhere (mupdf, xpdf, acroread...)

Thanks in advance
Comment 4 Martin 2011-05-18 20:36:13 UTC
I reopened as suggested.
Comment 5 Albert Astals Cid 2011-05-19 00:42:15 UTC
If the first pdf is fixed and this is not, then yes, it is a different issue and you should have not reopened the bug.
Comment 6 Albert Astals Cid 2011-05-23 15:02:19 UTC
Have a fix for the second issue, as said totally unrelated to the first one, but need to run regression testing before the commit, and it won't happen at least in 3 weeks since i won't get my fast machine (that i need to run the tests) earlier than that.
Comment 7 Martin 2011-07-02 20:32:18 UTC
(In reply to comment #6)
> Have a fix for the second issue, as said totally unrelated to the first one,
> but need to run regression testing before the commit, and it won't happen at
> least in 3 weeks since i won't get my fast machine (that i need to run the
> tests) earlier than that.

Sorry, I forgot to add myself to CC and didn't see your response until now. Thanks a lot for the support, I hope you can get a fix soon. Is there anyway I can help?
Comment 8 Albert Astals Cid 2011-07-19 15:20:48 UTC
Will be fixed in next release
Comment 9 Martin 2011-07-19 20:42:47 UTC
(In reply to comment #8)
> Will be fixed in next release

Thanks a lot


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.