Bug 456742 - kontact crashes on start when selected calendars
Summary: kontact crashes on start when selected calendars
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: 2022-07-15 07:17 UTC by Diego Ercolani
Modified: 2023-01-16 22:50 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (10.21 KB, text/plain)
2022-07-19 15:08 UTC, Diego Ercolani
Details
New crash information added by DrKonqi (7.02 KB, text/plain)
2022-07-25 08:39 UTC, Diego Ercolani
Details
New crash information added by DrKonqi (6.50 KB, text/plain)
2022-07-27 11:34 UTC, Diego Ercolani
Details
New crash information added by DrKonqi (7.46 KB, text/plain)
2023-01-16 22:50 UTC, Christopher Yeleighton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Ercolani 2022-07-15 07:17:16 UTC
Application: kontact (5.19.3 (21.12.3))

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.22-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Starting kontact open in the korganizer tab... and crash
this is very annoying.
It seem (sometimes) theresolution is stop akonadi (akonadictl stop) and then akonadictl start, wait and open kontakt.
The other problem is that I have many calendar (IMAP and google) and sometimes in the list they did't appear

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) (this=this@entry=0x55bc6fadd010, source_parent=..., parent_mapping=parent_mapping@entry=0x55bc6fc13270, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=1, remove=false) at itemmodels/qsortfilterproxymodel.cpp:1200
#5  0x00007faaa42a68c5 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=this@entry=0x55bc6fadd010, source_parent=..., start=start@entry=0, end=end@entry=0, orient=orient@entry=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1000
#6  0x00007faaa42a90ed in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x55bc6fadd010, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1702
#7  0x00007faaa42aaf81 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:282
#8  0x00007faaa4317ff9 in doActivate<false>(QObject*, int, void**) (sender=0x55bc6fad9430, signal_index=13, argv=0x7ffc61d6dd90) at kernel/qobject.cpp:3898
#9  0x00007faaa43116c2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55bc6fad9430, m=m@entry=0x7faaa47bef80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc61d6dd90) at kernel/qobject.cpp:3946
#10 0x00007faaa427532e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x55bc6fad9430, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#11 0x00007faaa427cf3b in QAbstractItemModel::endInsertRows() (this=0x55bc6fad9430) at itemmodels/qabstractitemmodel.cpp:2780
#12 0x00007faaa42a466d in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=<optimized out>, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemmodels/qsortfilterproxymodel.cpp:950
#13 0x00007faaa42a6a99 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=this@entry=0x55bc6fadb300, source_parent=..., start=start@entry=0, end=end@entry=0, orient=orient@entry=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1061
#14 0x00007faaa42a90ed in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x55bc6fadb300, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1702
#15 0x00007faaa42aaf81 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:282
#16 0x00007faaa4317ff9 in doActivate<false>(QObject*, int, void**) (sender=0x7faa68032c10, signal_index=13, argv=0x7ffc61d6e140) at kernel/qobject.cpp:3898
#17 0x00007faaa43116c2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7faa68032c10, m=m@entry=0x7faaa47bef80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc61d6e140) at kernel/qobject.cpp:3946
#18 0x00007faaa427532e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x7faa68032c10, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#19 0x00007faaa427cf3b in QAbstractItemModel::endInsertRows() (this=0x7faa68032c10) at itemmodels/qabstractitemmodel.cpp:2780
#20 0x00007faa07860147 in  () at /usr/lib64/libKF5AkonadiCore.so.5
#21 0x00007faa078505f5 in  () at /usr/lib64/libKF5AkonadiCore.so.5
#22 0x00007faaa4317ff9 in doActivate<false>(QObject*, int, void**) (sender=0x55bc6fdadc80, signal_index=25, argv=0x7ffc61d6e490) at kernel/qobject.cpp:3898
#23 0x00007faa07803b02 in Akonadi::CollectionFetchJob::collectionsReceived(QVector<Akonadi::Collection> const&) () at /usr/lib64/libKF5AkonadiCore.so.5
#24 0x00007faa078069df in  () at /usr/lib64/libKF5AkonadiCore.so.5
#25 0x00007faa0781f955 in  () at /usr/lib64/libKF5AkonadiCore.so.5
#26 0x00007faaa430ecfb in QObject::event(QEvent*) (this=0x55bc6fdadc80, e=0x55bc702caa30) at kernel/qobject.cpp:1314
#27 0x00007faaa54d53ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007faaa54dc1a0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007faaa42daac3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55bc6fdadc80, event=0x55bc702caa30) at kernel/qcoreapplication.cpp:1064
#30 0x00007faaa42dac9e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55bc6fdadc80, event=event@entry=0x55bc702caa30) at kernel/qcoreapplication.cpp:1462
#31 0x00007faaa42dd4e1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55bc6ec7a480) at kernel/qcoreapplication.cpp:1821
#32 0x00007faaa42dda68 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#33 0x00007faaa433da33 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55bc6ed8de10) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007faa9543f7fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#35 0x00007faa9543fba0 in  () at /usr/lib64/libglib-2.0.so.0
#36 0x00007faa9543fc2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#37 0x00007faaa433d0dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55bc6ed9c420, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007faaa42d933a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc61d6ea80, flags=...) at kernel/qeventloop.cpp:232
#39 0x00007faaa56d02e7 in QDialog::exec() () at /usr/lib64/libQt5Widgets.so.5
#40 0x00007faaa1b90959 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib64/libKF5WidgetsAddons.so.5
#41 0x00007faaa1b90afe in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib64/libKF5WidgetsAddons.so.5
#42 0x00007faaa1b9364f in  () at /usr/lib64/libKF5WidgetsAddons.so.5
#43 0x00007faaa1b937e1 in KMessageBox::error(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib64/libKF5WidgetsAddons.so.5
#44 0x00007fa9ee13c72b in  () at /usr/lib64/libKF5KManageSieve.so.5
#45 0x00007faaa430ecfb in QObject::event(QEvent*) (this=0x55bc6fead0f0, e=0x7fa9a8004380) at kernel/qobject.cpp:1314
#46 0x00007faaa54d53ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#47 0x00007faaa54dc1a0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#48 0x00007faaa42daac3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55bc6fead0f0, event=0x7fa9a8004380) at kernel/qcoreapplication.cpp:1064
#49 0x00007faaa42dac9e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55bc6fead0f0, event=event@entry=0x7fa9a8004380) at kernel/qcoreapplication.cpp:1462
#50 0x00007faaa42dd4e1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55bc6ec7a480) at kernel/qcoreapplication.cpp:1821
#51 0x00007faaa42dda68 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#52 0x00007faaa433da33 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55bc6ed8de10) at kernel/qeventdispatcher_glib.cpp:277
#53 0x00007faa9543f7fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#54 0x00007faa9543fba0 in  () at /usr/lib64/libglib-2.0.so.0
#55 0x00007faa9543fc2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#56 0x00007faaa433d0dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55bc6ed9c420, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#57 0x00007faaa42d933a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc61d6f480, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#58 0x00007faaa42e2b37 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1375
#59 0x000055bc6cc04539 in  ()
#60 0x00007faaa38302bd in __libc_start_main () at /lib64/libc.so.6
#61 0x000055bc6cc04b2a in  ()
[Inferior 1 (process 14507) detached]

