Bug 234570

Summary: Crash while adding buttons to KOrg main toolbar
Product: [Unmaintained] kdelibs Reporter: Sabine Faure <sabine>
Component: kdeuiAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: blustone, cfeck, montel, rickybrag
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Sabine Faure 2010-04-16 23:38:37 UTC
Application: korganizer (4.5 pre-svn-1115106 (2010-04-15))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
- Launch KOrg
- Go to Settings menu/configure Toolbars
- Select 'Main toolbar'
- Click on 'Copy' and add it to the toolbar
- Click on 'Delete' and add it to the toolbar
- Use the search field to find 'Paste' and type: pa..

Before you can finish typing the word KOrg crashes.

I retested this bug several times because it did not make sense: it does not happen if I use the search field to find the items and then add them.
But since I can reproduce it everytime I am reporting it.

Trunk, Svn Rev 1115397

The crash can be reproduced every time.

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Aborted
[KCrash Handler]
#5  0x00007fcf63a71a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fcf63a755c0 in *__GI_abort () at abort.c:92
#7  0x00007fcf64aa5c3d in qt_message_output (msgType=QtFatalMsg, 
    buf=0x3557858 "ASSERT failure in QVector<T>::at: \"index out of range\", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 338") at global/qglobal.cpp:2250
#8  0x00007fcf64aa5e3f in qt_message (msgType=QtFatalMsg, msg=0x7fcf64c679b0 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff76365c20) at global/qglobal.cpp:2296
#9  0x00007fcf64aa66ac in qFatal (msg=0x7fcf64c679b0 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2479
#10 0x00007fcf64aa580f in qt_assert_x (where=0x7fcf663e6fa9 "QVector<T>::at", what=0x7fcf663e6f7f "index out of range", file=0x7fcf663e6f48 "../../include/QtCore/../../src/corelib/tools/qvector.h", 
    line=338) at global/qglobal.cpp:2021
#11 0x00007fcf65c61605 in QVector<int>::at (this=0x30cfc18, i=13) at ../../include/QtCore/../../src/corelib/tools/qvector.h:338
#12 0x00007fcf66257a03 in QListModeViewBase::scrollContentsBy (this=0x30cfbd0, dx=0, dy=13, scrollElasticBand=false) at itemviews/qlistview.cpp:2168
#13 0x00007fcf6625051e in QListView::scrollContentsBy (this=0x3316a30, dx=0, dy=13) at itemviews/qlistview.cpp:705
#14 0x00007fcf66183a6d in QAbstractScrollAreaPrivate::_q_vslide (this=0x3316e20, y=0) at widgets/qabstractscrollarea.cpp:1310
#15 0x00007fcf66183f31 in QAbstractScrollArea::qt_metacall (this=0x3316a30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff76366160) at .moc/debug-shared/moc_qabstractscrollarea.cpp:85
#16 0x00007fcf6623ba8f in QAbstractItemView::qt_metacall (this=0x3316a30, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff76366160) at .moc/debug-shared/moc_qabstractitemview.cpp:213
#17 0x00007fcf663dc9a3 in QListView::qt_metacall (this=0x3316a30, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff76366160) at .moc/debug-shared/moc_qlistview.cpp:111
#18 0x00007fcf662a54eb in QListWidget::qt_metacall (this=0x3316a30, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff76366160) at .moc/debug-shared/moc_qlistwidget.cpp:123
#19 0x00007fcf6b42a359 in KDEPrivate::ToolBarListWidget::qt_metacall (this=0x3316a30, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff76366160)
    at /d/kde/build/t/kdelibs/kdeui/kedittoolbar_p.moc:69
