Bug 260902

Summary: okular crashes every time
Product: [Applications] okular Reporter: maninred
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: olaf.meltzer
Priority: NOR    
Version: 0.11.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description maninred 2010-12-21 19:20:06 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.4 (KDE 4.5.4) "release 9"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just opening a pdf. Nothing more.

Please please, please make a patch for this nasty failure.

I can´t read pdf´s at the moment.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fab15dfac97 in PagePainter::scalePixmapOnImage (dest=..., src=0xb4fe00, scaledWidth=<value optimized out>, scaledHeight=895, cropRect=<value optimized out>, format=<value optimized out>)
    at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pagepainter.cpp:755
#7  0x00007fab15dfb6b0 in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fffce1a15f0, page=0x906fa0, pixID=<value optimized out>, flags=<value optimized out>, scaledWidth=692, scaledHeight=
    895, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pagepainter.cpp:229
#8  0x00007fab15e0dbbb in PageView::drawDocumentOnPainter (this=0xb683c0, contentsRect=..., p=0x7fffce1a15f0) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pageview.cpp:2446
#9  0x00007fab15e0e391 in PageView::paintEvent (this=0xb683c0, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pageview.cpp:1212
#10 0x00007fab240e445a in QWidget::event (this=0xb683c0, event=0x7fffce1a1f10) at kernel/qwidget.cpp:8346
#11 0x00007fab24491246 in QFrame::event (this=0xb683c0, e=0x7fffce1a1f10) at widgets/qframe.cpp:557
#12 0x00007fab15e08d1d in PageView::viewportEvent (this=0xb683c0, e=0x7fffce1a1f10) at /usr/src/debug/kdegraphics-4.5.4/okular/ui/pageview.cpp:2292
#13 0x00007fab23704fb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xb34430, event=0x7fffce1a1f10) at kernel/qcoreapplication.cpp:847
#14 0x00007fab24092ca1 in QApplicationPrivate::notify_helper (this=0x6318a0, receiver=0xb34430, e=0x7fffce1a1f10) at kernel/qapplication.cpp:4441
#15 0x00007fab2409b1ca in QApplication::notify (this=<value optimized out>, receiver=0xb34430, e=0x7fffce1a1f10) at kernel/qapplication.cpp:4324
#16 0x00007fab24cef816 in KApplication::notify (this=0x7fffce1a4df0, receiver=0xb34430, event=0x7fffce1a1f10) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#17 0x00007fab23704e2c in QCoreApplication::notifyInternal (this=0x7fffce1a4df0, receiver=0xb34430, event=0x7fffce1a1f10) at kernel/qcoreapplication.cpp:732
#18 0x00007fab240e1322 in sendSpontaneousEvent (this=0x8268f0, pdev=0xb1f578, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x8268f0, pdev=0xb1f578, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950) at kernel/qwidget.cpp:5433
#20 0x00007fab240e1eef in QWidgetPrivate::paintSiblingsRecursive (this=0xb81ec0, pdev=0xb1f578, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x980950) at kernel/qwidget.cpp:5640
#21 0x00007fab240e1dac in QWidgetPrivate::paintSiblingsRecursive (this=0xb81ec0, pdev=0xb1f578, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5627
#22 0x00007fab240e1dac in QWidgetPrivate::paintSiblingsRecursive (this=0xb81ec0, pdev=0xb1f578, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5627
#23 0x00007fab240e108a in QWidgetPrivate::drawWidget (this=0xb81ec0, pdev=0xb1f578, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5486
#24 0x00007fab240e1eef in QWidgetPrivate::paintSiblingsRecursive (this=0xb835a0, pdev=0xb1f578, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x980950) at kernel/qwidget.cpp:5640
#25 0x00007fab240e1dac in QWidgetPrivate::paintSiblingsRecursive (this=0xb835a0, pdev=0xb1f578, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5627
#26 0x00007fab240e108a in QWidgetPrivate::drawWidget (this=0xb835a0, pdev=0xb1f578, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5486
#27 0x00007fab240e1eef in QWidgetPrivate::paintSiblingsRecursive (this=0x7e8140, pdev=0xb1f578, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x980950) at kernel/qwidget.cpp:5640
#28 0x00007fab240e1dac in QWidgetPrivate::paintSiblingsRecursive (this=0x7e8140, pdev=0xb1f578, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5627
#29 0x00007fab240e1dac in QWidgetPrivate::paintSiblingsRecursive (this=0x7e8140, pdev=0xb1f578, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5627
#30 0x00007fab240e108a in QWidgetPrivate::drawWidget (this=0x7e8140, pdev=0xb1f578, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5486
#31 0x00007fab240e1eef in QWidgetPrivate::paintSiblingsRecursive (this=0x7d4400, pdev=0xb1f578, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x980950) at kernel/qwidget.cpp:5640
#32 0x00007fab240e108a in QWidgetPrivate::drawWidget (this=0x7d4400, pdev=0xb1f578, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5486
#33 0x00007fab240e1eef in QWidgetPrivate::paintSiblingsRecursive (this=0x7ad750, pdev=0xb1f578, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x980950) at kernel/qwidget.cpp:5640
#34 0x00007fab240e108a in QWidgetPrivate::drawWidget (this=0x7ad750, pdev=0xb1f578, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x980950)
    at kernel/qwidget.cpp:5486
