Bug 269489 - Okular Crashes When Opening a PDF Document In Firefox
Summary: Okular Crashes When Opening a PDF Document In Firefox
Status: RESOLVED DUPLICATE of bug 243434
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 21:07 UTC by jarray52
Modified: 2011-04-13 16:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.94 KB, text/plain)
2011-04-07 22:46 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jarray52 2011-03-26 21:07:19 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Okular crashes as a result of a segmentation fault whenever a pdf document is opened from inside Firefox. This happens with every pdf document, and the segmentation fault demonstrates it's a bug inside okular. While other bug reports were opened and then closed after a fix was made, the bug still exists even though a fix was pushed through to Fedora 14 updates. Hence, I opened a new bug report.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00007f79f3af6557 in PagePainter::scalePixmapOnImage (dest=..., src=0x2802f70, scaledWidth=<value optimized out>, scaledHeight=574, cropRect=<value optimized out>, format=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.5/okular/ui/pagepainter.cpp:755
#7  0x00007f79f3af6f6d in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fffdf169090, page=0x2862d20, pixID=<value optimized out>, flags=63, scaledWidth=444, scaledHeight=574, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.5.5/okular/ui/pagepainter.cpp:229
#8  0x00007f79f3b04eaf in PageView::drawDocumentOnPainter (this=0x26a84f0, contentsRect=..., p=0x7fffdf169090) at /usr/src/debug/kdegraphics-4.5.5/okular/ui/pageview.cpp:2446
#9  0x00007f79f3b056d1 in PageView::paintEvent (this=0x26a84f0, pe=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.5/okular/ui/pageview.cpp:1212
#10 0x0000003eb7608f9a in QWidget::event (this=0x26a84f0, event=0x7fffdf1699b0) at kernel/qwidget.cpp:8346
#11 0x0000003eb79b3906 in QFrame::event (this=0x26a84f0, e=0x7fffdf1699b0) at widgets/qframe.cpp:557
#12 0x00007f79f3b0624d in PageView::viewportEvent (this=0x26a84f0, e=0x7fffdf1699b0) at /usr/src/debug/kdegraphics-4.5.5/okular/ui/pageview.cpp:2292
#13 0x0000003eb355b937 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x26a8550, event=0x7fffdf1699b0) at kernel/qcoreapplication.cpp:847
#14 0x0000003eb75b7891 in QApplicationPrivate::notify_helper (this=0x24667c0, receiver=0x26a8550, e=0x7fffdf1699b0) at kernel/qapplication.cpp:4441
#15 0x0000003eb75bc3da in QApplication::notify (this=<value optimized out>, receiver=0x26a8550, e=0x7fffdf1699b0) at kernel/qapplication.cpp:4324
#16 0x0000003d7b020596 in KApplication::notify (this=0x7fffdf16ca30, receiver=0x26a8550, event=0x7fffdf1699b0) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#17 0x0000003eb355b7ac in QCoreApplication::notifyInternal (this=0x7fffdf16ca30, receiver=0x26a8550, event=0x7fffdf1699b0) at kernel/qcoreapplication.cpp:732
#18 0x0000003eb7605e68 in sendSpontaneousEvent (this=0x269d9b0, pdev=0x2776338, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at ../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x269d9b0, pdev=0x2776338, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5433
#20 0x0000003eb7606a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x261bad0, pdev=0x2776338, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5640
#21 0x0000003eb76068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x261bad0, pdev=0x2776338, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5627
#22 0x0000003eb76068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x261bad0, pdev=0x2776338, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5627
#23 0x0000003eb7605baa in QWidgetPrivate::drawWidget (this=0x261bad0, pdev=0x2776338, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5486
#24 0x0000003eb7606a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x2684a80, pdev=0x2776338, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5640
#25 0x0000003eb76068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x2684a80, pdev=0x2776338, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5627
#26 0x0000003eb7605baa in QWidgetPrivate::drawWidget (this=0x2684a80, pdev=0x2776338, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5486
#27 0x0000003eb7606a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x257be90, pdev=0x2776338, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5640
#28 0x0000003eb76068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x257be90, pdev=0x2776338, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5627
#29 0x0000003eb76068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x257be90, pdev=0x2776338, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5627
#30 0x0000003eb7605baa in QWidgetPrivate::drawWidget (this=0x257be90, pdev=0x2776338, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5486
#31 0x0000003eb7606a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x2572d50, pdev=0x2776338, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5640
#32 0x0000003eb7605baa in QWidgetPrivate::drawWidget (this=0x2572d50, pdev=0x2776338, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5486
#33 0x0000003eb7606a2f in QWidgetPrivate::paintSiblingsRecursive (this=0x2557090, pdev=0x2776338, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5640
#34 0x0000003eb76068ec in QWidgetPrivate::paintSiblingsRecursive (this=0x2557090, pdev=0x2776338, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5627
#35 0x0000003eb7605baa in QWidgetPrivate::drawWidget (this=0x2557090, pdev=0x2776338, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x27791d0) at kernel/qwidget.cpp:5486
#36 0x0000003eb77c8fe9 in QWidgetBackingStore::sync (this=0x27791d0) at painting/qbackingstore.cpp:1333
#37 0x0000003eb75fc1b0 in QWidgetPrivate::syncBackingStore (this=0x2557090) at kernel/qwidget.cpp:1816
#38 0x0000003eb76094a2 in QWidget::event (this=0x2544690, event=0x2626d80) at kernel/qwidget.cpp:8493
#39 0x0000003eb79cd58b in QMainWindow::event (this=0x2544690, event=0x2626d80) at widgets/qmainwindow.cpp:1478
#40 0x0000003d7b124443 in KXmlGuiWindow::event (this=0x2544690, ev=0x2626d80) at /usr/src/debug/kdelibs-4.5.5/kdeui/xmlgui/kxmlguiwindow.cpp:132
#41 0x0000003eb75b78c4 in QApplicationPrivate::notify_helper (this=0x24667c0, receiver=0x2544690, e=0x2626d80) at kernel/qapplication.cpp:4445
#42 0x0000003eb75bc3da in QApplication::notify (this=<value optimized out>, receiver=0x2544690, e=0x2626d80) at kernel/qapplication.cpp:4324
#43 0x0000003d7b020596 in KApplication::notify (this=0x7fffdf16ca30, receiver=0x2544690, event=0x2626d80) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#44 0x0000003eb355b7ac in QCoreApplication::notifyInternal (this=0x7fffdf16ca30, receiver=0x2544690, event=0x2626d80) at kernel/qcoreapplication.cpp:732
#45 0x0000003eb355ef95 in sendEvent (receiver=0x0, event_type=0, data=0x244f600) at kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x244f600) at kernel/qcoreapplication.cpp:1373
#47 0x0000003eb3586723 in sendPostedEvents (s=0x246a350) at kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0x246a350) at kernel/qeventdispatcher_glib.cpp:277
#49 0x0000003eaa441e33 in g_main_dispatch (context=0x24691f0) at gmain.c:2149
#50 g_main_context_dispatch (context=0x24691f0) at gmain.c:2702
#51 0x0000003eaa442610 in g_main_context_iterate (context=0x24691f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#52 0x0000003eaa4428ad in g_main_context_iteration (context=0x24691f0, may_block=1) at gmain.c:2843
#53 0x0000003eb35868bf in QEventDispatcherGlib::processEvents (this=0x244ecf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#54 0x0000003eb765c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#55 0x0000003eb355ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x0000003eb355ad8c in QEventLoop::exec (this=0x7fffdf16c980, flags=...) at kernel/qeventloop.cpp:201
#57 0x0000003eb355f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x00000000004080c9 in main (argc=4, argv=0x7fffdf16d018) at /usr/src/debug/kdegraphics-4.5.5/okular/shell/main.cpp:82

