[Okular-devel] [Bug 269489] New: Okular Crashes When Opening a PDF Document In Firefox

jarray52 at gmail.com jarray52 at gmail.com
Sat Mar 26 21:07:32 CET 2011


https://bugs.kde.org/show_bug.cgi?id=269489

           Summary: Okular Crashes When Opening a PDF Document In Firefox
           Product: okular
           Version: 0.11.2
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: jarray52 at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list