#35 0x00007fab242a6c71 in QWidgetBackingStore::sync (this=0x980950) at painting/qbackingstore.cpp:1333
#36 0x00007fab240d6010 in QWidgetPrivate::syncBackingStore (this=0x7ad750) at kernel/qwidget.cpp:1816
#37 0x00007fab240e4962 in QWidget::event (this=0x7aa900, event=0xb7e290) at kernel/qwidget.cpp:8493
#38 0x00007fab244aadcb in QMainWindow::event (this=0x7aa900, event=0xb7e290) at widgets/qmainwindow.cpp:1478
#39 0x00007fab24d6ac73 in KXmlGuiWindow::event (this=0x7aa900, ev=0xb7e290) at /usr/src/debug/kdelibs-4.5.4/kdeui/xmlgui/kxmlguiwindow.cpp:132
#40 0x00007fab24092cd4 in QApplicationPrivate::notify_helper (this=0x6318a0, receiver=0x7aa900, e=0xb7e290) at kernel/qapplication.cpp:4445
#41 0x00007fab2409b1ca in QApplication::notify (this=<value optimized out>, receiver=0x7aa900, e=0xb7e290) at kernel/qapplication.cpp:4324
#42 0x00007fab24cef816 in KApplication::notify (this=0x7fffce1a4df0, receiver=0x7aa900, event=0xb7e290) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#43 0x00007fab23704e2c in QCoreApplication::notifyInternal (this=0x7fffce1a4df0, receiver=0x7aa900, event=0xb7e290) at kernel/qcoreapplication.cpp:732
#44 0x00007fab23708625 in sendEvent (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.cpp:1373
#46 0x00007fab2372f8f3 in sendPostedEvents (s=0x635420) at kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=0x635420) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007fab1fe59a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fab1fe5a270 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fab1fe5a510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fab2372fa8f in QEventDispatcherGlib::processEvents (this=0x619b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#52 0x00007fab24137eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fab23704262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fab23704475 in QEventLoop::exec (this=0x7fffce1a4d40, flags=...) at kernel/qeventloop.cpp:201
#55 0x00007fab237088db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#56 0x00000000004088a9 in main (argc=6, argv=0x7fffce1a53d8) at /usr/src/debug/kdegraphics-4.5.4/okular/shell/main.cpp:82

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

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

Reported using DrKonqi
Comment 1 Pino Toscano 2010-12-21 19:25:05 UTC
a) It is called "okular, not "ocular"

> Please please, please make a patch for this nasty failure.

Please please, please stop reporting the same problem again and again.

*** This bug has been marked as a duplicate of bug 243434 ***
Comment 2 Olaf Meltzer 2011-03-15 17:46:28 UTC
Created attachment 58046 [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:

I tried to open a PDF via "Recently used dokuments" Menue.

-- Backtrace (Reduced):
#7  0xb2a15120 in PagePainter::scalePixmapOnImage (dest=..., src=0x84090f0, scaledWidth=1097, scaledHeight=1552, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2a15b95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbf8037fc, page=0x83fe0d8, pixID=3, flags=63, scaledWidth=1097, scaledHeight=1552, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2a2813e in PageView::drawDocumentOnPainter (this=0x81a5a88, contentsRect=..., p=0xbf8037fc) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#10 0xb2a289e9 in PageView::paintEvent (this=0x81a5a88, pe=0xbf803ee4) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#11 0xb67d060a in QWidget::event (this=0x81a5a88, event=0xbf803ee4) at kernel/qwidget.cpp:8346