Application: okular (0.11.80) KDE Platform Version: 4.5.68 (4.6 >= 20100912) Qt Version: 4.7.0 Operating System: Linux 2.6.35.4-desktop-1mnb x86_64 Distribution: "Mandriva Linux 2010.1" -- Information about the crash: - What I was doing when the application crashed: Tried to read a PDF file. okular crashed when trying to read the file. The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #6 0x00007f6baff50561 in PagePainter::scalePixmapOnImage (dest=<value optimized out>, src=<value optimized out>, scaledWidth=<value optimized out>, scaledHeight=643, cropRect=<value optimized out>, format=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.68svn1174542/okular/ui/pagepainter.cpp:755 #7 0x00007f6baff543bd in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fff87bf6f90, page=0x2a338c0, pixID=<value optimized out>, flags=63, scaledWidth=859, scaledHeight=643, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.5.68svn1174542/okular/ui/pagepainter.cpp:229 #8 0x00007f6baff64339 in PageView::drawDocumentOnPainter (this=0x281c020, contentsRect=..., p=0x7fff87bf6f90) at /usr/src/debug/kdegraphics-4.5.68svn1174542/okular/ui/pageview.cpp:2468 #9 0x00007f6baff64e76 in PageView::paintEvent (this=<value optimized out>, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.68svn1174542/okular/ui/pageview.cpp:1225 #10 0x00007f6bbe1791b4 in QWidget::event (this=0x281c020, event=0x7fff87bf7940) at kernel/qwidget.cpp:8304 #11 0x00007f6bbe51cf76 in QFrame::event (this=0x281c020, e=0x7fff87bf7940) at widgets/qframe.cpp:557 #12 0x00007f6baff61523 in PageView::viewportEvent (this=0x281c020, e=0x7fff87bf7940) at /usr/src/debug/kdegraphics-4.5.68svn1174542/okular/ui/pageview.cpp:2314 #13 0x00007f6bbd7818c7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2806880, event=0x7fff87bf7940) at kernel/qcoreapplication.cpp:847 #14 0x00007f6bbe1276b1 in QApplicationPrivate::notify_helper (this=0x25e9810, receiver=0x2806880, e=0x7fff87bf7940) at kernel/qapplication.cpp:4392 #15 0x00007f6bbe12c15a in QApplication::notify (this=<value optimized out>, receiver=0x2806880, e=0x7fff87bf7940) at kernel/qapplication.cpp:4277 #16 0x00007f6bbee20766 in KApplication::notify (this=0x7fff87bfab60, receiver=0x2806880, event=0x7fff87bf7940) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/kernel/kapplication.cpp:310 #17 0x00007f6bbd78173c in QCoreApplication::notifyInternal (this=0x7fff87bfab60, receiver=0x2806880, event=0x7fff87bf7940) at kernel/qcoreapplication.cpp:732 #18 0x00007f6bbe174058 in sendSpontaneousEvent (this=0x27e29e0, pdev=0x292d1f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at ../../src/corelib/kernel/qcoreapplication.h:218 #19 QWidgetPrivate::drawWidget (this=0x27e29e0, pdev=0x292d1f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5391 #20 0x00007f6bbe174c1f in QWidgetPrivate::paintSiblingsRecursive (this=0x28065e0, pdev=0x292d1f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5598 #21 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x28065e0, pdev=0x292d1f8, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #22 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x28065e0, pdev=0x292d1f8, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #23 0x00007f6bbe173d9a in QWidgetPrivate::drawWidget (this=0x28065e0, pdev=0x292d1f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5444 #24 0x00007f6bbe174c1f in QWidgetPrivate::paintSiblingsRecursive (this=0x27612d0, pdev=0x292d1f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5598 #25 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x27612d0, pdev=0x292d1f8, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #26 0x00007f6bbe173d9a in QWidgetPrivate::drawWidget (this=0x27612d0, pdev=0x292d1f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5444 #27 0x00007f6bbe174c1f in QWidgetPrivate::paintSiblingsRecursive (this=0x2743be0, pdev=0x292d1f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5598 #28 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x2743be0, pdev=0x292d1f8, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #29 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x2743be0, pdev=0x292d1f8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #30 0x00007f6bbe173d9a in QWidgetPrivate::drawWidget (this=0x2743be0, pdev=0x292d1f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5444 #31 0x00007f6bbe174c1f in QWidgetPrivate::paintSiblingsRecursive (this=0x272b210, pdev=0x292d1f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5598 #32 0x00007f6bbe173d9a in QWidgetPrivate::drawWidget (this=0x272b210, pdev=0x292d1f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5444 #33 0x00007f6bbe174c1f in QWidgetPrivate::paintSiblingsRecursive (this=0x26fc640, pdev=0x292d1f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5598 #34 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x26fc640, pdev=0x292d1f8, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #35 0x00007f6bbe174adc in QWidgetPrivate::paintSiblingsRecursive (this=0x26fc640, pdev=0x292d1f8, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5585 #36 0x00007f6bbe173d9a in QWidgetPrivate::drawWidget (this=0x26fc640, pdev=0x292d1f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2931060) at kernel/qwidget.cpp:5444 #37 0x00007f6bbe332dc9 in QWidgetBackingStore::sync (this=0x2931060) at painting/qbackingstore.cpp:1328 #38 0x00007f6bbe16c300 in QWidgetPrivate::syncBackingStore (this=0x26fc640) at kernel/qwidget.cpp:1776 #39 0x00007f6bbe1796b2 in QWidget::event (this=0x26e7950, event=0x2a4f7d0) at kernel/qwidget.cpp:8451 #40 0x00007f6bbe536abb in QMainWindow::event (this=0x26e7950, event=0x2a4f7d0) at widgets/qmainwindow.cpp:1417 #41 0x00007f6bbef13670 in KXmlGuiWindow::event (this=0x26e7950, ev=0x2a4f7d0) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/xmlgui/kxmlguiwindow.cpp:132 #42 0x00007f6bbe1276e4 in QApplicationPrivate::notify_helper (this=0x25e9810, receiver=0x26e7950, e=0x2a4f7d0) at kernel/qapplication.cpp:4396 #43 0x00007f6bbe12c15a in QApplication::notify (this=<value optimized out>, receiver=0x26e7950, e=0x2a4f7d0) at kernel/qapplication.cpp:4277 #44 0x00007f6bbee20766 in KApplication::notify (this=0x7fff87bfab60, receiver=0x26e7950, event=0x2a4f7d0) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/kernel/kapplication.cpp:310 #45 0x00007f6bbd78173c in QCoreApplication::notifyInternal (this=0x7fff87bfab60, receiver=0x26e7950, event=0x2a4f7d0) at kernel/qcoreapplication.cpp:732 #46 0x00007f6bbd784ee5 in sendEvent (receiver=0x0, event_type=0, data=0x25d0350) at kernel/qcoreapplication.h:215 #47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25d0350) at kernel/qcoreapplication.cpp:1373 #48 0x00007f6bbd7ac6c3 in sendPostedEvents (s=0x25ed3f0) at kernel/qcoreapplication.h:220 #49 postEventSourceDispatch (s=0x25ed3f0) at kernel/qeventdispatcher_glib.cpp:277 #50 0x00007f6bba08a3d3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #51 0x00007f6bba08abb0 in ?? () from /usr/lib64/libglib-2.0.so.0 #52 0x00007f6bba08ae4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #53 0x00007f6bbd7ac85f in QEventDispatcherGlib::processEvents (this=0x25cfe60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #54 0x00007f6bbe1cb74e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #55 0x00007f6bbd780ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #56 0x00007f6bbd780d1c in QEventLoop::exec (this=0x7fff87bfab10, flags=...) at kernel/qeventloop.cpp:201 #57 0x00007f6bbd78519b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #58 0x000000000040823d in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.68svn1174542/okular/shell/main.cpp:82 Detaching from program: /usr/bin/okular, process 22651 Possible duplicates by query: bug 230282. Reported using DrKonqi
Can you please run valgrind okular /path/to/my/file.pdf and attach the output?
I4ve updated my Mandriva cooker this morning and the bug has vanished. It seems fixed as I've tested all "bad" PDF files, and now, okular works fine. This bug is fixed. IMHO it was related to libs and okular not in same build revision.
*** Bug 252559 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 243434 ***