Possible duplicates by query: bug 268921, bug 268772, bug 268142, bug 266217, bug 265644.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-03-26 21:34:48 UTC

*** This bug has been marked as a duplicate of bug 243434 ***
Comment 2 Unknown 2011-04-07 22:46:34 UTC
Created attachment 58687 [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: tried to open a pdf document on the web using firefox, which triggered okular, ending with okular crash. This happens with all pdf documents.

-- Backtrace (Reduced):
#7  0xb2b37120 in PagePainter::scalePixmapOnImage (dest=..., src=0x82f2c10, scaledWidth=639, scaledHeight=826, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:755
#8  0xb2b37b95 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfe9b46c, page=0x82f27c0, pixID=3, flags=63, scaledWidth=639, scaledHeight=826, limits=..., crop=...) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pagepainter.cpp:229
#9  0xb2b4a13e in PageView::drawDocumentOnPainter (this=0x8156800, contentsRect=..., p=0xbfe9b46c) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:2469
#10 0xb2b4a9e9 in PageView::paintEvent (this=0x8156800, pe=0xbfe9bb54) at /usr/src/debug/kdegraphics-4.6.0/okular/ui/pageview.cpp:1226
#11 0xb67c960a in QWidget::event (this=0x8156800, event=0xbfe9bb54) at kernel/qwidget.cpp:8346
Comment 3 Pino Toscano 2011-04-13 16:30:52 UTC
@mathias.vandenbogaert:
instead of adding a backtrace to the first bug you see, please take a look at bug #243434 and update to KDE 4.6.2.