Bug 206306 - Kontact suddenly crashed without interaction (KOTodoModel::parent, KOTodoViewSortFilterProxyModel::lessThan)
Summary: Kontact suddenly crashed without interaction (KOTodoModel::parent, KOTodoView...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-05 00:06 UTC by c0der
Modified: 2009-09-05 12:30 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 c0der 2009-09-05 00:06:25 UTC
Application that crashed: kontact
Version of the application: 4.3.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Kontact was running in the background and sudenly it crashed without any user interaction.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f25343a837a in KOTodoModel::parent (this=0x3909f10, child=@0x7fff5d7ae280) at /build/buildd/kdepim-4.3.1/korganizer/views/todoview/kotodomodel.cpp:635
#6  0x00007f25343b0c30 in KOTodoViewSortFilterProxyModel::lessThan (this=0x398adc0, left=@0x7fff5d7ae280, right=@0x7fff5d7ae260) at /usr/include/qt4/QtCore/qabstractitemmodel.h:372
#7  0x00007f2550de9a56 in QAlgorithmsPrivate::qMerge<int*, int const, QSortFilterProxyModelGreaterThan> (begin=0x7f252401d434, pivot=<value optimized out>, end=0x7f252401d43c, t=@0x7f252401d430, 
    lessThan={sort_column = 1568334560, source_parent = {r = 1568334144, c = 32767, p = 0x1, m = 0x0}, source_model = 0x7f252401f600, proxy_model = 0x7f254fd09480})
    at itemviews/qsortfilterproxymodel.cpp:94
#8  0x00007f2550dea098 in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelGreaterThan> (begin=0x7f252401d434, end=0x7f252401d43c, t=@0x7f252401d430, lessThan=
      {sort_column = 1568334800, source_parent = {r = 0, c = 0, p = 0x7fff5d7ae280, m = 0x3909f10}, source_model = 0x7fff5d7ae000, proxy_model = 0x7f252401d43c})
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:487
#9  0x00007f2550dea03b in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelGreaterThan> (begin=0x7f252401d430, end=0x7f252401d43c, t=@0x7f252401d430, lessThan=
      {sort_column = 1568335040, source_parent = {r = 0, c = 0, p = 0x7fff5d7ae280, m = 0x3909f10}, source_model = 0x7fff5d7ae000, proxy_model = 0x7f252401d43c})
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:486
#10 0x00007f2550de9fde in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelGreaterThan> (begin=0x7f252401d430, end=0x7f252401d448, t=@0x7f252401d430, lessThan=
      {sort_column = 1568335200, source_parent = {r = 0, c = 0, p = 0x7fff5d7ae280, m = 0x3909f10}, source_model = 0x7fff5d7ae000, proxy_model = 0x7f252401d448})
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:485
#11 0x00007f2550de2f1a in QSortFilterProxyModelPrivate::sort_source_rows (this=<value optimized out>, source_rows=@0x7f252401d3e0, source_parent=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:229
#12 0x00007f2550de4c01 in QSortFilterProxyModelPrivate::sort (this=0x38f7b30) at itemviews/qsortfilterproxymodel.cpp:362
#13 0x00007f2550de6cfa in QSortFilterProxyModel::qt_metacall (this=0x398adc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5d7ae7c0)
    at .moc/release-shared/moc_qsortfilterproxymodel.cpp:126
#14 0x00007f25343b07d5 in KOTodoViewSortFilterProxyModel::qt_metacall (this=0x7fff5d7ae000, _c=59809552, _id=1568334464, _a=0x0)
    at /build/buildd/kdepim-4.3.1/obj-x86_64-linux-gnu/korganizer/kotodoviewsortfilterproxymodel.moc:62
#15 0x00007f254fcfeea2 in QMetaObject::activate (sender=0x3909f10, from_signal_index=<value optimized out>, to_signal_index=9, argv=0x0) at kernel/qobject.cpp:3113
#16 0x00007f254fd35864 in QAbstractItemModel::rowsInserted (this=0x7fff5d7ae000, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:159
#17 0x00007f254fce48e5 in QAbstractItemModel::endInsertRows (this=0x3909f10) at kernel/qabstractitemmodel.cpp:2081
#18 0x00007f25343aa083 in KOTodoModel::insertTodo (this=0x3909f10, todo=0x7f252c018f70, checkRelated=<value optimized out>) at /build/buildd/kdepim-4.3.1/korganizer/views/todoview/kotodomodel.cpp:541
#19 0x00007f25343aa418 in KOTodoModel::insertTodo (this=0x3909f10, todo=0x7f252c048060, checkRelated=<value optimized out>) at /build/buildd/kdepim-4.3.1/korganizer/views/todoview/kotodomodel.cpp:520
#20 0x00007f25343ab284 in KOTodoModel::reloadTodos (this=0x3909f10) at /build/buildd/kdepim-4.3.1/korganizer/views/todoview/kotodomodel.cpp:234
#21 0x00007f2533e57647 in KOrg::BaseView::qt_metacall (this=0x399d6a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5d7aee90)
    at /build/buildd/kdepim-4.3.1/obj-x86_64-linux-gnu/korganizer/interfaces/korganizer/baseview.moc:141