The reporter indicates this bug may be a duplicate of or related to bug 438311.

Possible duplicates by query: bug 438311, bug 426094, bug 425932, bug 415634, bug 413205.

Reported using DrKonqi
Comment 1 Diego Ercolani 2022-07-19 15:08:10 UTC
Created attachment 150741 [details]
New crash information added by DrKonqi

kontact (5.19.3 (21.12.3)) using Qt 5.15.2

- What I was doing when the application crashed:
Selecting "To Do List" from Mail dialog.

Kontac crashes without asking anything

-- Backtrace (Reduced):
#4  QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) (this=this@entry=0x55a73add0e90, source_parent=..., parent_mapping=parent_mapping@entry=0x55a73ac2da80, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=1, remove=false) at itemmodels/qsortfilterproxymodel.cpp:1200
#5  0x00007f1bf6f918c5 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=this@entry=0x55a73add0e90, source_parent=..., start=start@entry=0, end=end@entry=0, orient=orient@entry=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1000
#6  0x00007f1bf6f940ed in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x55a73add0e90, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1702
#7  0x00007f1bf6f95f81 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:282
#8  0x00007f1bf7002ff9 in doActivate<false>(QObject*, int, void**) (sender=0x55a73ce440d0, signal_index=13, argv=0x7ffc4bfb05b0) at kernel/qobject.cpp:3898
Comment 2 Diego Ercolani 2022-07-25 08:39:22 UTC
Created attachment 150892 [details]
New crash information added by DrKonqi

