Bug 268142

Summary: Crash opening a pdf
Product: [Applications] okular Reporter: chr_braumann
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 chr_braumann 2011-03-10 16:52:04 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.1-1.2-default i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Tried to open a pdf-file from dolphin. Then tried to open okular (worked) and then in okular to open a pdf. It crashed again

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb2b2a120 in PagePainter::scalePixmapOnImage (dest=..., src=0x829ca90, scaledWidth=766, scaledHeight=1083, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2b2ab95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfa2be8c, page=0x8362c68, pixID=3, flags=63, scaledWidth=766, scaledHeight=1083, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2b3d13e in PageView::drawDocumentOnPainter (this=0x8149648, contentsRect=..., p=0xbfa2be8c) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#10 0xb2b3d9e9 in PageView::paintEvent (this=0x8149648, pe=0xbfa2c574) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#11 0xb68a660a in QWidget::event (this=0x8149648, event=0xbfa2c574) at kernel/qwidget.cpp:8346
#12 0xb6cb4ed5 in QFrame::event (this=0x8149648, e=0xbfa2c574) at widgets/qframe.cpp:557
#13 0xb6d468a1 in QAbstractScrollArea::viewportEvent (this=0x8149648, e=0xbfa2c574) at widgets/qabstractscrollarea.cpp:1043
#14 0xb2b39c4e in PageView::viewportEvent (this=0x8149648, e=0xbfa2c574) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2315
#15 0xb6d49196 in viewportEvent (this=0x81733e0, o=0x81d14d0, e=0xbfa2c574) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x81733e0, o=0x81d14d0, e=0xbfa2c574) at widgets/qabstractscrollarea_p.h:116
#17 0xb6328176 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8072238, receiver=0x81d14d0, event=0xbfa2c574) at kernel/qcoreapplication.cpp:847
#18 0xb684b3e4 in QApplicationPrivate::notify_helper (this=0x8072238, receiver=0x81d14d0, e=0xbfa2c574) at kernel/qapplication.cpp:4441
#19 0xb6854174 in QApplication::notify (this=0xbfa2e760, receiver=0x81d14d0, e=0xbfa2c574) at kernel/qapplication.cpp:4324
#20 0xb72fb1f1 in KApplication::notify (this=0xbfa2e760, receiver=0x81d14d0, event=0xbfa2c574) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#21 0xb6327fde in QCoreApplication::notifyInternal (this=0xbfa2e760, receiver=0x81d14d0, event=0xbfa2c574) at kernel/qcoreapplication.cpp:732
#22 0xb68a32a2 in sendSpontaneousEvent (this=0x81dc5e0, pdev=0x826e1dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x81dc5e0, pdev=0x826e1dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5433
#24 0xb68a3ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81a32e8, pdev=0x826e1dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5640
#25 0xb68a3ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x81a32e8, pdev=0x826e1dc, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5627
#26 0xb68a3ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x81a32e8, pdev=0x826e1dc, siblings=..., index=77, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5627
#27 0xb68a2ff8 in QWidgetPrivate::drawWidget (this=0x81a32e8, pdev=0x826e1dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5486
#28 0xb68a3ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x819e288, pdev=0x826e1dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5640
#29 0xb68a2ff8 in QWidgetPrivate::drawWidget (this=0x819e288, pdev=0x826e1dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5486
#30 0xb68a3ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8144818, pdev=0x826e1dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5640
#31 0xb68a3ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8144818, pdev=0x826e1dc, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5627
#32 0xb68a3ebd in QWidgetPrivate::paintSiblingsRecursive (this=0x8144818, pdev=0x826e1dc, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5627
#33 0xb68a2ff8 in QWidgetPrivate::drawWidget (this=0x8144818, pdev=0x826e1dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5486
#34 0xb68a3ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x8135a78, pdev=0x826e1dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5640
#35 0xb68a2ff8 in QWidgetPrivate::drawWidget (this=0x8135a78, pdev=0x826e1dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5486
#36 0xb68a3ff7 in QWidgetPrivate::paintSiblingsRecursive (this=0x80ea608, pdev=0x826e1dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5640
#37 0xb68a2ff8 in QWidgetPrivate::drawWidget (this=0x80ea608, pdev=0x826e1dc, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x826e240) at kernel/qwidget.cpp:5486
#38 0xb6a916c8 in QWidgetBackingStore::sync (this=0x826e240) at painting/qbackingstore.cpp:1333
#39 0xb689803b in QWidgetPrivate::syncBackingStore (this=0x80ea608) at kernel/qwidget.cpp:1816
#40 0xb68a70da in QWidget::event (this=0x8124820, event=0x8180248) at kernel/qwidget.cpp:8493
#41 0xb6cd229c in QMainWindow::event (this=0x8124820, event=0x8180248) at widgets/qmainwindow.cpp:1478
#42 0xb73beae4 in KMainWindow::event (this=0x8124820, ev=0x8180248) at /usr/src/debug/kdelibs-4.6.0/kdeui/widgets/kmainwindow.cpp:1100
#43 0xb73bed82 in KXmlGuiWindow::event (this=0x8124820, ev=0x8180248) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#44 0xb684b414 in QApplicationPrivate::notify_helper (this=0x8072238, receiver=0x8124820, e=0x8180248) at kernel/qapplication.cpp:4445
#45 0xb6854174 in QApplication::notify (this=0xbfa2e760, receiver=0x8124820, e=0x8180248) at kernel/qapplication.cpp:4324
#46 0xb72fb1f1 in KApplication::notify (this=0xbfa2e760, receiver=0x8124820, event=0x8180248) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#47 0xb6327fde in QCoreApplication::notifyInternal (this=0xbfa2e760, receiver=0x8124820, event=0x8180248) at kernel/qcoreapplication.cpp:732
#48 0xb632bd6c in sendEvent (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8059428) at kernel/qcoreapplication.cpp:1373
#50 0xb632bebc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#51 0xb63565e4 in sendPostedEvents (s=0x8074fa8) at kernel/qcoreapplication.h:220
#52 postEventSourceDispatch (s=0x8074fa8) at kernel/qeventdispatcher_glib.cpp:277
#53 0xb571a509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#54 0xb571ad10 in ?? () from /lib/libglib-2.0.so.0
#55 0xb571afce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#56 0xb635676b in QEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#57 0xb690155a in QGuiEventDispatcherGlib::processEvents (this=0x805ce40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb63272bd in QEventLoop::processEvents (this=0xbfa2e664, flags=...) at kernel/qeventloop.cpp:149
#59 0xb63274e9 in QEventLoop::exec (this=0xbfa2e664, flags=...) at kernel/qeventloop.cpp:201
#60 0xb632bf90 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#61 0xb6849104 in QApplication::exec () at kernel/qapplication.cpp:3719
#62 0x0804ef78 in main (argc=0, argv=0x1) at /usr/src/debug/kdegraphics-4.6.0/okular/shell/main.cpp:82

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

Possible duplicates by query: bug 266217, bug 265644, bug 264667, bug 264168, bug 263166.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-03-16 21:06:45 UTC

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