Bug 211381 - Okular crashes when opening PDF file
Summary: Okular crashes when opening 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-10-21 23:13 UTC by Anthony Sokolik
Modified: 2009-10-21 23:59 UTC (History)
0 users

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 Anthony Sokolik 2009-10-21 23:13:18 UTC
Application that crashed: okular
Version of the application: 0.9.1
KDE Version: 4.3.1 (KDE 4.3.1) "release 179"
Qt Version: 4.5.3
Operating System: Linux 2.6.27.29-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
Okular 0.9.1, OpenSUSE 11.1, KDE 4.3.1 "release 179".

When opening a PDF receives a seg fault everytime

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fc99344117b in Poppler::Page::orientation() const () from /usr/lib64/libpoppler-qt4.so.3
#6  0x00007fc9934411bd in Poppler::Page::pageSizeF() const () from /usr/lib64/libpoppler-qt4.so.3
#7  0x00007fc9936a71ae in PDFGenerator::loadPages (this=0x92c060, pagesVector=..., rotation=<value optimized out>, clear=false)
    at /usr/src/debug/kdegraphics-4.3.1/okular/generators/poppler/generator_pdf.cpp:465
#8  0x00007fc9936a87db in PDFGenerator::init (this=0x92c060, pagesVector=..., walletKey=...) at /usr/src/debug/kdegraphics-4.3.1/okular/generators/poppler/generator_pdf.cpp:428
#9  0x00007fc9936aa1b5 in PDFGenerator::loadDocument (this=0x92c060, filePath=..., pagesVector=...) at /usr/src/debug/kdegraphics-4.3.1/okular/generators/poppler/generator_pdf.cpp:330
#10 0x00007fc998294c91 in Okular::DocumentPrivate::openDocumentInternal (this=0x7777f0, offer=..., isstdin=false, docFile=..., filedata=...)
    at /usr/src/debug/kdegraphics-4.3.1/okular/core/document.cpp:644
#11 0x00007fc9982a0eaa in Okular::Document::openDocument (this=0x774790, docFile=..., url=..., _mime=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.1/okular/core/document.cpp:1634
#12 0x00007fc9985554e8 in Part::openFile (this=0x7144e0) at /usr/src/debug/kdegraphics-4.3.1/okular/part.cpp:921
#13 0x00007fc9a2c5ed24 in KParts::ReadOnlyPart::openUrl (this=0x7144e0, url=<value optimized out>) at /usr/src/debug/kdelibs-4.3.1/kparts/part.cpp:557
#14 0x00007fc998549eca in Part::openUrl (this=0x7144e0, _url=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.1/okular/part.cpp:1040
#15 0x0000000000409bdf in Shell::openUrl (this=0x6ae410, url=...) at /usr/src/debug/kdegraphics-4.3.1/okular/shell/shell.cpp:151
#16 0x000000000040b128 in Shell::qt_metacall (this=0x6ae410, _c=InvokeMetaMethod, _id=9, _a=0x7fff4846a7a0) at /usr/src/debug/kdegraphics-4.3.1/build/okular/shell/shell.moc:88
#17 0x00007fc9a0ff6ee2 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#18 0x00007fc9a0ffcc1f in ?? () from /usr/lib64/libQtCore.so.4
#19 0x00007fc9a0ff1d33 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007fc9a0267a4d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fc9a026fcda in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fc9a1e22a8b in KApplication::notify (this=0x7fff4846b280, receiver=0x90c090, event=0x7fff4846aea0) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#23 0x00007fc9a0fe215c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x00007fc9a100f680 in ?? () from /usr/lib64/libQtCore.so.4
#25 0x00007fc9a100b814 in ?? () from /usr/lib64/libQtCore.so.4
#26 0x00007fc99cc420fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fc99cc458cd in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fc99cc45a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fc9a100b56c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007fc9a02fefdf in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007fc9a0fe09e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007fc9a0fe0db4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007fc9a0fe30a4 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#34 0x000000000040826c in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.1/okular/shell/main.cpp:81

Reported using DrKonqi
Comment 1 Albert Astals Cid 2009-10-21 23:59:55 UTC
This is not a Okular problem, if you get a crash each time you open any pdf file it means the okular pdf plugin is not correctly compiled, probably resulting from an update in the poppler library without an update in the okular package.

Please file a bug against the distribution you use saying they need to rebuild okular against the new poppler. As a temporary solution, if the was a recent poppler upgrade you can try downgrading it and see if it works.