Bug 277335

Summary: opening copied pdf files okular crashed
Product: [Applications] okular Reporter: Jan Kolar <jk.sl>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.12   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Kolar 2011-07-07 21:21:39 UTC
Application: okular (0.12)
KDE Platform Version: 4.6.00 (4.6.0) "release 6" (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I have open Dolphin application and select to open 
a pdf file. There was change of window from the Okular application to Okular - The KDE Crash Handler.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fd85b78f947 in PagePainter::scalePixmapOnImage (dest=..., src=0xa09760, scaledWidth=<value optimized out>, scaledHeight=554, cropRect=<value optimized out>, format=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#7  0x00007fd85b790360 in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fff73545170, page=0xa05930, pixID=<value optimized out>, flags=<value optimized out>, scaledWidth=784, scaledHeight=554, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#8  0x00007fd85b7a0d9f in PageView::drawDocumentOnPainter (this=0x82d650, contentsRect=..., p=0x7fff73545170) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#9  0x00007fd85b7a15a1 in PageView::paintEvent (this=0x82d650, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#10 0x00007fd86a0924ea in QWidget::event (this=0x82d650, event=0x7fff73545a90) at kernel/qwidget.cpp:8346
#11 0x00007fd86a436906 in QFrame::event (this=0x82d650, e=0x7fff73545a90) at widgets/qframe.cpp:557
#12 0x00007fd85b79dcdd in PageView::viewportEvent (this=0x82d650, e=0x7fff73545a90) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2315
#13 0x00007fd8696a3d87 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7aacc0, event=0x7fff73545a90) at kernel/qcoreapplication.cpp:847
#14 0x00007fd86a040ce1 in QApplicationPrivate::notify_helper (this=0x62ee10, receiver=0x7aacc0, e=0x7fff73545a90) at kernel/qapplication.cpp:4441
#15 0x00007fd86a04922a in QApplication::notify (this=<value optimized out>, receiver=0x7aacc0, e=0x7fff73545a90) at kernel/qapplication.cpp:4324
#16 0x00007fd86aca09e6 in KApplication::notify (this=0x7fff73548cd0, receiver=0x7aacc0, event=0x7fff73545a90) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#17 0x00007fd8696a3bfc in QCoreApplication::notifyInternal (this=0x7fff73548cd0, receiver=0x7aacc0, event=0x7fff73545a90) at kernel/qcoreapplication.cpp:732
#18 0x00007fd86a08f3b2 in sendSpontaneousEvent (this=0x775c70, pdev=0x90a4f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at ../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x775c70, pdev=0x90a4f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5433
#20 0x00007fd86a08ff7f in QWidgetPrivate::paintSiblingsRecursive (this=0x80da60, pdev=0x90a4f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5640
#21 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x80da60, pdev=0x90a4f8, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#22 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x80da60, pdev=0x90a4f8, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#23 0x00007fd86a08f11a in QWidgetPrivate::drawWidget (this=0x80da60, pdev=0x90a4f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5486
#24 0x00007fd86a08ff7f in QWidgetPrivate::paintSiblingsRecursive (this=0x7f01a0, pdev=0x90a4f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5640
#25 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x7f01a0, pdev=0x90a4f8, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#26 0x00007fd86a08f11a in QWidgetPrivate::drawWidget (this=0x7f01a0, pdev=0x90a4f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5486
#27 0x00007fd86a08ff7f in QWidgetPrivate::paintSiblingsRecursive (this=0x74c5a0, pdev=0x90a4f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5640
#28 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x74c5a0, pdev=0x90a4f8, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#29 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x74c5a0, pdev=0x90a4f8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#30 0x00007fd86a08f11a in QWidgetPrivate::drawWidget (this=0x74c5a0, pdev=0x90a4f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5486
#31 0x00007fd86a08ff7f in QWidgetPrivate::paintSiblingsRecursive (this=0x736f70, pdev=0x90a4f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5640
#32 0x00007fd86a08f11a in QWidgetPrivate::drawWidget (this=0x736f70, pdev=0x90a4f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5486
#33 0x00007fd86a08ff7f in QWidgetPrivate::paintSiblingsRecursive (this=0x6d2820, pdev=0x90a4f8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5640
#34 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x6d2820, pdev=0x90a4f8, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#35 0x00007fd86a08fe3c in QWidgetPrivate::paintSiblingsRecursive (this=0x6d2820, pdev=0x90a4f8, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5627
#36 0x00007fd86a08f11a in QWidgetPrivate::drawWidget (this=0x6d2820, pdev=0x90a4f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x90d360) at kernel/qwidget.cpp:5486
#37 0x00007fd86a252191 in QWidgetBackingStore::sync (this=0x90d360) at painting/qbackingstore.cpp:1333
#38 0x00007fd86a085170 in QWidgetPrivate::syncBackingStore (this=0x6d2820) at kernel/qwidget.cpp:1816
#39 0x00007fd86a0929f2 in QWidget::event (this=0x70dbf0, event=0x915ef0) at kernel/qwidget.cpp:8493
#40 0x00007fd86a45047b in QMainWindow::event (this=0x70dbf0, event=0x915ef0) at widgets/qmainwindow.cpp:1478
#41 0x00007fd86ad49793 in KXmlGuiWindow::event (this=0x70dbf0, ev=0x915ef0) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#42 0x00007fd86a040d14 in QApplicationPrivate::notify_helper (this=0x62ee10, receiver=0x70dbf0, e=0x915ef0) at kernel/qapplication.cpp:4445
#43 0x00007fd86a04922a in QApplication::notify (this=<value optimized out>, receiver=0x70dbf0, e=0x915ef0) at kernel/qapplication.cpp:4324
#44 0x00007fd86aca09e6 in KApplication::notify (this=0x7fff73548cd0, receiver=0x70dbf0, event=0x915ef0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#45 0x00007fd8696a3bfc in QCoreApplication::notifyInternal (this=0x7fff73548cd0, receiver=0x70dbf0, event=0x915ef0) at kernel/qcoreapplication.cpp:732
#46 0x00007fd8696a73f5 in sendEvent (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.cpp:1373
#48 0x00007fd8696ce783 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#50 0x00007fd865893bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#51 0x00007fd8658943b0 in ?? () from /lib64/libglib-2.0.so.0
#52 0x00007fd865894650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#53 0x00007fd8696ce91f in QEventDispatcherGlib::processEvents (this=0x62edd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#54 0x00007fd86a0e5d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007fd8696a3052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007fd8696a3265 in QEventLoop::exec (this=0x7fff73548c20, flags=...) at kernel/qeventloop.cpp:201
#57 0x00007fd8696a76ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x0000000000408909 in main (argc=6, argv=0x7fff735492b8) at /usr/src/debug/kdegraphics-4.6.0/okular/shell/main.cpp:82

Possible duplicates by query: bug 276197, bug 271548, bug 269489, bug 268921, bug 268772.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-07-07 21:38:00 UTC
Update to KDE 4.6.2/Okular 0.12.2

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