Bug 214747 - crash while opening any pdf file
Summary: crash while opening any pdf file
Status: RESOLVED DOWNSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 02:20 UTC by gidantribal
Modified: 2009-11-16 22:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gidantribal 2009-11-16 02:20:57 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
okular crashes while opening any pdf file. from karmic x64.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#4  KServiceType::serviceOffersOffset (this=0x0) at ../../kdecore/services/kservicetype.cpp:230
#5  0x00007f54cdb456f2 in filterMimeTypeOffers (this=<value optimized out>, mimeType=..., genericServiceType=..., constraint=<value optimized out>) at ../../kdecore/services/kmimetypetrader.cpp:113
#6  KMimeTypeTrader::query (this=<value optimized out>, mimeType=..., genericServiceType=..., constraint=<value optimized out>) at ../../kdecore/services/kmimetypetrader.cpp:127
#7  0x00007f54be0db984 in Okular::Document::openDocument (this=0xbd2070, docFile=..., url=<value optimized out>, _mime=<value optimized out>) at ../../okular/core/document.cpp:1590
#8  0x00007f54be39042c in Part::openFile (this=0xbb2370) at ../../okular/part.cpp:921
#9  0x00007f54ce9ae0c7 in KParts::ReadOnlyPart::openUrl (this=0xbb2370, url=<value optimized out>) at ../../kparts/part.cpp:557
#10 0x00007f54be3848ba in Part::openUrl (this=0xbb2370, _url=<value optimized out>) at ../../okular/part.cpp:1040
#11 0x000000000040998a in Shell::openUrl (this=0xb66220, url=...) at ../../../okular/shell/shell.cpp:151
#12 0x000000000040a2ac in Shell::qt_metacall (this=0xb66220, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff603967f0) at ./shell.moc:88
#13 0x00007f54cd4c5ddc in QMetaObject::activate (sender=0xea92e0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#14 0x00007f54cd4cae1f in QSingleShotTimer::timerEvent (this=0xea92e0) at kernel/qtimer.cpp:298
#15 0x00007f54cd4bfd83 in QObject::event (this=0xea92e0, e=0xe1daec) at kernel/qobject.cpp:1075
#16 0x00007f54cc958efc in QApplicationPrivate::notify_helper (this=0x9a5220, receiver=0xea92e0, e=0x7fff60396e00) at kernel/qapplication.cpp:4056
#17 0x00007f54cc9601ce in QApplication::notify (this=0x7fff60397150, receiver=0xea92e0, e=0x7fff60396e00) at kernel/qapplication.cpp:4021
#18 0x00007f54ce0c4ab6 in KApplication::notify (this=0x7fff60397150, receiver=0xea92e0, event=0x7fff60396e00) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007f54cd4b0c2c in QCoreApplication::notifyInternal (this=0x7fff60397150, receiver=0xea92e0, event=0x7fff60396e00) at kernel/qcoreapplication.cpp:610
#20 0x00007f54cd4db862 in QCoreApplication::sendEvent (this=0x9a8ee0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QTimerInfoList::activateTimers (this=0x9a8ee0) at kernel/qeventdispatcher_unix.cpp:572
#22 0x00007f54cd4d925d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#23 0x00007f54c8d75bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007f54c8d79588 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007f54c8d796b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007f54cd4d91a6 in QEventDispatcherGlib::processEvents (this=0x98bd20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#27 0x00007f54cc9ed4be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x00007f54cd4af532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007f54cd4af904 in QEventLoop::exec (this=0x7fff603970a0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007f54cd4b1ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#31 0x000000000040881c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:81

This bug may be a duplicate of or related to bug 190406

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-16 13:37:10 UTC
- Try running "kbuildsycoca4 --noincremental" on Konsole, and after that, try opening some PDF file.
Regards
Comment 2 gidantribal 2009-11-16 19:09:12 UTC
it seems to work after running that program. what's the craic?
Comment 3 Dario Andres 2009-11-16 22:14:33 UTC
After updating the KDE packages, the installer should run that command (which updates a cache of KDE plugins/services), otherwise such errors will appear.
This is likely to be caused by some error in the Ubuntu packages or some error in the installation, unrelated to the KDE code.
Regards