#22 0x00007f25343b6815 in KOTodoView::qt_metacall (this=0x7fff5d7ae000, _c=59809552, _id=1568334464, _a=0x0) at /build/buildd/kdepim-4.3.1/obj-x86_64-linux-gnu/korganizer/kotodoview.moc:114
#23 0x00007f254fcfeea2 in QMetaObject::activate (sender=0x38e5880, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#24 0x00007f253437a842 in DateChecker::dayPassed (this=0x7fff5d7ae000, _t1=<value optimized out>) at /build/buildd/kdepim-4.3.1/obj-x86_64-linux-gnu/korganizer/datechecker.moc:88
#25 0x00007f253437a8d6 in DateChecker::passedMidnight (this=0x38e5880) at /build/buildd/kdepim-4.3.1/korganizer/datechecker.cpp:76
#26 0x00007f253437a91b in DateChecker::possiblyPastMidnight (this=0x38e5880) at /build/buildd/kdepim-4.3.1/korganizer/datechecker.cpp:82
#27 0x00007f253437aa18 in DateChecker::qt_metacall (this=0x38e5880, _c=QMetaObject::InvokeMetaMethod, _id=655456, _a=0x7fff5d7aefd0)
    at /build/buildd/kdepim-4.3.1/obj-x86_64-linux-gnu/korganizer/datechecker.moc:75
#28 0x00007f254fcfeea2 in QMetaObject::activate (sender=0x38e5d50, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#29 0x00007f254fcf9263 in QObject::event (this=0x38e5d50, e=0x3909f10) at kernel/qobject.cpp:1075
#30 0x00007f2550869f4d in QApplicationPrivate::notify_helper (this=0x20e26d0, receiver=0x38e5d50, e=0x7fff5d7af680) at kernel/qapplication.cpp:4056
#31 0x00007f255087218a in QApplication::notify (this=0x7fff5d7af9d0, receiver=0x38e5d50, e=0x7fff5d7af680) at kernel/qapplication.cpp:4021
#32 0x00007f2551c6edeb in KApplication::notify (this=0x7fff5d7af9d0, receiver=0x38e5d50, event=0x7fff5d7af680) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#33 0x00007f254fce96ac in QCoreApplication::notifyInternal (this=0x7fff5d7af9d0, receiver=0x38e5d50, event=0x7fff5d7af680) at kernel/qcoreapplication.cpp:610
#34 0x00007f254fd16516 in QTimerInfoList::activateTimers (this=0x20de3d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#35 0x00007f254fd12b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#36 0x00007f254943a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x00007f254943d8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00007f254943da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0x00007f254fd12a8f in QEventDispatcherGlib::processEvents (this=0x20b50a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#40 0x00007f2550902bdf in QGuiEventDispatcherGlib::processEvents (this=0x7fff5d7ae000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#41 0x00007f254fce7f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1568340208}) at kernel/qeventloop.cpp:149
#42 0x00007f254fce8314 in QEventLoop::exec (this=0x7fff5d7af930, flags={i = 1568340288}) at kernel/qeventloop.cpp:201
#43 0x00007f254fcea5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#44 0x0000000000404945 in main (argc=1, argv=0x7fff5d7b00b8) at /build/buildd/kdepim-4.3.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Allen Winter 2009-09-05 12:29:26 UTC
SVN commit 1020115 by winterz:

crash guard
BUG: 206306
MERGE: 4.3


 M  +5 -5      kotodomodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1020115
Comment 2 Allen Winter 2009-09-05 12:30:38 UTC
SVN commit 1020117 by winterz:

Backport r1020115 by winterz from trunk to the 4.3 branch:

crash guard
CCBUG: 206306
MERGE: 4.3



 M  +5 -5      kotodomodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1020117