Bug 213591 - Okular crashes during scroll [QList<QPolygonF>::free, QX11PaintEnginePrivate::fillPath, QX11PaintEngine::drawPath]
Summary: Okular crashes during scroll [QList<QPolygonF>::free, QX11PaintEnginePrivate:...
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 20:24 UTC by Tomas Vavra
Modified: 2009-11-08 21:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Vavra 2009-11-07 20:24:42 UTC
Application: okular (0.9.80)
KDE Version: 4.3.74 (KDE 4.3.74 (KDE 4.4 >= 20091102)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-trunk-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
I am opening http://shoppardubice.jip-napoje.cz/editor/filestore/File/alko.pdf this file and during scroll to second page I am getting this crash. I am using now kde-qt 4.6-stable-patched with KDE trunk (updated almost every day)

 -- Backtrace:
Application: Okular (okular), signal: Aborted
[KCrash Handler]
#5  0x00007f6ed2687f25 in raise () from /lib/libc.so.6
#6  0x00007f6ed268ad60 in abort () from /lib/libc.so.6
#7  0x00007f6ed26bd55d in ?? () from /lib/libc.so.6
#8  0x00007f6ed26c6db6 in ?? () from /lib/libc.so.6
#9  0x00007f6ed34adbd7 in QList<QPolygonF>::free(QListData::Data*) () from /opt/qt4/lib/libQtGui.so.4
#10 0x00007f6ed3544203 in QX11PaintEnginePrivate::fillPath (this=0x17aed40, path=..., gc_mode=QX11PaintEnginePrivate::PenGC, transform=<value optimized out>) at painting/qpaintengine_x11.cpp:1756
#11 0x00007f6ed354494a in QX11PaintEngine::drawPath (this=<value optimized out>, path=...) at painting/qpaintengine_x11.cpp:1805
#12 0x00007f6ed3544d7b in QX11PaintEngine::drawPolygon (this=0x15b6cc0, polygonPoints=<value optimized out>, pointCount=<value optimized out>, mode=QPaintEngine::PolylineMode)
    at painting/qpaintengine_x11.cpp:1712
#13 0x00007f6ed349b15e in QPainter::drawPolyline (this=<value optimized out>, points=0x181a9f0, pointCount=3) at painting/qpainter.cpp:4732
#14 0x00007f6ec6d18a00 in OxygenStyle::drawGenericPrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const () from /opt/kde4/lib/kde4/plugins/styles/oxygen.so
#15 0x00007f6ec6d12c33 in OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const () from /opt/kde4/lib/kde4/plugins/styles/oxygen.so
#16 0x00007f6ed5090a06 in KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /opt/kde4/lib/libkdeui.so.5
#17 0x00007f6ec6d164a5 in OxygenStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /opt/kde4/lib/kde4/plugins/styles/oxygen.so
#18 0x00007f6ed3657324 in QCommonStyle::drawComplexControl (this=0x11981f0, cc=<value optimized out>, opt=0x7fff6631a810, p=0x7fff6631a890, widget=0x12dd160) at styles/qcommonstyle.cpp:3178
#19 0x00007f6ed508dff7 in KStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /opt/kde4/lib/libkdeui.so.5
#20 0x00007f6ec6d13532 in OxygenStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /opt/kde4/lib/kde4/plugins/styles/oxygen.so
#21 0x00007f6ed3790dea in QScrollBar::paintEvent (this=0x12dd160) at widgets/qscrollbar.cpp:547
#22 0x00007f6ed339d56d in QWidget::event (this=0x12dd160, event=0x7fff6631b0a0) at kernel/qwidget.cpp:8072
#23 0x00007f6ed3347b1d in QApplicationPrivate::notify_helper (this=0x111e8c0, receiver=0x12dd160, e=0x7fff6631b0a0) at kernel/qapplication.cpp:4245
#24 0x00007f6ed334efa0 in QApplication::notify (this=0x7fff6631fbd0, receiver=0x12dd160, e=0x7fff6631b0a0) at kernel/qapplication.cpp:4133
#25 0x00007f6ed5080adb in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#26 0x00007f6ed41b735c in QCoreApplication::notifyInternal (this=0x7fff6631fbd0, receiver=0x12dd160, event=0x7fff6631b0a0) at kernel/qcoreapplication.cpp:704
#27 0x00007f6ed33a559f in QCoreApplication::sendSpontaneousEvent (this=0x137e150, pdev=0x12d61f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x156ca90)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (this=0x137e150, pdev=0x12d61f8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5293
#29 0x00007f6ed33a5f23 in QWidgetPrivate::paintSiblingsRecursive (this=0x1370d40, pdev=0x12d61f8, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90)
    at kernel/qwidget.cpp:5403
#30 0x00007f6ed33a505b in QWidgetPrivate::drawWidget (this=0x1370d40, pdev=0x12d61f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5342
#31 0x00007f6ed33a5f23 in QWidgetPrivate::paintSiblingsRecursive (this=0x12cd660, pdev=0x12d61f8, siblings=..., index=52, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90)
    at kernel/qwidget.cpp:5403
#32 0x00007f6ed33a505b in QWidgetPrivate::drawWidget (this=0x12cd660, pdev=0x12d61f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5342
#33 0x00007f6ed33a5f23 in QWidgetPrivate::paintSiblingsRecursive (this=0x1368ca0, pdev=0x12d61f8, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90)
    at kernel/qwidget.cpp:5403
#34 0x00007f6ed33a505b in QWidgetPrivate::drawWidget (this=0x1368ca0, pdev=0x12d61f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5342
#35 0x00007f6ed33a5f23 in QWidgetPrivate::paintSiblingsRecursive (this=0x12b3840, pdev=0x12d61f8, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90)
    at kernel/qwidget.cpp:5403
#36 0x00007f6ed33a505b in QWidgetPrivate::drawWidget (this=0x12b3840, pdev=0x12d61f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5342
#37 0x00007f6ed33a5f23 in QWidgetPrivate::paintSiblingsRecursive (this=0x1290650, pdev=0x12d61f8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90)
    at kernel/qwidget.cpp:5403
#38 0x00007f6ed33a505b in QWidgetPrivate::drawWidget (this=0x1290650, pdev=0x12d61f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5342
#39 0x00007f6ed33a5f23 in QWidgetPrivate::paintSiblingsRecursive (this=0x127a880, pdev=0x12d61f8, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90)
    at kernel/qwidget.cpp:5403
#40 0x00007f6ed33a505b in QWidgetPrivate::drawWidget (this=0x127a880, pdev=0x12d61f8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x156ca90) at kernel/qwidget.cpp:5342
#41 0x00007f6ed35564e9 in QWidgetBackingStore::sync (this=0x156ca90) at painting/qbackingstore.cpp:1293
#42 0x00007f6ed3396c40 in QWidgetPrivate::syncBackingStore (this=0x127a880) at kernel/qwidget.cpp:1657
#43 0x00007f6ed339dc6f in QWidget::event (this=0x127a700, event=0x7fff6631d950) at kernel/qwidget.cpp:8218
#44 0x00007f6ed3758e8b in QMainWindow::event (this=0x127a700, event=0x7fff6631d950) at widgets/qmainwindow.cpp:1434
#45 0x00007f6ed5195913 in KXmlGuiWindow::event(QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#46 0x00007f6ed3347b1d in QApplicationPrivate::notify_helper (this=0x111e8c0, receiver=0x127a700, e=0x7fff6631d950) at kernel/qapplication.cpp:4245
#47 0x00007f6ed334efa0 in QApplication::notify (this=0x7fff6631fbd0, receiver=0x127a700, e=0x7fff6631d950) at kernel/qapplication.cpp:4133
#48 0x00007f6ed5080adb in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#49 0x00007f6ed41b735c in QCoreApplication::notifyInternal (this=0x7fff6631fbd0, receiver=0x127a700, event=0x7fff6631d950) at kernel/qcoreapplication.cpp:704
#50 0x00007f6ed35539a7 in QCoreApplication::sendEvent (widget=0x127a700, updateImmediately=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 sendUpdateRequest (widget=0x127a700, updateImmediately=<value optimized out>) at painting/qbackingstore.cpp:515
#52 0x00007f6ed3556ccd in QWidgetBackingStore::markDirty (this=0x156ca90, rect=..., widget=0x12d4bb0, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:671
#53 0x00007f6ed3398f91 in QWidget::repaint (this=0x12d4bb0, rect=...) at kernel/qwidget.cpp:9954
#54 0x00007f6ec20abda0 in PageView::scrollContentsBy(int, int) () from /opt/kde4/lib/kde4/okularpart.so
#55 0x00007f6ed37c8740 in QAbstractScrollArea::qt_metacall (this=0x12c2e90, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff6631dcc0) at .moc/release-shared/moc_qabstractscrollarea.cpp:85
#56 0x00007f6ec20b6725 in PageView::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/kde4/okularpart.so
#57 0x00007f6ed41caac7 in QMetaObject::activate (sender=0x12dd160, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3399
#58 0x00007f6ed39d2ffe in QAbstractSlider::valueChanged (this=0x11b1, _t1=1800) at .moc/release-shared/moc_qabstractslider.cpp:182
#59 0x00007f6ed36f9f38 in QAbstractSlider::wheelEvent (this=0x12dd160, e=0x7fff6631ed30) at widgets/qabstractslider.cpp:724
#60 0x00007f6ed339dcad in QWidget::event (this=0x12dd160, event=0x7fff6631ed30) at kernel/qwidget.cpp:7934
#61 0x00007f6ed3347b1d in QApplicationPrivate::notify_helper (this=0x111e8c0, receiver=0x12dd160, e=0x7fff6631ed30) at kernel/qapplication.cpp:4245
#62 0x00007f6ed334f61a in QApplication::notify (this=<value optimized out>, receiver=0x12dd160, e=0x7fff6631ed30) at kernel/qapplication.cpp:3885
#63 0x00007f6ed5080adb in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#64 0x00007f6ed41b735c in QCoreApplication::notifyInternal (this=0x7fff6631fbd0, receiver=0x12dd160, event=0x7fff6631ed30) at kernel/qcoreapplication.cpp:704
#65 0x00007f6ec20b2c6d in PageView::wheelEvent(QWheelEvent*) () from /opt/kde4/lib/kde4/okularpart.so
#66 0x00007f6ed339dcad in QWidget::event (this=0x12c2e90, event=0x7fff6631ed30) at kernel/qwidget.cpp:7934
#67 0x00007f6ed373e21b in QFrame::event (this=0x12c2e90, e=0x7fff6631ed30) at widgets/qframe.cpp:557
#68 0x00007f6ec20b1a4d in PageView::viewportEvent(QEvent*) () from /opt/kde4/lib/kde4/okularpart.so
#69 0x00007f6ed41b6788 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x12d4bb0, event=0x7fff6631ed30) at kernel/qcoreapplication.cpp:819
#70 0x00007f6ed3347aec in QApplicationPrivate::notify_helper (this=0x111e8c0, receiver=0x12d4bb0, e=0x7fff6631ed30) at kernel/qapplication.cpp:4241
#71 0x00007f6ed334f61a in QApplication::notify (this=<value optimized out>, receiver=0x12d4bb0, e=0x7fff6631ed30) at kernel/qapplication.cpp:3885
#72 0x00007f6ed5080adb in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#73 0x00007f6ed41b735c in QCoreApplication::notifyInternal (this=0x7fff6631fbd0, receiver=0x12d4bb0, event=0x7fff6631ed30) at kernel/qcoreapplication.cpp:704
#74 0x00007f6ed33b9532 in QCoreApplication::sendSpontaneousEvent (this=<value optimized out>, global_x=<value optimized out>, global_y=<value optimized out>, delta=-240, buttons=..., modifiers=..., 
    orient=Qt::Vertical) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#75 QETWidget::translateWheelEvent (this=<value optimized out>, global_x=<value optimized out>, global_y=<value optimized out>, delta=-240, buttons=..., modifiers=..., orient=Qt::Vertical)
    at kernel/qapplication_x11.cpp:4397
#76 0x00007f6ed33c9dbd in QETWidget::translateMouseEvent (this=0x127a700, event=0x7fff6631f820) at kernel/qapplication_x11.cpp:4175
#77 0x00007f6ed33c8c3c in QApplication::x11ProcessEvent (this=0x7fff6631fbd0, event=0x7fff6631f820) at kernel/qapplication_x11.cpp:3499
#78 0x00007f6ed33f1bc2 in x11EventSourceDispatch (s=0x1122730, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#79 0x00007f6ecee3412a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#80 0x00007f6ecee37988 in ?? () from /lib/libglib-2.0.so.0
#81 0x00007f6ecee37b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#82 0x00007f6ed41e0d7c in QEventDispatcherGlib::processEvents (this=0x1106910, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#83 0x00007f6ed33f175f in QGuiEventDispatcherGlib::processEvents (this=0x11b1, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#84 0x00007f6ed41b5c62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#85 0x00007f6ed41b6034 in QEventLoop::exec (this=0x7fff6631fb50, flags=...) at kernel/qeventloop.cpp:201
#86 0x00007f6ed41b84c6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#87 0x0000000000408304 in main ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2009-11-08 21:29:42 UTC
The crash presents a crash very well inside the Qt code, nothing we can fix, moreover this crash in free seems like the problem lots of people is having due some problem in glibc, update/downgrade it if you have multithreaded applications like okular crashing