Bug 260833

Summary: Okular crashes on pdf open
Product: [Applications] okular Reporter: Dmitrius <ldsupport>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.11.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dmitrius 2010-12-20 22:42:13 UTC
Application: okular (0.11.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I open any pdf file and okular crashes. Issue started occuring few days ago.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb0570b70 (LWP 11095)):
#0  postEventSourcePrepare (s=0x9186d28, timeout=0xb05700bc) at kernel/qeventdispatcher_glib.cpp:261
#1  0xb56bfe6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0xb56c0279 in ?? () from /lib/libglib-2.0.so.0
#3  0xb56c0848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb628c59f in QEventDispatcherGlib::processEvents (this=0x9103ea8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0xb625c609 in QEventLoop::processEvents (this=0xb0570290, flags=) at kernel/qeventloop.cpp:149
#6  0xb625ca8a in QEventLoop::exec (this=0xb0570290, flags=...) at kernel/qeventloop.cpp:201
#7  0xb6158b7e in QThread::exec (this=0x9112578) at thread/qthread.cpp:490
#8  0xb623b35b in QInotifyFileSystemWatcherEngine::run (this=0x9112578) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb615bdf9 in QThreadPrivate::start (arg=0x9112578) at thread/qthread_unix.cpp:266
#10 0xb5adfcc9 in start_thread () from /lib/libpthread.so.0
#11 0xb5f0669e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb52ef710 (LWP 11087)):
[KCrash Handler]
#7  0xb2e613a7 in PagePainter::scalePixmapOnImage (dest=..., src=0x91726c0, scaledWidth=1256, scaledHeight=1625, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at ../../okular/ui/pagepainter.cpp:755
#8  0xb2e61a24 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbf8689cc, page=0x9163788, pixID=3, flags=<value optimized out>, scaledWidth=1256, scaledHeight=1625, limits=..., crop=...) at ../../okular/ui/pagepainter.cpp:229
#9  0xb2e7508f in PageView::drawDocumentOnPainter (this=0x9030630, contentsRect=..., p=0xbf8689cc) at ../../okular/ui/pageview.cpp:2446
#10 0xb2e7599d in PageView::paintEvent (this=0x9030630, pe=0xbf8690d4) at ../../okular/ui/pageview.cpp:1212
#11 0xb67a1cc6 in QWidget::event (this=0x9030630, event=0xbf8690d4) at kernel/qwidget.cpp:8333
#12 0xb6bc3763 in QFrame::event (this=0x9030630, e=0xbf8690d4) at widgets/qframe.cpp:557
#13 0xb6c60a82 in QAbstractScrollArea::viewportEvent (this=0x1087fe, e=0x44) at widgets/qabstractscrollarea.cpp:1043
#14 0xb2e78b40 in PageView::viewportEvent (this=0x9030630, e=0xbf8690d4) at ../../okular/ui/pageview.cpp:2292
#15 0xb6c634d5 in viewportEvent (this=0x903ed88, o=0x9034f08, e=0xbf8690d4) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x903ed88, o=0x9034f08, e=0xbf8690d4) at widgets/qabstractscrollarea_p.h:116
#17 0xb625d29a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d26e00, receiver=0x9034f08, event=0xbf8690d4) at kernel/qcoreapplication.cpp:847
#18 0xb6743fb9 in QApplicationPrivate::notify_helper (this=0x8d26e00, receiver=0x9034f08, e=0xbf8690d4) at kernel/qapplication.cpp:4392
#19 0xb674a0e9 in QApplication::notify (this=0xbf86b3b0, receiver=0x9034f08, e=0xbf8690d4) at kernel/qapplication.cpp:4361
#20 0xb72b968a in KApplication::notify (this=0xbf86b3b0, receiver=0x9034f08, event=0xbf8690d4) at ../../kdeui/kernel/kapplication.cpp:310
#21 0xb625db3b in QCoreApplication::notifyInternal (this=0xbf86b3b0, receiver=0x9034f08, event=0xbf8690d4) at kernel/qcoreapplication.cpp:732
#22 0xb67a8ee6 in sendSpontaneousEvent (this=0x90360b8, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x90360b8, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5420
#24 0xb67a9cff in QWidgetPrivate::paintSiblingsRecursive (this=0x9034cb0, pdev=0x90cd4fc, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5627
#25 0xb67a9b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x9034cb0, pdev=0x90cd4fc, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5614
#26 0xb67a9b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x9034cb0, pdev=0x90cd4fc, siblings=..., index=52, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5614
#27 0xb67a8c35 in QWidgetPrivate::drawWidget (this=0x9034cb0, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5473
#28 0xb67a9cff in QWidgetPrivate::paintSiblingsRecursive (this=0x9023128, pdev=0x90cd4fc, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5627
#29 0xb67a9b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x9023128, pdev=0x90cd4fc, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5614
#30 0xb67a8c35 in QWidgetPrivate::drawWidget (this=0x9023128, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5473
#31 0xb67a9cff in QWidgetPrivate::paintSiblingsRecursive (this=0x8e33a90, pdev=0x90cd4fc, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5627
#32 0xb67a9b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x8e33a90, pdev=0x90cd4fc, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5614
#33 0xb67a9b38 in QWidgetPrivate::paintSiblingsRecursive (this=0x8e33a90, pdev=0x90cd4fc, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5614
#34 0xb67a8c35 in QWidgetPrivate::drawWidget (this=0x8e33a90, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5473
#35 0xb67a9cff in QWidgetPrivate::paintSiblingsRecursive (this=0x8e184f0, pdev=0x90cd4fc, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5627
#36 0xb67a8c35 in QWidgetPrivate::drawWidget (this=0x8e184f0, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5473
#37 0xb67a9cff in QWidgetPrivate::paintSiblingsRecursive (this=0x8e04e58, pdev=0x90cd4fc, siblings=..., index=22, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5627
#38 0xb67a8c35 in QWidgetPrivate::drawWidget (this=0x8e04e58, pdev=0x90cd4fc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90c9a58) at kernel/qwidget.cpp:5473
#39 0xb6999c74 in QWidgetBackingStore::sync (this=0x90c9a58) at painting/qbackingstore.cpp:1328
#40 0xb679b2b3 in QWidgetPrivate::syncBackingStore (this=0x8e04e58) at kernel/qwidget.cpp:1805
#41 0xb67a2466 in QWidget::event (this=0x8dfadc0, event=0x9163e90) at kernel/qwidget.cpp:8480
#42 0xb6be2917 in QMainWindow::event (this=0x8dfadc0, event=0x9163e90) at widgets/qmainwindow.cpp:1417
#43 0xb73af8a4 in KMainWindow::event (this=0x8dfadc0, ev=0x9163e90) at ../../kdeui/widgets/kmainwindow.cpp:1100
#44 0xb73f814f in KXmlGuiWindow::event (this=0x8dfadc0, ev=0x9163e90) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#45 0xb6743fdc in QApplicationPrivate::notify_helper (this=0x8d26e00, receiver=0x8dfadc0, e=0x9163e90) at kernel/qapplication.cpp:4396
#46 0xb674a0e9 in QApplication::notify (this=0xbf86b3b0, receiver=0x8dfadc0, e=0x9163e90) at kernel/qapplication.cpp:4361
#47 0xb72b968a in KApplication::notify (this=0xbf86b3b0, receiver=0x8dfadc0, event=0x9163e90) at ../../kdeui/kernel/kapplication.cpp:310
#48 0xb625db3b in QCoreApplication::notifyInternal (this=0xbf86b3b0, receiver=0x8dfadc0, event=0x9163e90) at kernel/qcoreapplication.cpp:732
#49 0xb6260d8b in sendEvent (receiver=0x0, event_type=0, data=0x8d11e98) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d11e98) at kernel/qcoreapplication.cpp:1373
#51 0xb6260f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#52 0xb628ca74 in sendPostedEvents (s=0x8d29178) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#53 postEventSourceDispatch (s=0x8d29178) at kernel/qeventdispatcher_glib.cpp:277
#54 0xb56bc855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0xb56c0668 in ?? () from /lib/libglib-2.0.so.0
#56 0xb56c0848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0xb628c565 in QEventDispatcherGlib::processEvents (this=0x8d11b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#58 0xb6805be5 in QGuiEventDispatcherGlib::processEvents (this=0x8d11b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb625c609 in QEventLoop::processEvents (this=0xbf86b2b4, flags=) at kernel/qeventloop.cpp:149
#60 0xb625ca8a in QEventLoop::exec (this=0xbf86b2b4, flags=...) at kernel/qeventloop.cpp:201
#61 0xb626100f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#62 0xb6742e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#63 0x0804e6d9 in main (argc=6, argv=0xbf86b5a4) at ../../../okular/shell/main.cpp:82

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

Possible duplicates by query: bug 260651, bug 259525, bug 259339, bug 258932, bug 258487.

Reported using DrKonqi
Comment 1 Pino Toscano 2010-12-20 23:57:45 UTC

*** This bug has been marked as a duplicate of bug 215080 ***
Comment 2 Pino Toscano 2010-12-20 23:58:29 UTC
Oops, wrong duplicate, sorry.

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