Bug 268772

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

Description Olaf Meltzer 2011-03-17 19:17:58 UTC
Application: okular (0.12)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-1.2-desktop i686
Distribution: "openSUSE 11.4 (i586)"

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

Okular crashes as soon as I try to open any PDF via Menu Open File

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb50e3710 (LWP 20123))]

Thread 2 (Thread 0xb0213b70 (LWP 20130)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5fc003e in poll () from /lib/libc.so.6
#2  0xb57650bb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb5754c46 in ?? () from /lib/libglib-2.0.so.0
#4  0xb5754fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb635e7b7 in QEventDispatcherGlib::processEvents (this=0x83a9d60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb632f2bd in QEventLoop::processEvents (this=0xb02132b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb632f4e9 in QEventLoop::exec (this=0xb02132b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb62307b9 in QThread::exec (this=0x83a7e38) at thread/qthread.cpp:490
#9  0xb630f23d in QInotifyFileSystemWatcherEngine::run (this=0x83a7e38) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb62333aa in QThreadPrivate::start (arg=0x83a7e38) at thread/qthread_unix.cpp:285
#11 0xb5949b05 in start_thread () from /lib/libpthread.so.0
#12 0xb5fcad5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb50e3710 (LWP 20123)):
[KCrash Handler]
#7  0xb2af3120 in PagePainter::scalePixmapOnImage (dest=..., src=0x84452b0, scaledWidth=1097, scaledHeight=1576, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2af3b95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfdffdec, page=0x851fb78, pixID=3, flags=63, scaledWidth=1097, scaledHeight=1576, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2b0613e in PageView::drawDocumentOnPainter (this=0x81bcf18, contentsRect=..., p=0xbfdffdec) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#10 0xb2b069e9 in PageView::paintEvent (this=0x81bcf18, pe=0xbfe004d4) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#11 0xb68ae60a in QWidget::event (this=0x81bcf18, event=0xbfe004d4) at kernel/qwidget.cpp:8346
#12 0xb6cbced5 in QFrame::event (this=0x81bcf18, e=0xbfe004d4) at widgets/qframe.cpp:557
#13 0xb6d4e8a1 in QAbstractScrollArea::viewportEvent (this=0x81bcf18, e=0xbfe004d4) at widgets/qabstractscrollarea.cpp:1043
#14 0xb2b02c4e in PageView::viewportEvent (this=0x81bcf18, e=0xbfe004d4) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2315
#15 0xb6d51196 in viewportEvent (this=0x821c2d8, o=0x81d9d58, e=0xbfe004d4) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x821c2d8, o=0x81d9d58, e=0xbfe004d4) at widgets/qabstractscrollarea_p.h:116
#17 0xb6330176 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8071fd8, receiver=0x81d9d58, event=0xbfe004d4) at kernel/qcoreapplication.cpp:847
#18 0xb68533e4 in QApplicationPrivate::notify_helper (this=0x8071fd8, receiver=0x81d9d58, e=0xbfe004d4) at kernel/qapplication.cpp:4441
#19 0xb685c174 in QApplication::notify (this=0xbfe026c0, receiver=0x81d9d58, e=0xbfe004d4) at kernel/qapplication.cpp:4324
#20 0xb73031f1 in KApplication::notify (this=0xbfe026c0, receiver=0x81d9d58, event=0xbfe004d4) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#21 0xb632ffde in QCoreApplication::notifyInternal (this=0xbfe026c0, receiver=0x81d9d58, event=0xbfe004d4) at kernel/qcoreapplication.cpp:732
#22 0xb68ab2a2 in sendSpontaneousEvent (this=0x81e2530, pdev=0x8309ee4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x81e2530, pdev=0x8309ee4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5433
#24 0xb68abff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8245240, pdev=0x8309ee4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5640
#25 0xb68abebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8245240, pdev=0x8309ee4, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5627
#26 0xb68abebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8245240, pdev=0x8309ee4, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5627
#27 0xb68aaff8 in QWidgetPrivate::drawWidget (this=0x8245240, pdev=0x8309ee4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5486
#28 0xb68abff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x819c7e0, pdev=0x8309ee4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5640
#29 0xb68abebd in QWidgetPrivate::paintSiblingsRecursive (this=0x819c7e0, pdev=0x8309ee4, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5627
#30 0xb68aaff8 in QWidgetPrivate::drawWidget (this=0x819c7e0, pdev=0x8309ee4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5486
#31 0xb68abff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x816f940, pdev=0x8309ee4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5640
#32 0xb68aaff8 in QWidgetPrivate::drawWidget (this=0x816f940, pdev=0x8309ee4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5486
#33 0xb68abff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x815b4d0, pdev=0x8309ee4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5640
#34 0xb68aaff8 in QWidgetPrivate::drawWidget (this=0x815b4d0, pdev=0x8309ee4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5486
#35 0xb68abff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8156440, pdev=0x8309ee4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5640
#36 0xb68abebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8156440, pdev=0x8309ee4, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5627
#37 0xb68aaff8 in QWidgetPrivate::drawWidget (this=0x8156440, pdev=0x8309ee4, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x830b910) at kernel/qwidget.cpp:5486
#38 0xb6a996c8 in QWidgetBackingStore::sync (this=0x830b910) at painting/qbackingstore.cpp:1333
#39 0xb68a003b in QWidgetPrivate::syncBackingStore (this=0x8156440) at kernel/qwidget.cpp:1816
#40 0xb68af0da in QWidget::event (this=0x813fc40, event=0x8520638) at kernel/qwidget.cpp:8493
#41 0xb6cda29c in QMainWindow::event (this=0x813fc40, event=0x8520638) at widgets/qmainwindow.cpp:1478
#42 0xb73c6ae4 in KMainWindow::event (this=0x813fc40, ev=0x8520638) at /usr/src/debug/kdelibs-4.6.0/kdeui/widgets/kmainwindow.cpp:1100
#43 0xb73c6d82 in KXmlGuiWindow::event (this=0x813fc40, ev=0x8520638) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#44 0xb6853414 in QApplicationPrivate::notify_helper (this=0x8071fd8, receiver=0x813fc40, e=0x8520638) at kernel/qapplication.cpp:4445
#45 0xb685c174 in QApplication::notify (this=0xbfe026c0, receiver=0x813fc40, e=0x8520638) at kernel/qapplication.cpp:4324
#46 0xb73031f1 in KApplication::notify (this=0xbfe026c0, receiver=0x813fc40, event=0x8520638) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#47 0xb632ffde in QCoreApplication::notifyInternal (this=0xbfe026c0, receiver=0x813fc40, event=0x8520638) at kernel/qcoreapplication.cpp:732
#48 0xb6333d6c in sendEvent (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.cpp:1373
#50 0xb6333ebc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#51 0xb635e5e4 in sendPostedEvents (s=0x8073b90) at kernel/qcoreapplication.h:220
#52 postEventSourceDispatch (s=0x8073b90) at kernel/qeventdispatcher_glib.cpp:277
#53 0xb5754509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0xb5754d10 in ?? () from /lib/libglib-2.0.so.0
#55 0xb5754fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0xb635e76b in QEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#57 0xb690955a in QGuiEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb632f2bd in QEventLoop::processEvents (this=0xbfe025c4, flags=...) at kernel/qeventloop.cpp:149
#59 0xb632f4e9 in QEventLoop::exec (this=0xbfe025c4, flags=...) at kernel/qeventloop.cpp:201
#60 0xb6333f90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#61 0xb6851104 in QApplication::exec () at kernel/qapplication.cpp:3719
#62 0x0804ef78 in main (argc=0, argv=0x1) at /usr/src/debug/kdegraphics-4.6.0/okular/shell/main.cpp:82

This bug may be a duplicate of or related to bug 262792.

Possible duplicates by query: bug 268142, bug 266217, bug 265644, bug 264667, bug 264168.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-03-17 19:24:01 UTC

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