[korganizer] [Bug 388418] New: KOrganizer always crashes when one (of multiple) CalDav calendars is activated

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Jan 1 08:49:25 GMT 2018


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

            Bug ID: 388418
           Summary: KOrganizer always crashes when one (of multiple)
                    CalDav calendars is activated
           Product: korganizer
           Version: 5.7.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: kde-bugs at cerritus.eu
  Target Milestone: ---

Application: korganizer (5.7.0)

Qt Version: 5.9.3
Frameworks Version: 5.41.0
Operating System: Linux 4.10.0-42-generic x86_64
Distribution: KDE neon User Edition 5.11

-- Information about the crash:
I'm having KOrganizer connected to the CalDav calendars of my OwnCloud
instance. It's six calendars in total. Five of them are working fine, but as
soon as I enable the sixth one (ticking the checkmark in KOrganizer to show the
calendar) KOrganizer crashes. It crashes again on every start as long as
showing this calendar is enabled. I assume that one of the events or tasks of
this calendar is causing the crash, but as it's the largest one, I
unfortunately don't know which event or task it is.

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f936feb4940 (LWP 2446))]

Thread 4 (Thread 0x7f9346dee700 (LWP 2451)):
#0  0x00007f936b75d24d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f93619b56f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9361971e74 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9361972330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f936197249c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f936c29e6cb in QEventDispatcherGlib::processEvents
(this=0x7f93340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f936c246e2a in QEventLoop::exec (this=this at entry=0x7f9346dedc80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f936c06f8f4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#8  0x00007f936c074709 in QThreadPrivate::start (arg=0xad7dc0) at
thread/qthread_unix.cpp:368
#9  0x00007f93636a16ba in start_thread (arg=0x7f9346dee700) at
pthread_create.c:333
#10 0x00007f936b76d3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f93475ef700 (LWP 2449)):
#0  0x00007f936b76170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f936197238c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f936197249c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f936c29e6cb in QEventDispatcherGlib::processEvents
(this=0x7f933c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f936c246e2a in QEventLoop::exec (this=this at entry=0x7f93475eec80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f936c06f8f4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f936c074709 in QThreadPrivate::start (arg=0xac0cb0) at
thread/qthread_unix.cpp:368
#7  0x00007f93636a16ba in start_thread (arg=0x7f93475ef700) at
pthread_create.c:333
#8  0x00007f936b76d3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f934caa1700 (LWP 2448)):
#0  0x00007f9361971882 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f93619722bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f936197249c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f936c29e6cb in QEventDispatcherGlib::processEvents
(this=0x7f93400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f936c246e2a in QEventLoop::exec (this=this at entry=0x7f934caa0c50,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f936c06f8f4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f936ac31315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f936c074709 in QThreadPrivate::start (arg=0x7f936aea5d40) at
thread/qthread_unix.cpp:368
#8  0x00007f93636a16ba in start_thread (arg=0x7f934caa1700) at
pthread_create.c:333
#9  0x00007f936b76d3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f936feb4940 (LWP 2446)):
[KCrash Handler]
#6  0x00007f9369d7ae16 in greaterThan (node1=..., node2=...) at
/workspace/build/src/todo/incidencetreemodel.cpp:48
#7  0x00007f9369d846bf in __gnu_cxx::__ops::_Iter_comp_iter<bool
(*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode>
const&)>::operator()<QList<QSharedPointer<PreNode> >::iterator,
QList<QSharedPointer<PreNode> >::iterator> (__it2=..., __it1=...,
this=<optimized out>) at /usr/include/c++/5/bits/predefined_ops.h:123
#8  std::__unguarded_partition<QList<QSharedPointer<PreNode> >::iterator,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode> const&,
QSharedPointer<PreNode> const&)> > (__comp=..., __pivot=..., __last=...,
__first=...) at /usr/include/c++/5/bits/stl_algo.h:1897
#9  std::__unguarded_partition_pivot<QList<QSharedPointer<PreNode> >::iterator,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode> const&,
QSharedPointer<PreNode> const&)> > (__comp=..., __last=..., __first=...) at
/usr/include/c++/5/bits/stl_algo.h:1918
#10 std::__introsort_loop<QList<QSharedPointer<PreNode> >::iterator, int,
__gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode> const&,
QSharedPointer<PreNode> const&)> > (__first=..., __last=...,
__depth_limit=<optimized out>, __depth_limit at entry=13, __comp=__comp at entry=...)
at /usr/include/c++/5/bits/stl_algo.h:1948
#11 0x00007f9369d847e9 in std::__introsort_loop<QList<QSharedPointer<PreNode>
>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool
(*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)> >
(__first=..., __last=..., __depth_limit=<optimized out>,
__depth_limit at entry=14, __comp=__comp at entry=...) at
/usr/include/c++/5/bits/stl_algo.h:1949
#12 0x00007f9369d80067 in std::__sort<QList<QSharedPointer<PreNode>
>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QSharedPointer<PreNode>
const&, QSharedPointer<PreNode> const&)> > (__comp=..., __last=...,
__first=...) at /usr/include/c++/5/bits/stl_algo.h:1963
#13 std::sort<QList<QSharedPointer<PreNode> >::iterator, bool
(*)(QSharedPointer<PreNode> const&, QSharedPointer<PreNode> const&)>
(__comp=0x7f9369d7ae10 <greaterThan(QSharedPointer<PreNode> const&,
QSharedPointer<PreNode> const&)>, __last=..., __first=...) at
/usr/include/c++/5/bits/stl_algo.h:4729
#14 sortedPrenodes (nodes=...) at
/workspace/build/src/todo/incidencetreemodel.cpp:84
#15 IncidenceTreeModel::Private::onRowsInserted (this=0xc82c10, parent=...,
begin=0, end=695) at /workspace/build/src/todo/incidencetreemodel.cpp:318
#16 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0xb4c4c0,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=10,
argv=argv at entry=0x7ffeab853a60) at kernel/qobject.cpp:3766
#17 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0xb4c4c0,
m=m at entry=0x7f936c6fe6a0 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=10, argv=argv at entry=0x7ffeab853a60)
at kernel/qobject.cpp:3628
#18 0x00007f936c1e83be in QAbstractItemModel::rowsInserted
(this=this at entry=0xb4c4c0, _t1=..., _t2=0, _t3=695, _t4=...) at
.moc/moc_qabstractitemmodel.cpp:602
#19 0x00007f936c1f041b in QAbstractItemModel::endInsertRows
(this=this at entry=0xb4c4c0) at itemmodels/qabstractitemmodel.cpp:2709
#20 0x00007f936c210c9b in QSortFilterProxyModelPrivate::insert_source_items
(this=this at entry=0xb71e10, source_to_proxy=..., proxy_to_source=...,
source_items=..., source_parent=..., emit_signal=emit_signal at entry=true,
orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:722
#21 0x00007f936c213394 in QSortFilterProxyModelPrivate::source_items_inserted
(orient=Qt::Vertical, end=<optimized out>, start=<optimized out>,
source_parent=..., this=0xb71e10) at itemmodels/qsortfilterproxymodel.cpp:833
#22 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xb71e10,
source_parent=..., start=<optimized out>, end=<optimized out>) at
itemmodels/qsortfilterproxymodel.cpp:1398
#23 0x00007f936c216d99 in QSortFilterProxyModel::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at .moc/moc_qsortfilterproxymodel.cpp:211
#24 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0xb558e0,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=10,
argv=argv at entry=0x7ffeab853df0) at kernel/qobject.cpp:3766
#25 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0xb558e0,
m=m at entry=0x7f936c6fe6a0 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=10, argv=argv at entry=0x7ffeab853df0)
at kernel/qobject.cpp:3628
#26 0x00007f936c1e83be in QAbstractItemModel::rowsInserted
(this=this at entry=0xb558e0, _t1=..., _t2=0, _t3=695, _t4=...) at
.moc/moc_qabstractitemmodel.cpp:602
#27 0x00007f936c1f041b in QAbstractItemModel::endInsertRows
(this=this at entry=0xb558e0) at itemmodels/qabstractitemmodel.cpp:2709
#28 0x00007f936c210c9b in QSortFilterProxyModelPrivate::insert_source_items
(this=this at entry=0xb7bf10, source_to_proxy=..., proxy_to_source=...,
source_items=..., source_parent=..., emit_signal=emit_signal at entry=true,
orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:722
#29 0x00007f936c213394 in QSortFilterProxyModelPrivate::source_items_inserted
(orient=Qt::Vertical, end=<optimized out>, start=<optimized out>,
source_parent=..., this=0xb7bf10) at itemmodels/qsortfilterproxymodel.cpp:833
#30 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xb7bf10,
source_parent=..., start=<optimized out>, end=<optimized out>) at
itemmodels/qsortfilterproxymodel.cpp:1398
#31 0x00007f936c216d99 in QSortFilterProxyModel::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at .moc/moc_qsortfilterproxymodel.cpp:211
#32 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0xb46650,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=10,
argv=argv at entry=0x7ffeab854180) at kernel/qobject.cpp:3766
#33 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0xb46650,
m=m at entry=0x7f936c6fe6a0 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=10, argv=argv at entry=0x7ffeab854180)
at kernel/qobject.cpp:3628
#34 0x00007f936c1e83be in QAbstractItemModel::rowsInserted
(this=this at entry=0xb46650, _t1=..., _t2=0, _t3=695, _t4=...) at
.moc/moc_qabstractitemmodel.cpp:602
#35 0x00007f936c1f041b in QAbstractItemModel::endInsertRows
(this=this at entry=0xb46650) at itemmodels/qabstractitemmodel.cpp:2709
#36 0x00007f936c210c9b in QSortFilterProxyModelPrivate::insert_source_items
(this=this at entry=0xb7e370, source_to_proxy=..., proxy_to_source=...,
source_items=..., source_parent=..., emit_signal=emit_signal at entry=true,
orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:722
#37 0x00007f936c213394 in QSortFilterProxyModelPrivate::source_items_inserted
(orient=Qt::Vertical, end=<optimized out>, start=<optimized out>,
source_parent=..., this=0xb7e370) at itemmodels/qsortfilterproxymodel.cpp:833
#38 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xb7e370,
source_parent=..., start=<optimized out>, end=<optimized out>) at
itemmodels/qsortfilterproxymodel.cpp:1398
#39 0x00007f936c216d99 in QSortFilterProxyModel::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at .moc/moc_qsortfilterproxymodel.cpp:211
#40 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0xb3bd00,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=10,
argv=argv at entry=0x7ffeab854510) at kernel/qobject.cpp:3766
#41 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0xb3bd00,
m=m at entry=0x7f936c6fe6a0 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=10, argv=argv at entry=0x7ffeab854510)
at kernel/qobject.cpp:3628
#42 0x00007f936c1e83be in QAbstractItemModel::rowsInserted
(this=this at entry=0xb3bd00, _t1=..., _t2=0, _t3=695, _t4=...) at
.moc/moc_qabstractitemmodel.cpp:602
#43 0x00007f936c1f041b in QAbstractItemModel::endInsertRows
(this=this at entry=0xb3bd00) at itemmodels/qabstractitemmodel.cpp:2709
#44 0x00007f936826f75c in KSelectionProxyModelPrivate::sourceRowsInserted
(this=0xb80040, parent=..., start=<optimized out>, end=<optimized out>) at
/workspace/build/src/kselectionproxymodel.cpp:1085
#45 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0xb16900,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=10,
argv=argv at entry=0x7ffeab854710) at kernel/qobject.cpp:3766
#46 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0xb16900,
m=m at entry=0x7f936c6fe6a0 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=10, argv=argv at entry=0x7ffeab854710)
at kernel/qobject.cpp:3628
#47 0x00007f936c1e83be in QAbstractItemModel::rowsInserted
(this=this at entry=0xb16900, _t1=..., _t2=0, _t3=695, _t4=...) at
.moc/moc_qabstractitemmodel.cpp:602
#48 0x00007f936c1f041b in QAbstractItemModel::endInsertRows
(this=this at entry=0xb16900) at itemmodels/qabstractitemmodel.cpp:2709
#49 0x00007f93686131f4 in Akonadi::EntityTreeModelPrivate::itemsFetched
(this=this at entry=0xb60db0, collectionId=collectionId at entry=62, items=...) at
/workspace/build/src/core/models/entitytreemodel_p.cpp:577
#50 0x00007f93686135e1 in Akonadi::EntityTreeModelPrivate::itemsFetched
(this=0xb60db0, items=...) at
/workspace/build/src/core/models/entitytreemodel_p.cpp:495
#51 0x00007f9368600e45 in Akonadi::EntityTreeModel::qt_static_metacall
(_o=0xb16900, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_entitytreemodel.cpp:219
#52 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0x10d8d60,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7ffeab854aa0) at kernel/qobject.cpp:3766
#53 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0x10d8d60,
m=m at entry=0x7f93688a8f80 <Akonadi::ItemFetchJob::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffeab854aa0)
at kernel/qobject.cpp:3628
#54 0x00007f93685bbc82 in Akonadi::ItemFetchJob::itemsReceived
(this=this at entry=0x10d8d60, _t1=...) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_itemfetchjob.cpp:165
#55 0x00007f93685bc89b in Akonadi::ItemFetchJobPrivate::timeout
(this=<optimized out>) at /workspace/build/src/core/jobs/itemfetchjob.cpp:75
#56 Akonadi::ItemFetchJob::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_itemfetchjob.cpp:99
#57 0x00007f936c275279 in QMetaObject::activate (sender=sender at entry=0xe36d90,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7ffeab854c30) at kernel/qobject.cpp:3766
#58 0x00007f936c275b87 in QMetaObject::activate (sender=sender at entry=0xe36d90,
m=m at entry=0x7f936c6ffea0 <QTimer::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffeab854c30)
at kernel/qobject.cpp:3628
#59 0x00007f936c281b07 in QTimer::timeout (this=this at entry=0xe36d90, _t1=...)
at .moc/moc_qtimer.cpp:200
#60 0x00007f936c281e08 in QTimer::timerEvent (this=0xe36d90, e=<optimized out>)
at kernel/qtimer.cpp:255
#61 0x00007f936c276273 in QObject::event (this=0xe36d90, e=<optimized out>) at
kernel/qobject.cpp:1268
#62 0x00007f936d237b9c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0xe36d90, e=0x7ffeab854f20) at kernel/qapplication.cpp:3722
#63 0x00007f936d23f5a7 in QApplication::notify (this=0x7ffeab855290,
receiver=0xe36d90, e=0x7ffeab854f20) at kernel/qapplication.cpp:3481
#64 0x00007f936c248df8 in QCoreApplication::notifyInternal2 (receiver=0xe36d90,
event=event at entry=0x7ffeab854f20) at kernel/qcoreapplication.cpp:1018
#65 0x00007f936c29da7e in QCoreApplication::sendEvent (event=0x7ffeab854f20,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#66 QTimerInfoList::activateTimers (this=0xa997b0) at
kernel/qtimerinfo_unix.cpp:643
#67 0x00007f936c29e301 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#68 0x00007f9361972197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f93619723f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f936197249c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f936c29e6af in QEventDispatcherGlib::processEvents (this=0xa97ad0,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#72 0x00007f936c246e2a in QEventLoop::exec (this=this at entry=0x7ffeab855170,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:212
#73 0x00007f936c24fd64 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1291
#74 0x0000000000408614 in main (argc=1, argv=0x7ffeab855418) at
/workspace/build/src/main.cpp:64

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list