[Okular-devel] [Bug 218997] New: Okular crashs wen scrolling fast [__libc_message, malloc_printerr, ~QVector]

etienne etienner at student.ethz.ch
Wed Dec 16 23:06:38 CET 2009


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

           Summary: Okular crashs wen scrolling fast [__libc_message,
                    malloc_printerr, ~QVector]
           Product: okular
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: etienner at student.ethz.ch


Application: okular (0.9.80)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
When scrolling quickly okular suddently crash. I reproduced the bug more than
once.

The crash can be reproduced everytime.

 -- Backtrace:
Application: Okular (okular), signal: Aborted
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007f0fbf39d4b5 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f0fbf3a0f50 in *__GI_abort () at abort.c:92
#7  0x00007f0fbf3d5c97 in __libc_message (do_abort=<value optimized out>,
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f0fbf3dfdd6 in malloc_printerr (action=3, str=0x7f0fbf49e7da
"free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f0fbfd12f5b in ~QVector (this=<value optimized out>, data=0x2d22620)
at ../../include/QtCore/../../src/corelib/tools/qvector.h:119
#10 ~QPolygonF (this=<value optimized out>, data=0x2d22620) at
../../include/QtGui/../../src/gui/painting/qpolygon.h:136
#11 QList<QPolygonF>::node_destruct (this=<value optimized out>,
data=0x2d22620) at ../../include/QtCore/../../src/corelib/tools/qlist.h:402
#12 QList<QPolygonF>::free (this=<value optimized out>, data=0x2d22620) at
../../include/QtCore/../../src/corelib/tools/qlist.h:646
#13 0x00007f0fbfda878f in QX11PaintEnginePrivate::fillPath (this=0x2aa9b70,
path=..., gc_mode=<value optimized out>, transform=<value optimized out>) at
painting/qpaintengine_x11.cpp:1756
#14 0x00007f0fbfda912f in QX11PaintEngine::drawPath (this=<value optimized
out>, path=<value optimized out>) at painting/qpaintengine_x11.cpp:1805
#15 0x00007f0fbfda8cf4 in QX11PaintEngine::drawPolygon (this=0x29dc3a0,
polygonPoints=<value optimized out>, pointCount=3, mode=<value optimized out>)
at painting/qpaintengine_x11.cpp:1712
#16 0x00007f0fbfd0044c in QPainter::drawPolyline (this=<value optimized out>,
points=0x2cf9640, pointCount=3) at painting/qpainter.cpp:4712
#17 0x00007f0fb8298a3f in QPainter::drawPolyline (this=0x25cb970,
widgetType=<value optimized out>, primitive=<value optimized out>, opt=<value
optimized out>, r=<value optimized out>, pal=..., 
    flags=..., p=0x7ffffbb1abd0, widget=0x27f0ff0, kOpt=0x7ffffbb191f0) at
/usr/include/qt4/QtGui/qpainter.h:581
#18 OxygenStyle::drawGenericPrimitive (this=0x25cb970, widgetType=<value
optimized out>, primitive=<value optimized out>, opt=<value optimized out>,
r=<value optimized out>, pal=..., flags=..., 
    p=0x7ffffbb1abd0, widget=0x27f0ff0, kOpt=0x7ffffbb191f0) at
../../../kstyles/oxygen/oxygen.cpp:2966
#19 0x00007f0fb8289501 in OxygenStyle::drawKStylePrimitive (this=0x25cb970,
widgetType=KStyle::WT_ScrollBar, primitive=<value optimized out>,
opt=0x7ffffbb19dd0, r=<value optimized out>, 
    palette=<value optimized out>, flags=) at
