Bug 279314

Summary: Okular crashes when opening any pdf
Product: [Applications] okular Reporter: François <fractionsolaire>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde.av330it
Priority: NOR    
Version: 0.12   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description François 2011-08-03 18:25:11 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 : evrytime  I'm opening a pdf file, Okular chrashes. No other observation.
" Segmentation fault" means bad conception.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb2b1e120 in PagePainter::scalePixmapOnImage (dest=..., src=0x8261750, scaledWidth=491, scaledHeight=694, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2b1eb95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbff4492c, page=0x830d710, pixID=3, flags=63, scaledWidth=491, scaledHeight=694, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2b3113e in PageView::drawDocumentOnPainter (this=0x81657a8, contentsRect=..., p=0xbff4492c) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#10 0xb2b319e9 in PageView::paintEvent (this=0x81657a8, pe=0xbff45014) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#11 0xb685b60a in QWidget::event (this=0x81657a8, event=0xbff45014) at kernel/qwidget.cpp:8346
#12 0xb6c69ed5 in QFrame::event (this=0x81657a8, e=0xbff45014) at widgets/qframe.cpp:557
#13 0xb6cfb8a1 in QAbstractScrollArea::viewportEvent (this=0x81657a8, e=0xbff45014) at widgets/qabstractscrollarea.cpp:1043
#14 0xb2b2dc4e in PageView::viewportEvent (this=0x81657a8, e=0xbff45014) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2315
#15 0xb6cfe196 in viewportEvent (this=0x8154020, o=0x8141c28, e=0xbff45014) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x8154020, o=0x8141c28, e=0xbff45014) at widgets/qabstractscrollarea_p.h:116
#17 0xb62dd176 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80722c0, receiver=0x8141c28, event=0xbff45014) at kernel/qcoreapplication.cpp:847
#18 0xb68003e4 in QApplicationPrivate::notify_helper (this=0x80722c0, receiver=0x8141c28, e=0xbff45014) at kernel/qapplication.cpp:4441
#19 0xb6809174 in QApplication::notify (this=0xbff474e0, receiver=0x8141c28, e=0xbff45014) at kernel/qapplication.cpp:4324
#20 0xb72b01f1 in KApplication::notify (this=0xbff474e0, receiver=0x8141c28, event=0xbff45014) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#21 0xb62dcfde in QCoreApplication::notifyInternal (this=0xbff474e0, receiver=0x8141c28, event=0xbff45014) at kernel/qcoreapplication.cpp:732
#22 0xb68582a2 in sendSpontaneousEvent (this=0x8153dc8, pdev=0x82646c4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x8153dc8, pdev=0x82646c4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5433
#24 0xb6858ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8152ca8, pdev=0x82646c4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5640
#25 0xb6858ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8152ca8, pdev=0x82646c4, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5627
#26 0xb6858ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8152ca8, pdev=0x82646c4, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5627
#27 0xb6857ff8 in QWidgetPrivate::drawWidget (this=0x8152ca8, pdev=0x82646c4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5486
#28 0xb6858ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81a3408, pdev=0x82646c4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5640
#29 0xb6858ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x81a3408, pdev=0x82646c4, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5627
#30 0xb6857ff8 in QWidgetPrivate::drawWidget (this=0x81a3408, pdev=0x82646c4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5486
#31 0xb6858ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8137e08, pdev=0x82646c4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5640
#32 0xb6858ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8137e08, pdev=0x82646c4, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5627
#33 0xb6858ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8137e08, pdev=0x82646c4, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5627
#34 0xb6857ff8 in QWidgetPrivate::drawWidget (this=0x8137e08, pdev=0x82646c4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5486
#35 0xb6858ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x812b458, pdev=0x82646c4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5640
#36 0xb6857ff8 in QWidgetPrivate::drawWidget (this=0x812b458, pdev=0x82646c4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5486
#37 0xb6858ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x80e13d0, pdev=0x82646c4, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5640
#38 0xb6858ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x80e13d0, pdev=0x82646c4, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5627
#39 0xb6857ff8 in QWidgetPrivate::drawWidget (this=0x80e13d0, pdev=0x82646c4, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8265a08) at kernel/qwidget.cpp:5486
#40 0xb6a466c8 in QWidgetBackingStore::sync (this=0x8265a08) at painting/qbackingstore.cpp:1333
#41 0xb684d03b in QWidgetPrivate::syncBackingStore (this=0x80e13d0) at kernel/qwidget.cpp:1816
#42 0xb685c0da in QWidget::event (this=0x810e500, event=0x8159c58) at kernel/qwidget.cpp:8493
#43 0xb6c8729c in QMainWindow::event (this=0x810e500, event=0x8159c58) at widgets/qmainwindow.cpp:1478
#44 0xb7373ae4 in KMainWindow::event (this=0x810e500, ev=0x8159c58) at /usr/src/debug/kdelibs-4.6.0/kdeui/widgets/kmainwindow.cpp:1100
#45 0xb7373d82 in KXmlGuiWindow::event (this=0x810e500, ev=0x8159c58) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#46 0xb6800414 in QApplicationPrivate::notify_helper (this=0x80722c0, receiver=0x810e500, e=0x8159c58) at kernel/qapplication.cpp:4445
#47 0xb6809174 in QApplication::notify (this=0xbff474e0, receiver=0x810e500, e=0x8159c58) at kernel/qapplication.cpp:4324
#48 0xb72b01f1 in KApplication::notify (this=0xbff474e0, receiver=0x810e500, event=0x8159c58) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#49 0xb62dcfde in QCoreApplication::notifyInternal (this=0xbff474e0, receiver=0x810e500, event=0x8159c58) at kernel/qcoreapplication.cpp:732
#50 0xb62e0d6c 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 0xb62e0ebc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#53 0xb630b5e4 in sendPostedEvents (s=0x8074700) at kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x8074700) at kernel/qeventdispatcher_glib.cpp:277
#55 0xb5701509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0xb5701d10 in ?? () from /lib/libglib-2.0.so.0
#57 0xb5701fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0xb630b76b in QEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0xb68b655a in QGuiEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0xb62dc2bd in QEventLoop::processEvents (this=0xbff473e4, flags=...) at kernel/qeventloop.cpp:149
#61 0xb62dc4e9 in QEventLoop::exec (this=0xbff473e4, flags=...) at kernel/qeventloop.cpp:201
#62 0xb62e0f90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#63 0xb67fe104 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 277842, bug 277335, bug 276197, bug 271548, bug 269489.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-08-03 18:32:04 UTC
Update to KDE 4.6.2.

*** This bug has been marked as a duplicate of bug 243434 ***
Comment 2 Andreas 2011-08-16 09:16:56 UTC
Created attachment 62867 [details]
New crash information added by DrKonqi

okular (0.12) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:


Clicking in Dolphin or Konqueror on pdf-files leads to crashing of Okular.
May be, splashintro allready arives, but its gone as fast as it appears.

Same is true, if I open Okular via launcher (thats fine) and then try to open pdf files with the "file open" dialog. Just after choosing the file follows the crash.

Viewing the same pdf files with Xpdf or Acrobat Reader is always OK. pdf of any origin (also selfgenerated ones by openoffice). Also, opening these files with Okular on another machine is OK (Same OS, same version).



- Unusual behavior I noticed:

Old computer has been notebook, IBM TP T23.
Installed openSUSE 11.4
No problems.

May be:
New computer AMD X6 on Asus Crosshair Formula V
Installed openSUSE 11.4 too, but 64-Bit Version!!!
No problems yet except Okular.



- Custom settings of the application:

All defaults after a previous (initial) installation are still effective.
Nothing unfamiliar.
If asked, e. g. told more specific, I can give more information.

-- Backtrace (Reduced):
#6  0x00007f8fd629f947 in PagePainter::scalePixmapOnImage (dest=..., src=0x956f20, scaledWidth=<value optimized out>, scaledHeight=1134, cropRect=<value optimized out>, format=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#7  0x00007f8fd62a0360 in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fff44b5f590, page=0xa47ac0, pixID=<value optimized out>, flags=<value optimized out>, scaledWidth=802, scaledHeight=1134, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#8  0x00007f8fd62b0d9f in PageView::drawDocumentOnPainter (this=0x8c8a60, contentsRect=..., p=0x7fff44b5f590) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#9  0x00007f8fd62b15a1 in PageView::paintEvent (this=0x8c8a60, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#10 0x00007f8fe4d244ea in QWidget::event (this=0x8c8a60, event=0x7fff44b5feb0) at kernel/qwidget.cpp:8346