Bug 279758

Summary: Okular crashes when opening a .pdf
Product: [Applications] okular Reporter: fcarbajal72
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 fcarbajal72 2011-08-09 18:20:32 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.6-0.7-default i686
Distribution: "openSUSE 11.4 (i586)"

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

Opening a .pdf file
Crashes everytime
Read other bugs and this has 0x0 for something trying to paint.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb2ad9120 in PagePainter::scalePixmapOnImage (dest=..., src=0x832bed0, scaledWidth=499, scaledHeight=704, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2ad9b95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfd2c6ac, page=0x8321948, pixID=3, flags=63, scaledWidth=499, scaledHeight=704, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2aec13e in PageView::drawDocumentOnPainter (this=0x8189958, contentsRect=..., p=0xbfd2c6ac) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#10 0xb2aec9e9 in PageView::paintEvent (this=0x8189958, pe=0xbfd2cd94) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#11 0xb676460a in QWidget::event (this=0x8189958, event=0xbfd2cd94) at kernel/qwidget.cpp:8346
#12 0xb6b72ed5 in QFrame::event (this=0x8189958, e=0xbfd2cd94) at widgets/qframe.cpp:557
#13 0xb6c048a1 in QAbstractScrollArea::viewportEvent (this=0x8189958, e=0xbfd2cd94) at widgets/qabstractscrollarea.cpp:1043
#14 0xb2ae8c4e in PageView::viewportEvent (this=0x8189958, e=0xbfd2cd94) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2315
#15 0xb6c07196 in viewportEvent (this=0x8181970, o=0x81b82c0, e=0xbfd2cd94) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x8181970, o=0x81b82c0, e=0xbfd2cd94) at widgets/qabstractscrollarea_p.h:116
#17 0xb61e6176 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80722e8, receiver=0x81b82c0, event=0xbfd2cd94) at kernel/qcoreapplication.cpp:847
#18 0xb67093e4 in QApplicationPrivate::notify_helper (this=0x80722e8, receiver=0x81b82c0, e=0xbfd2cd94) at kernel/qapplication.cpp:4441
#19 0xb6712174 in QApplication::notify (this=0xbfd2f260, receiver=0x81b82c0, e=0xbfd2cd94) at kernel/qapplication.cpp:4324
#20 0xb71b91f1 in KApplication::notify (this=0xbfd2f260, receiver=0x81b82c0, event=0xbfd2cd94) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#21 0xb61e5fde in QCoreApplication::notifyInternal (this=0xbfd2f260, receiver=0x81b82c0, event=0xbfd2cd94) at kernel/qcoreapplication.cpp:732
#22 0xb67612a2 in sendSpontaneousEvent (this=0x81772a8, pdev=0x8273924, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x81772a8, pdev=0x8273924, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5433
#24 0xb6761ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8176e60, pdev=0x8273924, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5640
#25 0xb6761ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8176e60, pdev=0x8273924, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5627
#26 0xb6761ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8176e60, pdev=0x8273924, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5627
#27 0xb6760ff8 in QWidgetPrivate::drawWidget (this=0x8176e60, pdev=0x8273924, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5486
#28 0xb6761ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x818bc48, pdev=0x8273924, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5640
#29 0xb6761ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x818bc48, pdev=0x8273924, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5627
#30 0xb6760ff8 in QWidgetPrivate::drawWidget (this=0x818bc48, pdev=0x8273924, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5486
#31 0xb6761ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x814aea8, pdev=0x8273924, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5640
#32 0xb6761ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x814aea8, pdev=0x8273924, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5627
#33 0xb6761ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x814aea8, pdev=0x8273924, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5627
#34 0xb6760ff8 in QWidgetPrivate::drawWidget (this=0x814aea8, pdev=0x8273924, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5486
#35 0xb6761ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x813a4c8, pdev=0x8273924, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5640
#36 0xb6760ff8 in QWidgetPrivate::drawWidget (this=0x813a4c8, pdev=0x8273924, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5486
#37 0xb6761ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x80cdd08, pdev=0x8273924, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5640
#38 0xb6761ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x80cdd08, pdev=0x8273924, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5627
#39 0xb6760ff8 in QWidgetPrivate::drawWidget (this=0x80cdd08, pdev=0x8273924, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8272548) at kernel/qwidget.cpp:5486
#40 0xb694f6c8 in QWidgetBackingStore::sync (this=0x8272548) at painting/qbackingstore.cpp:1333
#41 0xb675603b in QWidgetPrivate::syncBackingStore (this=0x80cdd08) at kernel/qwidget.cpp:1816
#42 0xb67650da in QWidget::event (this=0x80e1340, event=0x833f4b8) at kernel/qwidget.cpp:8493
#43 0xb6b9029c in QMainWindow::event (this=0x80e1340, event=0x833f4b8) at widgets/qmainwindow.cpp:1478
#44 0xb727cae4 in KMainWindow::event (this=0x80e1340, ev=0x833f4b8) at /usr/src/debug/kdelibs-4.6.0/kdeui/widgets/kmainwindow.cpp:1100
#45 0xb727cd82 in KXmlGuiWindow::event (this=0x80e1340, ev=0x833f4b8) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#46 0xb6709414 in QApplicationPrivate::notify_helper (this=0x80722e8, receiver=0x80e1340, e=0x833f4b8) at kernel/qapplication.cpp:4445
#47 0xb6712174 in QApplication::notify (this=0xbfd2f260, receiver=0x80e1340, e=0x833f4b8) at kernel/qapplication.cpp:4324
#48 0xb71b91f1 in KApplication::notify (this=0xbfd2f260, receiver=0x80e1340, event=0x833f4b8) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#49 0xb61e5fde in QCoreApplication::notifyInternal (this=0xbfd2f260, receiver=0x80e1340, event=0x833f4b8) at kernel/qcoreapplication.cpp:732
#50 0xb61e9d6c in sendEvent (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.cpp:1373
#52 0xb61e9ebc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#53 0xb62145e4 in sendPostedEvents (s=0x8074700) at kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x8074700) at kernel/qeventdispatcher_glib.cpp:277
#55 0xb560a509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0xb560ad10 in ?? () from /lib/libglib-2.0.so.0
#57 0xb560afce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0xb621476b in QEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0xb67bf55a in QGuiEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0xb61e52bd in QEventLoop::processEvents (this=0xbfd2f164, flags=...) at kernel/qeventloop.cpp:149
#61 0xb61e54e9 in QEventLoop::exec (this=0xbfd2f164, flags=...) at kernel/qeventloop.cpp:201
#62 0xb61e9f90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#63 0xb6707104 in QApplication::exec () at kernel/qapplication.cpp:3719
#64 0x0804ef78 in main (argc=0, argv=0x1) at /usr/src/debug/kdegraphics-4.6.0/okular/shell/main.cpp:82

Possible duplicates by query: bug 279314, bug 277842, bug 277335, bug 276197, bug 271548.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-08-09 18:39:09 UTC
Update to KDE 4.6.2.

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