kontact (5.19.3 (21.12.3)) using Qt 5.15.2

- What I was doing when the application crashed:
Selecting Calendar it crashes... it crashes again

-- Backtrace (Reduced):
#4  QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) (this=this@entry=0x562869ce4f80, source_parent=..., parent_mapping=parent_mapping@entry=0x562869e13c10, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=1, remove=false) at itemmodels/qsortfilterproxymodel.cpp:1200
#5  0x00007f363401a8c5 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=this@entry=0x562869ce4f80, source_parent=..., start=start@entry=0, end=end@entry=0, orient=orient@entry=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1000
#6  0x00007f363401d0ed in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x562869ce4f80, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1702
#7  0x00007f363401ef81 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:282
#8  0x00007f363408bff9 in doActivate<false>(QObject*, int, void**) (sender=0x562869ce3690, signal_index=13, argv=0x7ffe554bb5d0) at kernel/qobject.cpp:3898
Comment 3 Diego Ercolani 2022-07-27 11:34:07 UTC
Created attachment 150941 [details]
New crash information added by DrKonqi

korganizer (5.19.3 (21.12.3)) using Qt 5.15.2

- What I was doing when the application crashed:
Launched korganizer directly from the konsole

-- Backtrace (Reduced):
#4  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x55a593c3d880, source_parent=..., parent_mapping=parent_mapping@entry=0x55a593fa8f60, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=1, remove=false) at itemmodels/qsortfilterproxymodel.cpp:1200
#5  0x00007f8aa31948c5 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x55a593c3d880, source_parent=..., start=start@entry=0, end=end@entry=0, orient=orient@entry=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1000
#6  0x00007f8aa31970ed in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x55a593c3d880, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1702
#7  0x00007f8aa3198f81 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:282
#8  0x00007f8aa3205ff9 in doActivate<false> (sender=0x55a593c3c020, signal_index=13, argv=0x7fff408111e0) at kernel/qobject.cpp:3898
Comment 4 Christopher Yeleighton 2023-01-16 22:50:22 UTC
Created attachment 155363 [details]
New crash information added by DrKonqi

kontact (5.22.1 (22.12.1)) using Qt 5.15.8

Kontact crashed after I have launched it.

-- Backtrace (Reduced):
#4  0x00007f5549ca780d in QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x55bb94d59730, source_parent=..., parent_mapping=0x55bb94e5dc60, orient=<optimized out>, start=<optimized out>, end=0, delta_item_count=1, remove=false) at itemmodels/qsortfilterproxymodel.cpp:1200
#5  0x00007f5549cad8b0 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x55bb94d59730, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1000
#6  0x00007f5549cb1cdd in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (end=0, start=0, source_parent=..., this=0x55bb94d59730) at itemmodels/qsortfilterproxymodel.cpp:1702
#7  QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x55bb94d59730, source_parent=..., start=0, end=0) at itemmodels/qsortfilterproxymodel.cpp:1696
#8  0x00007f5549d1355c in doActivate<false> (sender=0x55bb94d55f70, signal_index=13, argv=0x7ffdf299abc0) at kernel/qobject.cpp:3935