Bug 264168

Summary: Okular crash when opening pdf
Product: [Applications] okular Reporter: Achim Schaefer <achim_schaefer>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.10.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Achim Schaefer 2011-01-24 15:02:01 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-trunk-686 i686
Distribution: Debian GNU/Linux 6.0 (squeeze)

-- Information about the crash:
I only installed kile from debian squeeze to edit a tex file. Using lxde as a desktop.
everything works file iuntil I try to view the resulting pdf.
okular opens and starts to display the pages, but crashes before displaying the content of the pdf.
acroread displays the file without problems.

The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0xb3cd719a in PagePainter::scalePixmapOnImage (dest=..., src=0x99c8dc8, scaledWidth=991, scaledHeight=1401, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at ../../okular/ui/pagepainter.cpp:755
#7  0xb3cd7808 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfc4e75c, page=0x9aa8978, pixID=3, flags=<value optimized out>, scaledWidth=991, scaledHeight=1401, limits=..., crop=...) at ../../okular/ui/pagepainter.cpp:229
#8  0xb3cea6af in PageView::drawDocumentOnPainter (this=0x99bab18, contentsRect=..., p=0xbfc4e75c) at ../../okular/ui/pageview.cpp:2395
#9  0xb3ceafc5 in PageView::paintEvent (this=0x99bab18, pe=0xbfc4ee64) at ../../okular/ui/pageview.cpp:1206
#10 0xb6243cc6 in QWidget::event (this=0x99bab18, event=0xbfc4ee64) at kernel/qwidget.cpp:8346
#11 0xb6664f53 in QFrame::event (this=0x99bab18, e=0xbfc4ee64) at widgets/qframe.cpp:557
#12 0xb67017b2 in QAbstractScrollArea::viewportEvent (this=0xaf7fe, e=0x8d) at widgets/qabstractscrollarea.cpp:1043
#13 0xb3cee070 in PageView::viewportEvent (this=0x99bab18, e=0xbfc4ee64) at ../../okular/ui/pageview.cpp:2241
#14 0xb67041f5 in viewportEvent (this=0x99c7930, o=0x9950a70, e=0xbfc4ee64) at widgets/qabstractscrollarea_p.h:100
#15 QAbstractScrollAreaFilter::eventFilter (this=0x99c7930, o=0x9950a70, e=0xbfc4ee64) at widgets/qabstractscrollarea_p.h:116
#16 0xb6ce1eda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9887ac8, receiver=0x9950a70, event=0xbfc4ee64) at kernel/qcoreapplication.cpp:847
#17 0xb61e5c49 in QApplicationPrivate::notify_helper (this=0x9887ac8, receiver=0x9950a70, e=0xbfc4ee64) at kernel/qapplication.cpp:4441
#18 0xb61eb769 in QApplication::notify (this=0xbfc511e0, receiver=0x9950a70, e=0xbfc4ee64) at kernel/qapplication.cpp:4410
#19 0xb72c9bfa in KApplication::notify (this=0xbfc511e0, receiver=0x9950a70, event=0xbfc4ee64) at ../../kdeui/kernel/kapplication.cpp:302
#20 0xb6ce277b in QCoreApplication::notifyInternal (this=0xbfc511e0, receiver=0x9950a70, event=0xbfc4ee64) at kernel/qcoreapplication.cpp:732
#21 0xb624aef6 in sendSpontaneousEvent (this=0x99c0698, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 QWidgetPrivate::drawWidget (this=0x99c0698, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5433
#23 0xb624bd35 in QWidgetPrivate::paintSiblingsRecursive (this=0x9950818, pdev=0x9a20e54, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5640
#24 0xb624bb6e in QWidgetPrivate::paintSiblingsRecursive (this=0x9950818, pdev=0x9a20e54, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5627
#25 0xb624bb6e in QWidgetPrivate::paintSiblingsRecursive (this=0x9950818, pdev=0x9a20e54, siblings=..., index=52, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5627
#26 0xb624ac45 in QWidgetPrivate::drawWidget (this=0x9950818, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5486
#27 0xb624bd35 in QWidgetPrivate::paintSiblingsRecursive (this=0x99af550, pdev=0x9a20e54, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5640
#28 0xb624bb6e in QWidgetPrivate::paintSiblingsRecursive (this=0x99af550, pdev=0x9a20e54, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5627
#29 0xb624ac45 in QWidgetPrivate::drawWidget (this=0x99af550, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5486
#30 0xb624bd35 in QWidgetPrivate::paintSiblingsRecursive (this=0x98fc338, pdev=0x9a20e54, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5640
#31 0xb624bb6e in QWidgetPrivate::paintSiblingsRecursive (this=0x98fc338, pdev=0x9a20e54, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5627
#32 0xb624bb6e in QWidgetPrivate::paintSiblingsRecursive (this=0x98fc338, pdev=0x9a20e54, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5627
#33 0xb624ac45 in QWidgetPrivate::drawWidget (this=0x98fc338, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5486
#34 0xb624bd35 in QWidgetPrivate::paintSiblingsRecursive (this=0x98ec098, pdev=0x9a20e54, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5640
#35 0xb624ac45 in QWidgetPrivate::drawWidget (this=0x98ec098, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5486
#36 0xb624bd35 in QWidgetPrivate::paintSiblingsRecursive (this=0x98dc648, pdev=0x9a20e54, siblings=..., index=22, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5640
#37 0xb624ac45 in QWidgetPrivate::drawWidget (this=0x98dc648, pdev=0x9a20e54, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9a1fb28) at kernel/qwidget.cpp:5486
#38 0xb6440364 in QWidgetBackingStore::sync (this=0x9a1fb28) at painting/qbackingstore.cpp:1333
#39 0xb623d283 in QWidgetPrivate::syncBackingStore (this=0x98dc648) at kernel/qwidget.cpp:1816
#40 0xb624445e in QWidget::event (this=0x98dc0b0, event=0x994fa38) at kernel/qwidget.cpp:8493
#41 0xb6684097 in QMainWindow::event (this=0x98dc0b0, event=0x994fa38) at widgets/qmainwindow.cpp:1478
#42 0xb73bad04 in KMainWindow::event (this=0x98dc0b0, ev=0x994fa38) at ../../kdeui/widgets/kmainwindow.cpp:1103
#43 0xb7402acf in KXmlGuiWindow::event (this=0x98dc0b0, ev=0x994fa38) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#44 0xb61e5c6c in QApplicationPrivate::notify_helper (this=0x9887ac8, receiver=0x98dc0b0, e=0x994fa38) at kernel/qapplication.cpp:4445
#45 0xb61eb769 in QApplication::notify (this=0xbfc511e0, receiver=0x98dc0b0, e=0x994fa38) at kernel/qapplication.cpp:4410
#46 0xb72c9bfa in KApplication::notify (this=0xbfc511e0, receiver=0x98dc0b0, event=0x994fa38) at ../../kdeui/kernel/kapplication.cpp:302
#47 0xb6ce277b in QCoreApplication::notifyInternal (this=0xbfc511e0, receiver=0x98dc0b0, event=0x994fa38) at kernel/qcoreapplication.cpp:732
#48 0xb6ce597c in sendEvent (receiver=0x0, event_type=0, data=0x98738b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98738b8) at kernel/qcoreapplication.cpp:1373
#50 0xb6ce5add in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#51 0xb6d11294 in sendPostedEvents (s=0x9889f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#52 postEventSourceDispatch (s=0x9889f10) at kernel/qeventdispatcher_glib.cpp:277
#53 0xb58a0305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0xb58a3fe8 in ?? () from /lib/libglib-2.0.so.0
#55 0xb58a41c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0xb6d10d85 in QEventDispatcherGlib::processEvents (this=0x9873368, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#57 0xb62a7305 in QGuiEventDispatcherGlib::processEvents (this=0x9873368, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb6ce1229 in QEventLoop::processEvents (this=0xbfc510e4, flags=) at kernel/qeventloop.cpp:149
#59 0xb6ce16aa in QEventLoop::exec (this=0xbfc510e4, flags=...) at kernel/qeventloop.cpp:201
#60 0xb6ce5b9f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#61 0xb61e4c27 in QApplication::exec () at kernel/qapplication.cpp:3719
#62 0x0804eee9 in main (argc=2, argv=0xbfc513d4) at ../../../okular/shell/main.cpp:82

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

Possible duplicates by query: bug 263166, bug 262792, bug 260902, bug 260833, bug 260651.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-01-24 15:06:17 UTC

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