../../../kstyles/oxygen/oxygen.cpp:634
#20 0x00007f0fc146ffe8 in KStyle::drawControl (this=0x25cb970, element=<value
optimized out>, option=0x7ffffbb19dd0, p=<value optimized out>,
widget=0x27f0ff0) at ../../kdeui/kernel/kstyle.cpp:2216
#21 0x00007f0fb828f49f in OxygenStyle::drawControl (this=0x25cb970,
element=13486, option=0x7ffffbb19dd0, p=0x7ffffbb1abd0, widget=0x27f0ff0) at
../../../kstyles/oxygen/oxygen.cpp:504
#22 0x00007f0fbfebbdba in QCommonStyle::drawComplexControl (this=0x25cb970,
cc=<value optimized out>, opt=0x7ffffbb1ab50, p=0x7ffffbb1abd0,
widget=0x27f0ff0) at styles/qcommonstyle.cpp:3178
#23 0x00007f0fc146a12e in KStyle::drawComplexControl (this=0x25cb970,
cc=QStyle::CC_ScrollBar, opt=0x7ffffbb1ab50, p=<value optimized out>,
w=0x27f0ff0) at ../../kdeui/kernel/kstyle.cpp:3582
#24 0x00007f0fbfff32ff in QScrollBar::paintEvent (this=0x27f0ff0) at
widgets/qscrollbar.cpp:547
#25 0x00007f0fbfbfc175 in QWidget::event (this=0x27f0ff0, event=0x7ffffbb1b350)
at kernel/qwidget.cpp:8120
#26 0x00007f0fbfba6e8c in QApplicationPrivate::notify_helper (this=0x2583c50,
receiver=0x27f0ff0, e=0x7ffffbb1b350) at kernel/qapplication.cpp:4242
#27 0x00007f0fbfbad48d in QApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x27f0ff0, e=0x7ffffbb1b350) at kernel/qapplication.cpp:4125
#28 0x00007f0fc145c666 in KApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x27f0ff0, event=0x7ffffbb1b350) at
../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f0fc07e504c in QCoreApplication::notifyInternal
(this=0x7ffffbb1fbf0, receiver=0x27f0ff0, event=0x7ffffbb1b350) at
kernel/qcoreapplication.cpp:704
#30 0x00007f0fbfc0472d in QCoreApplication::sendSpontaneousEvent
(this=0x28d8f10, pdev=<value optimized out>, rgn=..., offset=<value optimized
out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 QWidgetPrivate::drawWidget (this=0x28d8f10, pdev=<value optimized out>,
rgn=..., offset=<value optimized out>, flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x297ad60)
    at kernel/qwidget.cpp:5322
#32 0x00007f0fbfc053b8 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x297ad60) at kernel/qwidget.cpp:5435
#33 0x00007f0fbfc0448a in QWidgetPrivate::drawWidget (this=0x28d8c70,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at kernel/qwidget.cpp:5371
#34 0x00007f0fbfc053b8 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=76, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x297ad60) at kernel/qwidget.cpp:5435
#35 0x00007f0fbfc0448a in QWidgetPrivate::drawWidget (this=0x28d6e00,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at kernel/qwidget.cpp:5371
#36 0x00007f0fbfc053b8 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=3, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x297ad60) at kernel/qwidget.cpp:5435
#37 0x00007f0fbfc0448a in QWidgetPrivate::drawWidget (this=0x28b0de0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at kernel/qwidget.cpp:5371
#38 0x00007f0fbfc053b8 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x297ad60) at kernel/qwidget.cpp:5435
#39 0x00007f0fbfc0448a in QWidgetPrivate::drawWidget (this=0x26b3820,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at kernel/qwidget.cpp:5371
#40 0x00007f0fbfc053b8 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x297ad60) at kernel/qwidget.cpp:5435
#41 0x00007f0fbfc0448a in QWidgetPrivate::drawWidget (this=0x26979b0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at kernel/qwidget.cpp:5371
#42 0x00007f0fbfc053b8 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x297ad60) at kernel/qwidget.cpp:5435
#43 0x00007f0fbfc0448a in QWidgetPrivate::drawWidget (this=0x2676bc0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x297ad60) at kernel/qwidget.cpp:5371
#44 0x00007f0fbfdbaed5 in QWidgetBackingStore::sync (this=0x297ad60) at
painting/qbackingstore.cpp:1289
#45 0x00007f0fbfbf5b60 in QWidgetPrivate::syncBackingStore (this=0x2676bc0) at
kernel/qwidget.cpp:1662
#46 0x00007f0fbfbfc885 in QWidget::event (this=0x2676a40, event=0x7ffffbb1da70)
at kernel/qwidget.cpp:8266
#47 0x00007f0fbffbac9b in QMainWindow::event (this=0x2676a40,
event=0x7ffffbb1da70) at widgets/qmainwindow.cpp:1434
#48 0x00007f0fc1573543 in KXmlGuiWindow::event (this=0x34ae, ev=0x34ae) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x00007f0fbfba6e8c in QApplicationPrivate::notify_helper (this=0x2583c50,
receiver=0x2676a40, e=0x7ffffbb1da70) at kernel/qapplication.cpp:4242
#50 0x00007f0fbfbad48d in QApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x2676a40, e=0x7ffffbb1da70) at kernel/qapplication.cpp:4125
#51 0x00007f0fc145c666 in KApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x2676a40, event=0x7ffffbb1da70) at
../../kdeui/kernel/kapplication.cpp:302
#52 0x00007f0fc07e504c in QCoreApplication::notifyInternal
(this=0x7ffffbb1fbf0, receiver=0x2676a40, event=0x7ffffbb1da70) at
kernel/qcoreapplication.cpp:704
#53 0x00007f0fbfdb8257 in QCoreApplication::sendEvent (widget=0x2676a40,
updateImmediately=<value optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 sendUpdateRequest (widget=0x2676a40, updateImmediately=<value optimized
out>) at painting/qbackingstore.cpp:503
#55 0x00007f0fbfdbb6d6 in QWidgetBackingStore::markDirty (this=0x297ad60,
rect=..., widget=0x28d70d0, updateImmediately=true, invalidateBuffer=2) at
painting/qbackingstore.cpp:667
#56 0x00007f0fbfbf84cb in QWidget::repaint (this=0x28d70d0, rect=...) at
kernel/qwidget.cpp:10008
#57 0x00007f0fb6c4a180 in PageView::scrollContentsBy (this=0x28ca7c0, dx=<value
optimized out>, dy=<value optimized out>) at ../../okular/ui/pageview.cpp:2252
#58 0x00007f0fc002aec0 in QAbstractScrollArea::qt_metacall (this=0x28ca7c0,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffffbb1ddf0) at
.moc/release-shared/moc_qabstractscrollarea.cpp:85
#59 0x00007f0fb6c55380 in PageView::qt_metacall (this=0x34ae, _c=13486, _id=6,
_a=0xffffffffffffffff) at ./pageview.moc:151
#60 0x00007f0fc07f7dc3 in QMetaObject::activate (sender=0x27f0ff0, m=<value
optimized out>, local_signal_index=<value optimized out>,
argv=0xffffffffffffffff) at kernel/qobject.cpp:3294
#61 0x00007f0fc023b06e in QAbstractSlider::valueChanged (this=0x34ae, _t1=9797)
at .moc/release-shared/moc_qabstractslider.cpp:182
#62 0x00007f0fbff5b7f0 in QAbstractSlider::wheelEvent (this=0x27f0ff0,
e=0x7ffffbb1ed90) at widgets/qabstractslider.cpp:724
#63 0x00007f0fbfbfc8c0 in QWidget::event (this=0x27f0ff0, event=0x7ffffbb1ed90)
at kernel/qwidget.cpp:7982
#64 0x00007f0fbfba6e8c in QApplicationPrivate::notify_helper (this=0x2583c50,
receiver=0x27f0ff0, e=0x7ffffbb1ed90) at kernel/qapplication.cpp:4242
#65 0x00007f0fbfbada70 in QApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x27f0ff0, e=0x7ffffbb1ed90) at kernel/qapplication.cpp:3877
#66 0x00007f0fc145c666 in KApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x27f0ff0, event=0x7ffffbb1ed90) at
../../kdeui/kernel/kapplication.cpp:302
#67 0x00007f0fc07e504c in QCoreApplication::notifyInternal
(this=0x7ffffbb1fbf0, receiver=0x27f0ff0, event=0x7ffffbb1ed90) at
kernel/qcoreapplication.cpp:704
#68 0x00007f0fb6c53279 in PageView::wheelEvent (this=0x28ca7c0,
e=0x7ffffbb1ed90) at ../../okular/ui/pageview.cpp:2172
#69 0x00007f0fbfbfc8c0 in QWidget::event (this=0x28ca7c0, event=0x7ffffbb1ed90)
at kernel/qwidget.cpp:7982
#70 0x00007f0fbff9fe16 in QFrame::event (this=0x28ca7c0, e=0x7ffffbb1ed90) at
widgets/qframe.cpp:557
#71 0x00007f0fb6c4cc4d in PageView::viewportEvent (this=0x28ca7c0,
e=0x7ffffbb1ed90) at ../../okular/ui/pageview.cpp:2240
#72 0x00007f0fc07e4467 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x28d70d0, event=0x7ffffbb1ed90) at
kernel/qcoreapplication.cpp:819
#73 0x00007f0fbfba6e5c in QApplicationPrivate::notify_helper (this=0x2583c50,
receiver=0x28d70d0, e=0x7ffffbb1ed90) at kernel/qapplication.cpp:4238
#74 0x00007f0fbfbada70 in QApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x28d70d0, e=0x7ffffbb1ed90) at kernel/qapplication.cpp:3877
#75 0x00007f0fc145c666 in KApplication::notify (this=0x7ffffbb1fbf0,
receiver=0x28d70d0, event=0x7ffffbb1ed90) at
../../kdeui/kernel/kapplication.cpp:302
#76 0x00007f0fc07e504c in QCoreApplication::notifyInternal
(this=0x7ffffbb1fbf0, receiver=0x28d70d0, event=0x7ffffbb1ed90) at
kernel/qcoreapplication.cpp:704
#77 0x00007f0fbfc1c037 in QCoreApplication::sendSpontaneousEvent (this=<value
optimized out>, global_x=<value optimized out>, global_y=<value optimized out>,
delta=<value optimized out>, buttons=)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#78 QETWidget::translateWheelEvent (this=<value optimized out>, global_x=<value
optimized out>, global_y=<value optimized out>, delta=<value optimized out>,
buttons=)
    at kernel/qapplication_x11.cpp:4405
#79 0x00007f0fbfc2b5d6 in QETWidget::translateMouseEvent (this=0x2676a40,
event=0x7ffffbb1f810) at kernel/qapplication_x11.cpp:4183
#80 0x00007f0fbfc29d6a in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7ffffbb1f810) at kernel/qapplication_x11.cpp:3501
#81 0x00007f0fbfc55712 in x11EventSourceDispatch (s=0x2587ad0, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#82 0x00007f0fbbb64bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#83 0x00007f0fbbb68588 in ?? () from /lib/libglib-2.0.so.0
#84 0x00007f0fbbb686b0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#85 0x00007f0fc080e623 in QEventDispatcherGlib::processEvents (this=0x256b890,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#86 0x00007f0fbfc552fe in QGuiEventDispatcherGlib::processEvents (this=0x34ae,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#87 0x00007f0fc07e3972 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#88 0x00007f0fc07e3d4c in QEventLoop::exec (this=0x7ffffbb1fb40, flags=) at
kernel/qeventloop.cpp:201
#89 0x00007f0fc07e7a8b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#90 0x00000000004088dc in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../okular/shell/main.cpp:81

Possible duplicates by query: bug 215345.

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