#20 0x00007fcf64be6557 in QMetaObject::metacall (object=0x3316a30, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0x7fff76366160) at kernel/qmetaobject.cpp:237
#21 0x00007fcf64bfc9d5 in QMetaObject::activate (sender=0x3317550, m=0x7fcf66876840, local_signal_index=0, argv=0x7fff76366160) at kernel/qobject.cpp:3293
#22 0x00007fcf663d483e in QAbstractSlider::valueChanged (this=0x3317550, _t1=0) at .moc/debug-shared/moc_qabstractslider.cpp:182
#23 0x00007fcf66088950 in QAbstractSlider::setValue (this=0x3317550, value=0) at widgets/qabstractslider.cpp:542
#24 0x00007fcf66087fa2 in QAbstractSlider::setRange (this=0x3317550, min=0, max=-1) at widgets/qabstractslider.cpp:251
#25 0x00007fcf66256de7 in QListModeViewBase::updateVerticalScrollBar (this=0x30cfbd0, step=...) at itemviews/qlistview.cpp:2021
#26 0x00007fcf66254445 in QListView::updateGeometries (this=0x3316a30) at itemviews/qlistview.cpp:1484
#27 0x00007fcf6622f58d in QAbstractItemView::doItemsLayout (this=0x3316a30) at itemviews/qabstractitemview.cpp:1135
#28 0x00007fcf6625424a in QListView::doItemsLayout (this=0x3316a30) at itemviews/qlistview.cpp:1466
#29 0x00007fcf66234652 in QAbstractItemView::timerEvent (this=0x3316a30, event=0x7fff76367130) at itemviews/qabstractitemview.cpp:2365
#30 0x00007fcf66250ae3 in QListView::timerEvent (this=0x3316a30, e=0x7fff76367130) at itemviews/qlistview.cpp:817
#31 0x00007fcf64bf81a7 in QObject::event (this=0x3316a30, e=0x7fff76367130) at kernel/qobject.cpp:1212
#32 0x00007fcf65c9da54 in QWidget::event (this=0x3316a30, event=0x7fff76367130) at kernel/qwidget.cpp:8455
#33 0x00007fcf660de793 in QFrame::event (this=0x3316a30, e=0x7fff76367130) at widgets/qframe.cpp:557
#34 0x00007fcf661835f3 in QAbstractScrollArea::event (this=0x3316a30, e=0x7fff76367130) at widgets/qabstractscrollarea.cpp:989
#35 0x00007fcf66230022 in QAbstractItemView::event (this=0x3316a30, event=0x7fff76367130) at itemviews/qabstractitemview.cpp:1546
#36 0x00007fcf662548f3 in QListView::event (this=0x3316a30, e=0x7fff76367130) at itemviews/qlistview.cpp:1624
#37 0x00007fcf662a5423 in QListWidget::event (this=0x3316a30, e=0x7fff76367130) at itemviews/qlistwidget.cpp:1902
#38 0x00007fcf65c357aa in QApplicationPrivate::notify_helper (this=0x19795e0, receiver=0x3316a30, e=0x7fff76367130) at kernel/qapplication.cpp:4304
#39 0x00007fcf65c35602 in QApplication::notify (this=0x7fff76367570, receiver=0x3316a30, e=0x7fff76367130) at kernel/qapplication.cpp:4269
#40 0x00007fcf6b4c25a7 in KApplication::notify (this=0x7fff76367570, receiver=0x3316a30, event=0x7fff76367130) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302
#41 0x00007fcf64bde3f8 in QCoreApplication::notifyInternal (this=0x7fff76367570, receiver=0x3316a30, event=0x7fff76367130) at kernel/qcoreapplication.cpp:704
#42 0x00007fcf6873e0af in QCoreApplication::sendEvent(QObject*, QEvent*) () from /d/qt/4/kde-qt/lib/libQt3Support.so.4
#43 0x00007fcf64c1ec73 in QTimerInfoList::activateTimers (this=0x19880a0) at kernel/qeventdispatcher_unix.cpp:603
#44 0x00007fcf64c19f3b in timerSourceDispatch (source=0x1988040) at kernel/qeventdispatcher_glib.cpp:184
#45 0x00007fcf64c1a022 in idleTimerSourceDispatch (source=0x1988100) at kernel/qeventdispatcher_glib.cpp:231
#46 0x00007fcf5efc78c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x00007fcf5efcb748 in ?? () from /lib/libglib-2.0.so.0
#48 0x00007fcf5efcb8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00007fcf64c1b3d3 in QEventDispatcherGlib::processEvents (this=0x194b7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0x00007fcf65d064c0 in QGuiEventDispatcherGlib::processEvents (this=0x194b7a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007fcf64bdb3f0 in QEventLoop::processEvents (this=0x7fff76367500, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007fcf64bdb546 in QEventLoop::exec (this=0x7fff76367500, flags=...) at kernel/qeventloop.cpp:201
#53 0x00007fcf64bdeafa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0x00007fcf65c329ec in QApplication::exec () at kernel/qapplication.cpp:3583
#55 0x0000000000408c44 in main (argc=1, argv=0x7fff76367778) at /d/kde/src/t/kdepim/korganizer/main.cpp:65

Reported using DrKonqi
Comment 1 Sabine Faure 2010-04-17 02:14:13 UTC
This bug is definitively linked to the search available actions field.
However, it is not always reproducable if just typing a few letters in the field.
To reproduce it, use the steps above.

Trunk, Svn Rev 1115397
Comment 2 Laurent Montel 2010-04-19 11:57:37 UTC
I can"t reproduce it with kdelibs trunk
Perhaps a kde 4.4.x bugs.
It's not a korg but but a kdelibs bug
Comment 3 Ricardo 2010-06-10 02:48:19 UTC
Created attachment 47842 [details]
New crash information added by DrKonqi

-- Information about the crash:
- Launch KOrg
- Go to Settings menu/configure Toolbars
- Select 'Main toolbar'
- Use the search field to find 'Filters' and type: fil...
Comment 4 Christoph Feck 2010-08-09 00:15:38 UTC

*** This bug has been marked as a duplicate of bug 229941 ***
Comment 5 Sabine Faure 2010-08-27 21:07:54 UTC
I retested this today and it still crashes in exactly the same way.

According to bug #229941 from which this one is a duplicate this is a Qt bug.

Trunk, Svn Rev 1168877
Comment 6 Christoph Feck 2010-09-04 15:28:12 UTC
Sabine, did the crash happen with Qt 4.6.3?
Comment 7 caulier.gilles 2010-12-07 13:52:05 UTC
*** Bug 259111 has been marked as a duplicate of this bug. ***