Bug 253343

Summary: Okular crashes when opening any PDF file
Product: [Applications] okular Reporter: planetzappa <robert.graf>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.11.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description planetzappa 2010-10-05 23:22:36 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Trying to open a PDF file. This happens since my recent update to KDE 4.5, any PDF file i try results in the crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f058fde84f7 in PagePainter::scalePixmapOnImage (dest=..., src=0xa50b60, scaledWidth=<value optimized out>, scaledHeight=1469, cropRect=<value optimized out>, format=<value optimized out>)
    at /usr/src/debug/kdegraphics-4.5.2/okular/ui/pagepainter.cpp:755
#7  0x00007f058fde8f10 in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fff60cad870, page=0x9d4440, pixID=<value optimized out>, flags=<value optimized out>, scaledWidth=1039, scaledHeight=
    1469, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.5.2/okular/ui/pagepainter.cpp:229
#8  0x00007f058fdf949b in PageView::drawDocumentOnPainter (this=0x8d5f20, contentsRect=..., p=0x7fff60cad870) at /usr/src/debug/kdegraphics-4.5.2/okular/ui/pageview.cpp:2446
#9  0x00007f058fdf9c71 in PageView::paintEvent (this=0x8d5f20, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.2/okular/ui/pageview.cpp:1212
#10 0x00007f059de9662a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00007f059e23e546 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007f058fdf6a3d in PageView::viewportEvent (this=0x8d5f20, e=0x7fff60cae190) at /usr/src/debug/kdegraphics-4.5.2/okular/ui/pageview.cpp:2292
#13 0x00007f059d4b0b67 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#14 0x00007f059de44f01 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f059de4d35a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f059ea9c826 in KApplication::notify (this=0x7fff60cb09b0, receiver=0x8af980, event=0x7fff60cae190) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#17 0x00007f059d4b09dc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#18 0x00007f059de934f2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f059de940bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#20 0x00007f059de93f7c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#21 0x00007f059de9325a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f059de940bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#23 0x00007f059de9325a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f059de940bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#25 0x00007f059de9325a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f059de940bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#27 0x00007f059de9325a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f059de940bf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#29 0x00007f059de9325a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f059e054051 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f059de881e0 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#32 0x00007f059de96b32 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f059e257f7b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f059eb43693 in KXmlGuiWindow::event (this=0x788430, ev=0x89de80) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiwindow.cpp:130
#35 0x00007f059de44f34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f059de4d35a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007f059ea9c826 in KApplication::notify (this=0x7fff60cb09b0, receiver=0x788430, event=0x89de80) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#38 0x00007f059d4b09dc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#39 0x00007f059d4b4185 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#40 0x00007f059d4db463 in ?? () from /usr/lib64/libQtCore.so.4
#41 0x00007f0599c09a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f0599c0a270 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f0599c0a510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f059d4db5ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#45 0x00007f059dee8eee in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f059d4afe12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#47 0x00007f059d4b0025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#48 0x00007f059d4b443b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#49 0x0000000000408909 in main (argc=6, argv=0x7fff60cb0f98) at /usr/src/debug/kdegraphics-4.5.2/okular/shell/main.cpp:82

Possible duplicates by query: bug 252559, bug 251564, bug 230282.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-10-05 23:27:48 UTC
Please tell opensuse to rebuild okular

*** This bug has been marked as a duplicate of bug 252559 ***
Comment 2 Pino Toscano 2010-12-09 18:38:59 UTC

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