Bug 323397 - Crash creating a todo
Summary: Crash creating a todo
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-12 00:12 UTC by Volker Kuhlmann
Modified: 2017-01-07 22:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Kuhlmann 2013-08-12 00:12:19 UTC
Application: kontact (4.10.5)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I have 3 calendars configured.
One has a todo with sub todos, in which I added a sub todo, but stored in another calendar (because that's where I want it).
Turning the display of all calendars off except the one in whcih the sub todo was just added shows the sub todo, but not the todo. That's one of the possible expected behaviours.

Adding the todo into this calendar as well (it is empty and only there to provide a grouping heading) with the same name as already exists in the other calendar not currently displayed caused this crash.

The reason for splitting todos into different calendars is that these calendars are for different purposes and may be shared differently between local users.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x2b807adde2c0 (LWP 6720))]

Thread 3 (Thread 0x2b80804aa700 (LWP 6721)):
#0  0x00002b806f3fd964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002b806b4077c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00002b806b4077f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00002b806f3f9e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00002b8069ccb7dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x2b80807c3700 (LWP 6722)):
#0  0x00002b8069cc287d in poll () from /lib64/libc.so.6
#1  0x00002b80703b0aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00002b80703b0bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00002b80688f42e6 in QEventDispatcherGlib::processEvents (this=0xbaaa50, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00002b80688c4adf in QEventLoop::processEvents (this=this@entry=0x2b80807c2e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00002b80688c4d68 in QEventLoop::exec (this=0x2b80807c2e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00002b80687c70f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00002b80687ca0cc in QThreadPrivate::start (arg=0xba9d80) at thread/qthread_unix.cpp:338
#8  0x00002b806f3f9e0f in start_thread () from /lib64/libpthread.so.0
#9  0x00002b8069ccb7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x2b807adde2c0 (LWP 6720)):
[KCrash Handler]
#6  deref (this=0x10000001f) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  deref (value=0x1f00000001, d=0x100000013) at /usr/include/QtCore/qsharedpointer_impl.h:340
#8  internalCopy<Node> (other=..., this=0x1fd3570) at /usr/include/QtCore/qsharedpointer_impl.h:412
#9  operator= (other=..., this=0x1fd3570) at /usr/include/QtCore/qsharedpointer_impl.h:483
#10 qCopy<QSharedPointer<Node>*, QSharedPointer<Node>*> (dest=0x1fd3570, end=0x1fd36a0, begin=0x1fd3580) at /usr/include/QtCore/qalgorithms.h:82
#11 QVector<QSharedPointer<Node> >::erase (this=this@entry=0x10e6978, abegin=<optimized out>, aend=aend@entry=0x1fd3570) at /usr/include/QtCore/qvector.h:634
#12 0x00002b80c47a47f6 in remove (i=-1, this=0x10e6978) at /usr/include/QtCore/qvector.h:376
#13 IncidenceTreeModel::Private::insertNode (this=this@entry=0x10e6960, prenode=..., silent=silent@entry=false) at /usr/src/debug/kdepim-4.10.5/korganizer/views/todoview/incidencetreemodel.cpp:388
#14 0x00002b80c47a56a7 in IncidenceTreeModel::Private::onRowsInserted (this=0x10e6960, parent=..., begin=8, end=256) at /usr/src/debug/kdepim-4.10.5/korganizer/views/todoview/incidencetreemodel.cpp:298
#15 0x00002b80688db29f in QMetaObject::activate (sender=0xf602c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4ee32720) at kernel/qobject.cpp:3548
#16 0x00002b8068925974 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=8, _t3=256) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#17 0x00002b80688c069d in QAbstractItemModel::endInsertRows (this=0xf602c0) at kernel/qabstractitemmodel.cpp:2433
#18 0x00002b806938b994 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0xf602f0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:695
#19 0x00002b806938f238 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xf602f0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#20 0x00002b806938f5bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xf602f0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1297
#21 0x00002b80688db29f in QMetaObject::activate (sender=0x11e0a60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4ee32a80) at kernel/qobject.cpp:3548
#22 0x00002b8068925974 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=8, _t3=256) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#23 0x00002b80688c069d in QAbstractItemModel::endInsertRows (this=0x11e0a60) at kernel/qabstractitemmodel.cpp:2433
#24 0x00002b806938b994 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0xeec930, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:695
#25 0x00002b806938f238 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xeec930, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#26 0x00002b806938f5bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xeec930, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1297
#27 0x00002b80688db29f in QMetaObject::activate (sender=0xf7b200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4ee32de0) at kernel/qobject.cpp:3548
#28 0x00002b8068925974 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=8, _t3=256) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#29 0x00002b80688c069d in QAbstractItemModel::endInsertRows (this=0xf7b200) at kernel/qabstractitemmodel.cpp:2433
#30 0x00002b8067e4c100 in KSelectionProxyModelPrivate::insertSelectionIntoProxy (this=this@entry=0x1034870, selection=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/itemviews/kselectionproxymodel.cpp:1981
#31 0x00002b8067e4cc63 in KSelectionProxyModelPrivate::selectionChanged (this=0x1034870, _selected=..., _deselected=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/itemviews/kselectionproxymodel.cpp:1897
#32 0x00002b80688db29f in QMetaObject::activate (sender=0x109ee20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4ee33340) at kernel/qobject.cpp:3548
#33 0x00002b806935d3a7 in QItemSelectionModel::selectionChanged (this=this@entry=0x109ee20, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#34 0x00002b806936251d in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x109ee20, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#35 0x00002b806936320c in QItemSelectionModel::select (this=0x109ee20, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#36 0x00002b8067e1e3ad in KCheckableProxyModel::select (this=this@entry=0x100fb70, selection=..., command=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/itemviews/kcheckableproxymodel.cpp:130
#37 0x00002b8067e1e62e in KCheckableProxyModel::setData (this=0x100fb70, index=..., value=..., role=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/kdeui/itemviews/kcheckableproxymodel.cpp:105
#38 0x00002b80c473f5ba in KOCheckableProxyModel::setData (this=0x100fb70, index=..., value=..., role=10) at /usr/src/debug/kdepim-4.10.5/korganizer/kocheckableproxymodel.cpp:39
#39 0x00002b806938983e in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=10) at itemviews/qsortfilterproxymodel.cpp:1747
#40 0x00002b806938983e in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=10) at itemviews/qsortfilterproxymodel.cpp:1747
#41 0x00002b806938983e in QSortFilterProxyModel::setData (this=this@entry=0xe89570, index=..., value=..., role=role@entry=10) at itemviews/qsortfilterproxymodel.cpp:1747
#42 0x00002b80693aae95 in QStyledItemDelegate::editorEvent (this=0x10e7c80, event=0x7fff4ee34690, model=0xe89570, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:758
#43 0x00002b806930a3e7 in QAbstractItemViewPrivate::sendDelegateEvent (this=this@entry=0x107cc00, index=..., event=event@entry=0x7fff4ee34690) at itemviews/qabstractitemview.cpp:4184
#44 0x00002b806931064c in QAbstractItemView::edit (this=this@entry=0xf2b8a0, index=..., trigger=trigger@entry=QAbstractItemView::NoEditTriggers, event=event@entry=0x7fff4ee34690) at itemviews/qabstractitemview.cpp:2560
#45 0x00002b806930a920 in QAbstractItemView::mouseReleaseEvent (this=0xf2b8a0, event=0x7fff4ee34690) at itemviews/qabstractitemview.cpp:1802
#46 0x00002b8068e53149 in QWidget::event (this=0xf2b8a0, event=0x7fff4ee34690) at kernel/qwidget.cpp:8375
#47 0x00002b80691fdf26 in QFrame::event (this=0xf2b8a0, e=0x7fff4ee34690) at widgets/qframe.cpp:557
#48 0x00002b806930981b in QAbstractItemView::viewportEvent (this=0xf2b8a0, event=0x7fff4ee34690) at itemviews/qabstractitemview.cpp:1644
#49 0x00002b806934e0d1 in QTreeView::viewportEvent (this=0xf2b8a0, event=0x7fff4ee34690) at itemviews/qtreeview.cpp:1257
#50 0x00002b80688c5ef6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xf3c390, event=0x7fff4ee34690) at kernel/qcoreapplication.cpp:1056
#51 0x00002b8068e0383c in QApplicationPrivate::notify_helper (this=this@entry=0xba7da0, receiver=receiver@entry=0xf3c390, e=e@entry=0x7fff4ee34690) at kernel/qapplication.cpp:4558
#52 0x00002b8068e0854b in QApplication::notify (this=<optimized out>, receiver=0xf3c390, e=0x7fff4ee34690) at kernel/qapplication.cpp:4105
#53 0x00002b8067e5d7f6 in KApplication::notify (this=0x7fff4ee35360, receiver=0xf3c390, event=0x7fff4ee34690) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#54 0x00002b80688c5d8e in QCoreApplication::notifyInternal (this=0x7fff4ee35360, receiver=0xf3c390, event=0x7fff4ee34690) at kernel/qcoreapplication.cpp:946
#55 0x00002b8068e046ab in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#56 QApplicationPrivate::sendMouseEvent (receiver=0xf3c390, event=0x7fff4ee34690, alienWidget=0xf3c390, nativeWidget=0xeb2f00, buttonDown=0x2b80698d8268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#57 0x00002b8068e7ee94 in QETWidget::translateMouseEvent (this=this@entry=0xeb2f00, event=event@entry=0x7fff4ee34e00) at kernel/qapplication_x11.cpp:4527
#58 0x00002b8068e7dc21 in QApplication::x11ProcessEvent (this=0x7fff4ee35360, event=0x7fff4ee34e00) at kernel/qapplication_x11.cpp:3650
#59 0x00002b8068ea3fa2 in x11EventSourceDispatch (s=0xba8e20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00002b80703b07d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#61 0x00002b80703b0b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#62 0x00002b80703b0bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#63 0x00002b80688f42c6 in QEventDispatcherGlib::processEvents (this=0xb9bcf0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0x00002b8068ea3c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00002b80688c4adf in QEventLoop::processEvents (this=this@entry=0x7fff4ee351d0, flags=...) at kernel/qeventloop.cpp:149
#66 0x00002b80688c4d68 in QEventLoop::exec (this=0x7fff4ee351d0, flags=...) at kernel/qeventloop.cpp:204
#67 0x00002b80688c9a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#68 0x0000000000403679 in ?? ()
#69 0x00002b8069c04a15 in __libc_start_main () from /lib64/libc.so.6
#70 0x0000000000403be1 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:24:57 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:46:30 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.