Bug 438311 - Kontact crashes on start
Summary: Kontact crashes on start
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-09 08:22 UTC by Cyrille Dunant
Modified: 2021-11-11 14:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.16 KB, text/plain)
2021-11-11 14:01 UTC, Erin Yuki Schlarb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrille Dunant 2021-06-09 08:22:21 UTC
Application: kontact (5.17.1 (21.04.1))

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.9-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.0
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
I have only the mail and calendar plugin loaded (I think)

neither kmail nor korganiser crahes: they work perfectly as standalones.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc1e2d28174 in QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x55833250a890, source_parent=..., parent_mapping=0x5583325f3620, orient=<optimized out>, start=<optimized out>, end=0, delta_item_count=1, remove=false) at itemmodels/qsortfilterproxymodel.cpp:1172
#5  0x00007fc1e2d2dd54 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x55833250a890, source_parent=..., start=<optimized out>, end=0, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:972
#6  0x00007fc1e2d31e76 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x55833250a890, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1661
#7  0x00007fc1e2d92128 in doActivate<false> (sender=0x55833250ecc0, signal_index=13, argv=0x7fff49258470) at kernel/qobject.cpp:3898
#8  0x00007fc1e2d8b5bf in QMetaObject::activate (sender=sender@entry=0x55833250ecc0, m=m@entry=0x7fc1e303cf80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fff49258470) at kernel/qobject.cpp:3946
#9  0x00007fc1e2cf650e in QAbstractItemModel::rowsInserted (this=this@entry=0x55833250ecc0, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#10 0x00007fc1e2cfebae in QAbstractItemModel::endInsertRows (this=0x55833250ecc0) at itemmodels/qabstractitemmodel.cpp:2780
#11 0x00007fc1e2d2aae0 in QSortFilterProxyModelPrivate::insert_source_items (this=<optimized out>, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemmodels/qsortfilterproxymodel.cpp:922
#12 0x00007fc1e2d2de81 in QSortFilterProxyModelPrivate::source_items_inserted (this=<optimized out>, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1033
#13 0x00007fc1e2d31e76 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x558332504570, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1661
#14 0x00007fc1e2d92128 in doActivate<false> (sender=0x7fc1c0039a70, signal_index=13, argv=0x7fff492587a0) at kernel/qobject.cpp:3898
#15 0x00007fc1e2d8b5bf in QMetaObject::activate (sender=sender@entry=0x7fc1c0039a70, m=m@entry=0x7fc1e303cf80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fff492587a0) at kernel/qobject.cpp:3946
#16 0x00007fc1e2cf650e in QAbstractItemModel::rowsInserted (this=this@entry=0x7fc1c0039a70, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#17 0x00007fc1e2cfebae in QAbstractItemModel::endInsertRows (this=0x7fc1c0039a70) at itemmodels/qabstractitemmodel.cpp:2780
#18 0x00007fc18c7363ea in ?? () from /lib64/libKF5AkonadiCore.so.5
#19 0x00007fc1e2d92128 in doActivate<false> (sender=0x558332819860, signal_index=25, argv=0x7fff49258a90) at kernel/qobject.cpp:3898
#20 0x00007fc18c6f64c2 in Akonadi::CollectionFetchJob::collectionsReceived(QVector<Akonadi::Collection> const&) () from /lib64/libKF5AkonadiCore.so.5
#21 0x00007fc18c6f7f73 in ?? () from /lib64/libKF5AkonadiCore.so.5
#22 0x00007fc1e2d920f3 in QtPrivate::QSlotObjectBase::call (a=0x7fff49258bd0, r=0x558332819860, this=0x5583328039d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x558331d28690, signal_index=3, argv=0x7fff49258bd0) at kernel/qobject.cpp:3886
#24 0x00007fc1e2d8b5bf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fc1e303ebe0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff49258bd0) at kernel/qobject.cpp:3946
#25 0x00007fc1e2d95f9a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#26 0x00007fc1e2d87fbf in QObject::event (this=0x558331d28690, e=0x7fff49258d50) at kernel/qobject.cpp:1336
#27 0x00007fc1e3917a5f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x558331d28690, e=0x7fff49258d50) at kernel/qapplication.cpp:3632
#28 0x00007fc1e2d5baaa in QCoreApplication::notifyInternal2 (receiver=0x558331d28690, event=0x7fff49258d50) at kernel/qcoreapplication.cpp:1063
#29 0x00007fc1e2db248b in QTimerInfoList::activateTimers (this=0x55833178f020) at kernel/qtimerinfo_unix.cpp:643
#30 0x00007fc1e2db2d6c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#31 idleTimerSourceDispatch (source=source@entry=0x55833178d520) at kernel/qeventdispatcher_glib.cpp:230
#32 0x00007fc1d957380f in g_main_dispatch (context=0x7fc1c8005000) at ../glib/gmain.c:3337
#33 g_main_context_dispatch (context=0x7fc1c8005000) at ../glib/gmain.c:4055
#34 0x00007fc1d9573b98 in g_main_context_iterate (context=context@entry=0x7fc1c8005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#35 0x00007fc1d9573c4f in g_main_context_iteration (context=0x7fc1c8005000, may_block=1) at ../glib/gmain.c:4196
#36 0x00007fc1e2db30f4 in QEventDispatcherGlib::processEvents (this=0x55833178f460, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007fc1e2d5a4bb in QEventLoop::exec (this=this@entry=0x7fff49258f90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007fc1e2d62790 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x000055832fbeffb8 in ?? ()
#40 0x00007fc1e26bfb35 in __libc_start_main (main=0x55832fbef610, argc=1, argv=0x7fff49259218, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff49259208) at ../csu/libc-start.c:332
#41 0x000055832fbf060e in ?? ()
[Inferior 1 (process 32112) detached]

Possible duplicates by query: bug 413205, bug 292762, bug 289310, bug 279524, bug 277822.

Reported using DrKonqi
Comment 1 Erin Yuki Schlarb 2021-11-11 14:01:42 UTC
Created attachment 143448 [details]
New crash information added by DrKonqi

kontact (5.18.1 (21.08.1)) using Qt 5.15.2

Crashed on startup without any discernable reason, when restarting it from the crash notification is works fine

-- Backtrace (Reduced):
#4  QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) (this=0x5a28169da740, source_parent=..., parent_mapping=<optimized out>, orient=<optimized out>, start=<optimized out>, end=0, delta_item_count=1, remove=false) at ../../include/QtCore/../../src/corelib/tools/qhash.h:414
#5  0x000071467c9415c7 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=0x5a28169da740, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:972
#6  0x000071467c945706 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x5a28169da740, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1661
#7  0x000071467c9a59b0 in doActivate<false>(QObject*, int, void**) (sender=0x5a28169d8ee0, signal_index=13, argv=argv@entry=0x7ffeccfe6550) at kernel/qobject.cpp:3898
[...]
#9  0x000071467c909b1e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x5a28169d8ee0, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592