Application: kontact (5.19.3 (21.12.3)) Qt Version: 5.15.3 Frameworks Version: 5.92.0 Operating System: Linux 5.15.0-33-generic x86_64 Windowing System: Wayland Distribution: Ubuntu 22.04 LTS DrKonqi: 5.24.4 [KCrashBackend] -- Information about the crash: - What I was doing when the application crashed: I changed google email account settings of its trash. It was setted to "local folder/trash" and i changed it to "Google account/[Google Mail]/trash". After restart of kontact it crashes with error message: "Could not create collection trash, resourceId 31". My Google imap resource has identifier: akonadi_imap_resource_11 ResourceId 31 has name "akonadi_maildir_resource_1" and is the local folder. If i rollback my changes of the trash settings with akonadiconsole, kontact starts without error. The crash can be reproduced every time. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #4 0x00007f125987f599 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118 #5 qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1143 #6 QAction::d_func (this=0x0) at ../../include/QtWidgets/../../src/widgets/kernel/qaction.h:63 #7 QAction::setText (this=0x0, text=...) at kernel/qaction.cpp:714 #8 0x00007f118bef3b3a in KMMainWidget::updateFolderMenu() () from /lib/x86_64-linux-gnu/libkmailprivate.so.5 #9 0x00007f118befea85 in KMMainWidget::setupActions() () from /lib/x86_64-linux-gnu/libkmailprivate.so.5 #10 0x00007f118bf04cf9 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig> const&) () from /lib/x86_64-linux-gnu/libkmailprivate.so.5 #11 0x00007f11a0253edc in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmailpart.so #12 0x00007f11a0254396 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmailpart.so #13 0x00007f1259ecc912 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #14 0x00007f125a058a83 in KontactInterface::Core::createPart(char const*) () from /lib/x86_64-linux-gnu/libKF5KontactInterface.so.5 #15 0x00007f11a02bddda in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kontact5/kontact_kmailplugin.so #16 0x00007f125a05bf2c in KontactInterface::Plugin::part() () from /lib/x86_64-linux-gnu/libKF5KontactInterface.so.5 #17 0x00007f125a08b87b in Kontact::MainWindow::selectPlugin (this=0x5642d1cb4240, plugin=0x5642ced1b160) at ./src/mainwindow.cpp:554 #18 0x00007f125a08c954 in Kontact::MainWindow::loadSettings (this=this@entry=0x5642d1cb4240) at ./src/mainwindow.cpp:683 #19 0x00007f125a090978 in Kontact::MainWindow::initObject (this=0x5642d1cb4240) at ./src/mainwindow.cpp:149 #20 0x00007f125a0913eb in Kontact::MainWindow::MainWindow (this=<optimized out>, this=<optimized out>) at ./src/mainwindow.cpp:86 #21 0x00005642cd06b635 in KontactApp::activate (this=0x7ffce08eebe0, args=..., workingDir=...) at ./src/main.cpp:118 #22 0x00007f125a0581be in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5KontactInterface.so.5 #23 0x00007f125a05b137 in ?? () from /lib/x86_64-linux-gnu/libKF5KontactInterface.so.5 #24 0x00007f125a05b233 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libKF5KontactInterface.so.5 #25 0x00007f1259dfd59b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #26 0x00007f1259e00fec in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #27 0x00007f1259e0187d in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #28 0x00007f1259e03dac in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #29 0x00007f1258d7240e in QObject::event (this=0x7ffce08eebe0, e=0x7f11e4042df0) at kernel/qobject.cpp:1314 #30 0x00007f1259883713 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7ffce08eebe0, e=0x7f11e4042df0) at kernel/qapplication.cpp:3637 #31 0x00007f1258d44e2a in QCoreApplication::notifyInternal2 (receiver=0x7ffce08eebe0, event=0x7f11e4042df0) at kernel/qcoreapplication.cpp:1064 #32 0x00007f1258d47f17 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5642ce832620) at kernel/qcoreapplication.cpp:1821 #33 0x00007f1258d9ea57 in postEventSourceDispatch (s=0x5642ce85b5f0) at kernel/qeventdispatcher_glib.cpp:277 #34 0x00007f124f142d1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007f124f1976f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007f124f1403c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f1258d9e0a8 in QEventDispatcherGlib::processEvents (this=0x5642ce808450, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #38 0x00007f1258d4374b in QEventLoop::exec (this=this@entry=0x7ffce08eead0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #39 0x00007f1258d4bce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #40 0x00007f125916de10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #41 0x00007f1259883689 in QApplication::exec () at kernel/qapplication.cpp:2829 #42 0x00005642cd06a546 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:215 [Inferior 1 (process 4331) detached] Possible duplicates by query: bug 454825, bug 443935, bug 443669, bug 443435, bug 443430. Reported using DrKonqi