Bug 804614

Summary: okular exits with an error message
Product: [Fedora] Fedora Reporter: David Levner <davidlevner>
Component: okularAssignee: Than Ngo <than>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: jreznik, kevin, ltinkl, rdieter, rnovacek, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-19 18:55:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PDF file that caused the okular errors on my computer none

Description David Levner 2012-03-19 12:44:58 UTC
Created attachment 571105 [details]
PDF file that caused the okular errors on my computer

Description of problem: When okular is closed, it says writes this to STDERR:

okular(17251)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x1f07b98 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.

Version-Release number of selected component (if applicable):

Okular 0.13.3
KDE Development Platform 4.7.4

How reproducible:

Every time

Steps to Reproduce:

1. Start okular from a shell (my command was 'okular congee-village-menu.pdf 2>err')

2. Click the close icon (X) in the upper right corner of the okular window.
  
Actual results:

An error file (as a result of piping STDERR to a file) with error messages.

Expected results:

An empty error file.


Additional info: If I close okular by selecting 'Quit' from the 'File' menu, I get a longer error file such as this:

Plugin paths:  ("/usr/lib64/qt4/plugins", "/home/levner/.kde/lib64/", "/usr/lib64/") 
Trying to load Attica plugin:  "/usr/lib64/qt4/plugins/attica_kde.so" 
Trying to load Attica plugin:  "/home/levner/.kde/lib64//attica_kde.so" 
Trying to load Attica plugin:  "/usr/lib64//attica_kde.so" 
Using Attica with KDE support 
Plugin paths:  ("/usr/lib64/qt4/plugins", "/home/levner/.kde/lib64/", "/usr/lib64/") 
Trying to load Attica plugin:  "/usr/lib64/qt4/plugins/attica_kde.so" 
Trying to load Attica plugin:  "/home/levner/.kde/lib64//attica_kde.so" 
Trying to load Attica plugin:  "/usr/lib64//attica_kde.so" 
Using Attica with KDE support 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
okular(17265)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x803b68 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.

I have added the pdf file that causes the problem as an attachment. It is a menu from a Chinese restaurant in NY City that I highly recommend if you visit here!

Comment 1 Kevin Kofler 2012-03-19 18:37:48 UTC
Works for me with:
kdegraphics-4.6.5-3.fc15.i686
openjpeg-libs-1.4-12.fc15.i686

This is probably a duplicate of bug #796500, which was fixed in openjpeg-libs-1.4-12.

Do you have the latest openjpeg update? (I suspect not, given that your Okular is also out of date, 4.8.1 was pushed as a stable update for Fedora 16 yesterday.) Please retest with openjpeg-libs-1.4-12.fc16.

https://admin.fedoraproject.org/updates/FEDORA-2012-3026

Comment 2 Rex Dieter 2012-03-19 18:48:06 UTC
Likely just a dup of bug #658313 which has been there for ages, upstream bug http://bugs.kde.org/261538

Comment 3 Kevin Kofler 2012-03-19 18:55:46 UTC
Oh right, that looks more like it. The openjpeg crash would make Okular exit immediately, without printing any warnings.

*** This bug has been marked as a duplicate of bug 658313 ***