Bug 362012 - akonadi crashes whenever I try to start it from the command line
Summary: akonadi crashes whenever I try to start it from the command line
Status: RESOLVED DUPLICATE of bug 355736
Alias: None
Product: korgac
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-20 19:55 UTC by Amos
Modified: 2016-07-25 21:46 UTC (History)
1 user (show)

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 Amos 2016-04-20 19:55:32 UTC
Application: korgac (5.1.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-18-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
akonadictl start
- Custom settings of the application:
When I had stopped akonadi earlier, it was because I noticed it had not downloaded from gmail in 2 days, but had continued to download from other email accounts.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7ff691d3f700 (LWP 9818)):
#0  0x00007ff6aa8538b9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff6aa85424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6aa85442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6b1f54a9b in QEventDispatcherGlib::processEvents (this=0x7ff68c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff6b1efbdea in QEventLoop::exec (this=this@entry=0x7ff691d3ec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff6b1d188a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff6b1d1d84e in QThreadPrivate::start (arg=0xff3d60) at thread/qthread_unix.cpp:331
#7  0x00007ff6aad756fa in start_thread (arg=0x7ff691d3f700) at pthread_create.c:333
#8  0x00007ff6b141db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff69153e700 (LWP 9819)):
#0  0x00007ff6b1411e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff6aa85431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6aa85442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6b1f54a9b in QEventDispatcherGlib::processEvents (this=0x7ff6880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff6b1efbdea in QEventLoop::exec (this=this@entry=0x7ff69153dc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff6b1d188a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff6b1d1d84e in QThreadPrivate::start (arg=0x10c3170) at thread/qthread_unix.cpp:331
#7  0x00007ff6aad756fa in start_thread (arg=0x7ff69153e700) at pthread_create.c:333
#8  0x00007ff6b141db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff690d3d700 (LWP 7446)):
#0  0x00007ff6aa8538a0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff6aa85424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6aa85442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6b1f54a9b in QEventDispatcherGlib::processEvents (this=0x7ff684003f10, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff6b1efbdea in QEventLoop::exec (this=this@entry=0x7ff690d3cc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff6b1d188a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff6b1d1d84e in QThreadPrivate::start (arg=0xf98820) at thread/qthread_unix.cpp:331
#7  0x00007ff6aad756fa in start_thread (arg=0x7ff690d3d700) at pthread_create.c:333
#8  0x00007ff6b141db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff683bdd700 (LWP 7465)):
#0  0x00007ff6b1411e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff6aa85431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6aa85442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6b1f54a9b in QEventDispatcherGlib::processEvents (this=0x7ff67c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff6b1efbdea in QEventLoop::exec (this=this@entry=0x7ff683bdcc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff6b1d188a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff6b1d1d84e in QThreadPrivate::start (arg=0x292ade0) at thread/qthread_unix.cpp:331
#7  0x00007ff6aad756fa in start_thread (arg=0x7ff683bdd700) at pthread_create.c:333
#8  0x00007ff6b141db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff69d6ab940 (LWP 9684)):
[KCrash Handler]
#6  QVector<QSharedPointer<KCalCore::Incidence> >::reserve (this=<optimized out>, asize=asize@entry=0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:366
#7  0x00007ff6b5aa3894 in KCalCore::Calendar::setupRelations (this=0x10787e0, forincidence=...) at /build/kcalcore-UNmYX_/kcalcore-15.12.3/src/calendar.cpp:1032
#8  0x00007ff6b5ae1bac in KCalCore::MemoryCalendar::addIncidence (this=0x10787e0, incidence=...) at /build/kcalcore-UNmYX_/kcalcore-15.12.3/src/memorycalendar.cpp:305
#9  0x00007ff6b647be9e in Akonadi::CalendarBasePrivate::internalInsert (this=this@entry=0x105b150, item=...) at /build/akonadi-calendar-xcFDuH/akonadi-calendar-15.12.3/src/calendarbase.cpp:158
#10 0x00007ff6b64896f8 in Akonadi::ETMCalendarPrivate::itemsAdded (this=this@entry=0x105b150, items=...) at /build/akonadi-calendar-xcFDuH/akonadi-calendar-15.12.3/src/etmcalendar.cpp:295
#11 0x00007ff6b648aa22 in Akonadi::ETMCalendarPrivate::onRowsInsertedInFilteredModel (this=0x105b150, index=..., start=<optimized out>, end=<optimized out>) at /build/akonadi-calendar-xcFDuH/akonadi-calendar-15.12.3/src/etmcalendar.cpp:450
#12 0x00007ff6b1f2ce4f in QtPrivate::QSlotObjectBase::call (a=0x7ffdb64391c0, r=0x105b150, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#13 QMetaObject::activate (sender=sender@entry=0xff3df0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb64391c0) at kernel/qobject.cpp:3698
#14 0x00007ff6b1f2d7d7 in QMetaObject::activate (sender=sender@entry=0xff3df0, m=m@entry=0x7ff6b2146ec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb64391c0) at kernel/qobject.cpp:3578
#15 0x00007ff6b1fa9324 in QAbstractItemModel::rowsInserted (this=this@entry=0xff3df0, _t1=..., _t2=858, _t3=878) at .moc/moc_qabstractitemmodel.cpp:583
#16 0x00007ff6b1ea6776 in QAbstractItemModel::endInsertRows (this=this@entry=0xff3df0) at itemmodels/qabstractitemmodel.cpp:2619
#17 0x00007ff6b1ec96eb in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x10f73f0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., emit_signal=emit_signal@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:714
#18 0x00007ff6b1ecbf44 in QSortFilterProxyModelPrivate::source_items_inserted (orient=Qt::Vertical, end=<optimized out>, start=<optimized out>, source_parent=..., this=0x10f73f0) at itemmodels/qsortfilterproxymodel.cpp:825
#19 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x10f73f0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1381
#20 0x00007ff6b1ecf929 in QSortFilterProxyModel::qt_static_metacall (_o=_o@entry=0xff3df0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=12, _a=_a@entry=0x7ffdb6439540) at .moc/moc_qsortfilterproxymodel.cpp:209
#21 0x00007ff6b1f2cfca in QMetaObject::activate (sender=sender@entry=0x10bd880, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb6439540) at kernel/qobject.cpp:3713
#22 0x00007ff6b1f2d7d7 in QMetaObject::activate (sender=sender@entry=0x10bd880, m=m@entry=0x7ff6b2146ec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb6439540) at kernel/qobject.cpp:3578
#23 0x00007ff6b1fa9324 in QAbstractItemModel::rowsInserted (this=this@entry=0x10bd880, _t1=..., _t2=858, _t3=878) at .moc/moc_qabstractitemmodel.cpp:583
#24 0x00007ff6b1ea6776 in QAbstractItemModel::endInsertRows (this=this@entry=0x10bd880) at itemmodels/qabstractitemmodel.cpp:2619
#25 0x00007ff6b1ec96eb in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x10d0590, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., emit_signal=emit_signal@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:714
#26 0x00007ff6b1ecbf44 in QSortFilterProxyModelPrivate::source_items_inserted (orient=Qt::Vertical, end=<optimized out>, start=<optimized out>, source_parent=..., this=0x10d0590) at itemmodels/qsortfilterproxymodel.cpp:825
#27 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x10d0590, source_parent=..., start=<optimized out>, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1381
#28 0x00007ff6b1ecf929 in QSortFilterProxyModel::qt_static_metacall (_o=_o@entry=0x10bd880, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=12, _a=_a@entry=0x7ffdb64398c0) at .moc/moc_qsortfilterproxymodel.cpp:209
#29 0x00007ff6b1f2cfca in QMetaObject::activate (sender=sender@entry=0x10e07d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb64398c0) at kernel/qobject.cpp:3713
#30 0x00007ff6b1f2d7d7 in QMetaObject::activate (sender=sender@entry=0x10e07d0, m=m@entry=0x7ff6b2146ec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb64398c0) at kernel/qobject.cpp:3578
#31 0x00007ff6b1fa9324 in QAbstractItemModel::rowsInserted (this=this@entry=0x10e07d0, _t1=..., _t2=858, _t3=878) at .moc/moc_qabstractitemmodel.cpp:583
#32 0x00007ff6b1ea6776 in QAbstractItemModel::endInsertRows (this=this@entry=0x10e07d0) at itemmodels/qabstractitemmodel.cpp:2619
#33 0x00007ff6b1ec96eb in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x10cf290, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., emit_signal=emit_signal@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:714
#34 0x00007ff6b1ecbf44 in QSortFilterProxyModelPrivate::source_items_inserted (orient=Qt::Vertical, end=<optimized out>, start=<optimized out>, source_parent=..., this=0x10cf290) at itemmodels/qsortfilterproxymodel.cpp:825
#35 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x10cf290, source_parent=..., start=<optimized out>, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1381
#36 0x00007ff6b1ecf929 in QSortFilterProxyModel::qt_static_metacall (_o=_o@entry=0x10e07d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=12, _a=_a@entry=0x7ffdb6439c40) at .moc/moc_qsortfilterproxymodel.cpp:209
#37 0x00007ff6b1f2cfca in QMetaObject::activate (sender=sender@entry=0x10c8880, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb6439c40) at kernel/qobject.cpp:3713
#38 0x00007ff6b1f2d7d7 in QMetaObject::activate (sender=sender@entry=0x10c8880, m=m@entry=0x7ff6b2146ec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffdb6439c40) at kernel/qobject.cpp:3578
#39 0x00007ff6b1fa9324 in QAbstractItemModel::rowsInserted (this=this@entry=0x10c8880, _t1=..., _t2=858, _t3=878) at .moc/moc_qabstractitemmodel.cpp:583
#40 0x00007ff6b1ea6776 in QAbstractItemModel::endInsertRows (this=this@entry=0x10c8880) at itemmodels/qabstractitemmodel.cpp:2619
#41 0x00007ff6af145ddc in KSelectionProxyModelPrivate::insertSelectionIntoProxy (this=this@entry=0x10ce960, selection=...) at ../../src/kselectionproxymodel.cpp:2084
#42 0x00007ff6af1462d4 in KSelectionProxyModelPrivate::selectionChanged (this=0x10ce960, _selected=..., _deselected=...) at ../../src/kselectionproxymodel.cpp:1991
#43 0x00007ff6af1484d1 in KSelectionProxyModel::qt_static_metacall (_o=_o@entry=0x10c8880, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=17, _a=_a@entry=0x7ffdb643a1b0) at ./moc_kselectionproxymodel.cpp:196
#44 0x00007ff6b1f2cfca in QMetaObject::activate (sender=sender@entry=0x10b69b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdb643a1b0) at kernel/qobject.cpp:3713
#45 0x00007ff6b1f2d7d7 in QMetaObject::activate (sender=sender@entry=0x10b69b0, m=m@entry=0x7ff6b2144160 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdb643a1b0) at kernel/qobject.cpp:3578
#46 0x00007ff6b1eaefc7 in QItemSelectionModel::selectionChanged (this=this@entry=0x10b69b0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:473
#47 0x00007ff6b1eb33bc in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x10b69b0, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1857
#48 0x00007ff6b1eb58a4 in QItemSelectionModel::select (this=0x10b69b0, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1288
#49 0x00007ff6af12b6c2 in KCheckableProxyModel::select (this=this@entry=0x10c7ba0, selection=..., command=..., command@entry=...) at ../../src/kcheckableproxymodel.cpp:132
#50 0x00007ff6af12bd2f in KCheckableProxyModel::setData (this=0x10c7ba0, index=..., value=..., role=<optimized out>) at ../../src/kcheckableproxymodel.cpp:105
#51 0x0000000000417c4d in checkAllItems(KCheckableProxyModel*, QModelIndex const&) ()
#52 0x0000000000417c70 in checkAllItems(KCheckableProxyModel*, QModelIndex const&) ()
#53 0x000000000041a38f in KOAlarmClient::deferredInit() ()
#54 0x00007ff6b1f2ce4f in QtPrivate::QSlotObjectBase::call (a=0x7ffdb643a740, r=0x7ffdb643b0c0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#55 QMetaObject::activate (sender=0x10dea60, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#56 0x00007ff6b3f8e0d2 in Akonadi::EntityTreeModel::collectionPopulated(long long) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#57 0x00007ff6b3f9acf5 in Akonadi::EntityTreeModelPrivate::itemFetchJobDone(KJob*) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#58 0x00007ff6b1f2cfca in QMetaObject::activate (sender=sender@entry=0x2b04f80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdb643a950) at kernel/qobject.cpp:3713
#59 0x00007ff6b1f2d7d7 in QMetaObject::activate (sender=sender@entry=0x2b04f80, m=m@entry=0x7ff6b3200520 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdb643a950) at kernel/qobject.cpp:3578
#60 0x00007ff6b2faf6c2 in KJob::result (this=this@entry=0x2b04f80, _t1=_t1@entry=0x2b04f80) at ./moc_kjob.cpp:555
#61 0x00007ff6b2fb0281 in KJob::finishJob (this=0x2b04f80, emitResult=<optimized out>) at ../../../src/lib/jobs/kjob.cpp:109
#62 0x00007ff6b3f594e3 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#63 0x00007ff6b1f2dea1 in QObject::event (this=0x2b04f80, e=<optimized out>) at kernel/qobject.cpp:1239
#64 0x00007ff6b27f105c in QApplicationPrivate::notify_helper (this=this@entry=0xf6c8c0, receiver=receiver@entry=0x2b04f80, e=e@entry=0x1467460) at kernel/qapplication.cpp:3716
#65 0x00007ff6b27f6516 in QApplication::notify (this=0x7ffdb643b090, receiver=0x2b04f80, e=0x1467460) at kernel/qapplication.cpp:3499
#66 0x00007ff6b1efe62b in QCoreApplication::notifyInternal (this=0x7ffdb643b090, receiver=0x2b04f80, event=event@entry=0x1467460) at kernel/qcoreapplication.cpp:965
#67 0x00007ff6b1f00a26 in QCoreApplication::sendEvent (event=0x1467460, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xf4adc0) at kernel/qcoreapplication.cpp:1593
#69 0x00007ff6b1f00f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#70 0x00007ff6b1f54673 in postEventSourceDispatch (s=0xfaf5f0) at kernel/qeventdispatcher_glib.cpp:271
#71 0x00007ff6aa854127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007ff6aa854380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007ff6aa85442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007ff6b1f54a7f in QEventDispatcherGlib::processEvents (this=0xfbe870, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#75 0x00007ff6b1efbdea in QEventLoop::exec (this=this@entry=0x7ffdb643af10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#76 0x00007ff6b1f03e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#77 0x00000000004177d5 in main ()

Possible duplicates by query: bug 358152.

Reported using DrKonqi
Comment 1 David Faure 2016-07-25 21:46:50 UTC

*** This bug has been marked as a duplicate of bug 355736 ***