Bug 434873

Summary: Problem editing mailing lists
Product: [Applications] kontact Reporter: Diego Ercolani <diego.ercolani>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Diego Ercolani 2021-03-24 10:03:40 UTC
Application: kontact (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.66-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

-- Information about the crash:
I register also an annoying problem editing contact mailing lists -local ol remote (IMAP) contacts folder
You can open the dialog, then you can add a new contact, you close the dialog, the reopen again and the contact editing form freezes asking to wait but don't return operative.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fca69220be3 in QVector<QPersistentModelIndexData*>::indexOf(QPersistentModelIndexData* const&, int) const (from=0, t=<synthetic pointer>: <optimized out>, this=0x55cce049b370) at ../../include/QtCore/../../src/corelib/tools/qvector.h:904
#5  QAbstractItemModelPrivate::removePersistentIndexData(QPersistentModelIndexData*) (this=0x55ccdffa5650, data=data@entry=0x55cce047e660) at itemmodels/qabstractitemmodel.cpp:651
#6  0x00007fca69220ee9 in QPersistentModelIndexData::destroy(QPersistentModelIndexData*) (data=0x55cce047e660) at itemmodels/qabstractitemmodel.cpp:85
#7  0x00007fc986ae7aa9 in ReparentingModel::Node::~Node() (this=0x55cce047e620, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/views/collectionview/reparentingmodel.cpp:53
#8  0x00007fc986ae7ae9 in ReparentingModel::Node::~Node() (this=0x55cce047e620, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/views/collectionview/reparentingmodel.cpp:57
#9  0x00007fc986ae6132 in QtSharedPointer::ExternalRefCountData::destroy() (this=0x55cce0470a80) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:157
#10 QSharedPointer<ReparentingModel::Node>::deref(QtSharedPointer::ExternalRefCountData*) (dd=0x55cce0470a80) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:465
#11 QSharedPointer<ReparentingModel::Node>::deref() (this=0x55cce047e758) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:460
#12 QSharedPointer<ReparentingModel::Node>::~QSharedPointer() (this=0x55cce047e758, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:315
#13 QVector<QSharedPointer<ReparentingModel::Node> >::destruct(QSharedPointer<ReparentingModel::Node>*, QSharedPointer<ReparentingModel::Node>*) (this=<optimized out>, to=<optimized out>, from=0x55cce047e758) at /usr/include/qt5/QtCore/qvector.h:351
#14 QVector<QSharedPointer<ReparentingModel::Node> >::freeData(QTypedArrayData<QSharedPointer<ReparentingModel::Node> >*) (x=0x55cce047e6d0, this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:542
#15 0x00007fc986ae7acd in QVector<QSharedPointer<ReparentingModel::Node> >::~QVector() (this=0x55cce047c150, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:73
#16 ReparentingModel::Node::~Node() (this=0x55cce047c140, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/views/collectionview/reparentingmodel.cpp:53
#17 0x00007fc986ae7ae9 in ReparentingModel::Node::~Node() (this=0x55cce047c140, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/views/collectionview/reparentingmodel.cpp:57
#18 0x00007fc986aeb354 in QtSharedPointer::ExternalRefCountData::destroy() (this=0x55cce0470890) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:157
#19 QSharedPointer<ReparentingModel::Node>::deref(QtSharedPointer::ExternalRefCountData*) (dd=0x55cce0470890) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:465
#20 QSharedPointer<ReparentingModel::Node>::deref() (this=0x55cce0477308) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:460
#21 QSharedPointer<ReparentingModel::Node>::~QSharedPointer() (this=0x55cce0477308, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:315
#22 QVector<QSharedPointer<ReparentingModel::Node> >::destruct(QSharedPointer<ReparentingModel::Node>*, QSharedPointer<ReparentingModel::Node>*) (this=<optimized out>, to=<optimized out>, from=0x55cce0477308) at /usr/include/qt5/QtCore/qvector.h:351
#23 QVector<QSharedPointer<ReparentingModel::Node> >::reallocData(int, int, QFlags<QArrayData::AllocationOption>) (this=0x55ccdffa5bb0, asize=0, aalloc=6, options=...) at /usr/include/qt5/QtCore/qvector.h:625
#24 0x00007fc986aeb7be in QVector<QSharedPointer<ReparentingModel::Node> >::resize(int) (this=this@entry=0x55ccdffa5bb0, asize=asize@entry=0) at /usr/include/qt5/QtCore/qvector.h:422
#25 0x00007fc986ae9095 in QVector<QSharedPointer<ReparentingModel::Node> >::clear() (this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:426
#26 ReparentingModel::~ReparentingModel() (this=0x55ccdffa5b90, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/views/collectionview/reparentingmodel.cpp:159
#27 0x00007fc986ae9159 in ReparentingModel::~ReparentingModel() (this=0x55ccdffa5b90, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/views/collectionview/reparentingmodel.cpp:162
#28 0x00007fca692a1a4b in QObjectPrivate::deleteChildren() (this=0x55ccdff99e70) at kernel/qobject.cpp:2017
#29 0x00007fca6a135c3c in QWidget::~QWidget() () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007fc986adee0a in CalendarViewExtension::~CalendarViewExtension() (this=0x55ccdff98710, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/calendarview.h:74
#31 AkonadiCollectionView::~AkonadiCollectionView() (this=0x55ccdff98710, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/akonadicollectionview.cpp:601
#32 0x00007fc986adeea9 in AkonadiCollectionView::~AkonadiCollectionView() (this=0x55ccdff98710, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/akonadicollectionview.cpp:605
#33 0x00007fc986af4cee in qDeleteAll<QList<CalendarViewExtension*>::const_iterator>(QList<CalendarViewExtension*>::const_iterator, QList<CalendarViewExtension*>::const_iterator) (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:320
#34 qDeleteAll<QList<CalendarViewExtension*> >(QList<CalendarViewExtension*> const&) (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:328
#35 CalendarView::~CalendarView() (this=0x55ccdfe636e0, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/calendarview.cpp:334
#36 0x00007fc986af4e19 in CalendarView::~CalendarView() (this=0x55ccdfe636e0, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/calendarview.cpp:339
#37 0x00007fc986acf3cd in ActionManager::~ActionManager() (this=0x55ccdff99560, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/actionmanager.cpp:127
#38 0x00007fc986acf469 in ActionManager::~ActionManager() (this=0x55ccdff99560, __in_chrg=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/actionmanager.cpp:128
#39 0x00007fc986d96aca in KOrganizerPart::~KOrganizerPart() (this=0x55ccdfd49f70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/korganizer_part.cpp:95
#40 0x00007fc986d96b49 in KOrganizerPart::~KOrganizerPart() (this=0x55ccdfd49f70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/korganizer_part.cpp:99
#41 0x00007fca6b6fd37e in KontactInterface::Plugin::~Plugin() () at /usr/lib64/libKF5KontactInterface.so.5
#42 0x00007fc9a37f818c in KOrganizerPlugin::~KOrganizerPlugin() (this=0x55ccdf4ccf30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/kontactplugin/korganizer/korganizerplugin.cpp:79
#43 KOrganizerPlugin::~KOrganizerPlugin() (this=0x55ccdf4ccf30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/korganizer-20.04.2-lp152.1.1.x86_64/src/kontactplugin/korganizer/korganizerplugin.cpp:81
#44 0x00007fca6b92a11e in Kontact::MainWindow::~MainWindow() () at /usr/lib64/libkontactprivate.so.5
#45 0x00007fca6b92a359 in Kontact::MainWindow::~MainWindow() () at /usr/lib64/libkontactprivate.so.5
#46 0x00007fca692a4a00 in QObject::event(QEvent*) (this=0x55ccdf1b6640, e=<optimized out>) at kernel/qobject.cpp:1252
#47 0x00007fca6a13a443 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#48 0x00007fca6a243d70 in QMainWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#49 0x00007fca6afc5121 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#50 0x00007fca6b006597 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#51 0x00007fca6a0f9f2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#52 0x00007fca6a101540 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#53 0x00007fca69274328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55ccdf1b6640, event=0x55cce49eef00) at kernel/qcoreapplication.cpp:1088
#54 0x00007fca692744fe in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x55cce49eef00) at kernel/qcoreapplication.cpp:1476
#55 0x00007fca69276ee7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55ccdf07af30) at kernel/qcoreapplication.cpp:1825
#56 0x00007fca69277488 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#57 0x00007fca692d1d93 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55ccdf176e50) at kernel/qeventdispatcher_glib.cpp:276
#58 0x00007fca6222b624 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#59 0x00007fca6222b9c0 in  () at /usr/lib64/libglib-2.0.so.0
#60 0x00007fca6222ba4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#61 0x00007fca692d13af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55ccdf177ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#62 0x00007fca6927257a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffb513f230, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#63 0x00007fca6927b780 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1389
#64 0x000055ccde221785 in  ()
#65 0x00007fca6864134a in __libc_start_main () at /lib64/libc.so.6
#66 0x000055ccde221daa in  ()
[Inferior 1 (process 3748) detached]

Possible duplicates by query: bug 434294, bug 390544, bug 373949, bug 368298, bug 367808.

Reported using DrKonqi