Bug 274740 - Okular crashes on Fedora, "Unable to find the Okular component."
Summary: Okular crashes on Fedora, "Unable to find the Okular component."
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-02 11:37 UTC by OsamaK
Modified: 2011-08-26 15:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (2.88 KB, text/plain)
2011-08-24 16:46 UTC, clcharlam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OsamaK 2011-06-02 11:37:50 UTC
Application: okular (0.12.2)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.13-libre.91.fc14.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
It seems that the Okular program comes with the kdegraphics in Fedora, but at least on Fedora 14 Okular crashes on startup after displaying the error message "Unable to find the Okular component."
I'm not sure if this is a Fedora bug (please let me know if it is), but Okular shouldn't crash anyway and only the error message should be displayed.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  d_func (this=0x39, b=false) at kernel/qaction.h:67
#8  QAction::setChecked (this=0x39, b=false) at kernel/qaction.cpp:1065
#9  0x0804f287 in Shell::showEvent (this=0x8f944a8, e=0xbfbc4de0) at /usr/src/debug/kdegraphics-4.6.3/okular/shell/shell.cpp:283
#10 0x03225ef3 in QWidget::event (this=0x8f944a8, event=0xbfbc4de0) at kernel/qwidget.cpp:8466
#11 0x03641b37 in QMainWindow::event (this=0x8f944a8, event=0xbfbc4de0) at widgets/qmainwindow.cpp:1480
#12 0x05b71974 in KMainWindow::event (this=0x8f944a8, ev=0xbfbc4de0) at /usr/src/debug/kdelibs-4.6.3/kdeui/widgets/kmainwindow.cpp:1100
#13 0x05bb3790 in KXmlGuiWindow::event (this=0x8f944a8, ev=0xbfbc4de0) at /usr/src/debug/kdelibs-4.6.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#14 0x031cc54c in QApplicationPrivate::notify_helper (this=0x8f1df18, receiver=0x8f944a8, e=0xbfbc4de0) at kernel/qapplication.cpp:4462
#15 0x031d12ff in QApplication::notify (this=0xbfbc4f8c, receiver=0x8f944a8, e=0xbfbc4de0) at kernel/qapplication.cpp:4427
#16 0x05a90feb in KApplication::notify (this=0xbfbc4f8c, receiver=0x8f944a8, event=0xbfbc4de0) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#17 0x06479f63 in QCoreApplication::notifyInternal (this=0xbfbc4f8c, receiver=0x8f944a8, event=0xbfbc4de0) at kernel/qcoreapplication.cpp:731
#18 0x0322a049 in sendEvent (this=0x8f88a10) at ../../src/corelib/kernel/qcoreapplication.h:215
#19 QWidgetPrivate::show_helper (this=0x8f88a10) at kernel/qwidget.cpp:7439
#20 0x0322a3c3 in QWidget::setVisible (this=0x8f944a8, visible=true) at kernel/qwidget.cpp:7661
#21 0x0804e891 in show (argc=) at /usr/include/QtGui/qwidget.h:487
#22 main (argc=) at /usr/src/debug/kdegraphics-4.6.3/okular/shell/main.cpp:80

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-06-02 21:28:05 UTC
The fact that crashes when the component can not be found is a bug and i just fixed it. The fact that the component could not be found is a problem in fedora packaging and you should complain to them.

Thanks for reporting the issue.
Comment 2 clcharlam 2011-08-24 16:46:00 UTC
Created attachment 63121 [details]
New crash information added by DrKonqi

okular (0.12.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

I'm running Ubuntu 11.04, and Okular crashes everytime I try to open it. It worked when I first downloaded it, but after restarting my computer one time, it stopped working, with the error message "Unable to find Okular component."

-- Backtrace (Reduced):
#7  d_func (this=0x0, b=false) at kernel/qaction.h:67
#8  QAction::setChecked (this=0x0, b=false) at kernel/qaction.cpp:1065
#9  0x0804f1d6 in Shell::showEvent (this=0x8666098, e=0xbfaad650) at ../../../okular/shell/shell.cpp:283
#10 0x01168262 in QWidget::event (this=0x8666098, event=0xbfaad650) at kernel/qwidget.cpp:8466
#11 0x01579527 in QMainWindow::event (this=0x8666098, event=0xbfaad650) at widgets/qmainwindow.cpp:1480
Comment 3 Davor Cubranic 2011-08-25 14:38:42 UTC
Charles, I run Okular on Kubuntu 11.04 and never saw this problem. (Are you on Ubuntu or Kubuntu, BTW? Gnome or KDE?) 

Did you install it from the package manager or by hand?

Read the comment preceding yours: the fact that an Okular  component is missing is your distribution's problem, there is nothing Okular devs can do. File a bug at launchpad.net about this to let (K)ubuntu guys know. You can also try uninstalling Okular and installing it again.
Comment 4 clcharlam 2011-08-26 00:58:42 UTC
I'm running Ubuntu 11.04 with Gnome. I installed it from Synaptic, and I realized that it requires at least kdegraphics to run, so I installed that too. But uninstalled both (okular and kdegraphics) and reinstalled a couple times, but to no avail.
Comment 5 Davor Cubranic 2011-08-26 15:43:10 UTC
Charles, you should definitely file your issue with Ubuntu on Launchpad, I don't think there are any Ubuntu devs here to help you.

And you didn't need to add OsamaK to this bug's CC list, he would already get emails as the reporter.