After trying to add new category i calendar applications crashes. Now kontact application (calendar, addressbook) crashes every time i try to start it. Configuration: - kontact calendar connected to gmail calendar Reproducible: Always Steps to Reproduce: 1. Double click to edit event in calendar, a dialog box appears 2. There are no categories defined yet, try to add new category and click ok Actual Results: Application crashes. Expected Results: An event has assigned category, Example - trying to run kaddressbook: === Stacktrace: === Application: Książka adresowa (kaddressbook), signal: Segmentation fault Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [KCrash Handler] #7 0xb548329a in Akonadi::Tag::operator= (this=0xbfd8f014, other=...) at ../../../../akonadi/src/core/tag.cpp:80 #8 0xb54833ff in Akonadi::Tag::Tag (this=0xbfd8f014, other=...) at ../../../../akonadi/src/core/tag.cpp:72 #9 0xb5522537 in Akonadi::TagModelPrivate::tagForIndex (this=0x96489f0, index=...) at ../../../../akonadi/src/core/models/tagmodel_p.cpp:105 #10 0xb552132c in Akonadi::TagModel::data (this=0x9648a10, index=..., role=258) at ../../../../akonadi/src/core/models/tagmodel.cpp:91 #11 0xb7614145 in CategorySelectWidgetPrivate::slotTagsInserted (this=0x9651668, parent=..., start=0, end=0) at ../../kaddressbook/categoryselectwidget.cpp:173 #12 0xb7615a85 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<QModelIndex const&, int, int>, void, void (CategorySelectWidgetPrivate::*)(QModelIndex const&, int, int)>::call (arg=0xbfd8f23c, o=0x9651668, f=<optimized out>) at /usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:500 #13 QtPrivate::FunctionPointer<void (CategorySelectWidgetPrivate::*)(QModelIndex const&, int, int)>::call<QtPrivate::List<QModelIndex const&, int, int>, void> (arg=0xbfd8f23c, o=0x9651668, f=<optimized out>) at /usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:519 #14 QtPrivate::QSlotObject<void (CategorySelectWidgetPrivate::*)(QModelIndex const&, int, int), QtPrivate::List<QModelIndex const&, int, int>, void>::impl (which=1, this_=0x95ea678, r=0x9651668, a=0xbfd8f23c, ret=0x0) at /usr/include/i386-linux-gnu/qt5/QtCore/qobject_impl.h:143 #15 0xb67bdde0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #16 0xb67be6bd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #17 0xb683da01 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #18 0xb6734e3e in QAbstractItemModel::endInsertRows() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #19 0xb5522b59 in Akonadi::TagModelPrivate::monitoredTagAdded (this=0x96489f0, tag=...) at ../../../../akonadi/src/core/models/tagmodel_p.cpp:126 #20 0xb5522f8a in Akonadi::TagModelPrivate::tagsFetched (this=0x96489f0, tags=...) at ../../../../akonadi/src/core/models/tagmodel_p.cpp:223 #21 0xb5520b2e in Akonadi::TagModel::qt_static_metacall (_o=0x9648a10, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd8f4d4) at ./moc_tagmodel.cpp:102 #22 0xb67be1c1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #23 0xb67be6bd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #24 0xb54cff31 in Akonadi::TagFetchJob::tagsReceived (this=0x963b290, _t1=...) at ./moc_tagfetchjob.cpp:145 #25 0xb54d14fd in Akonadi::TagFetchJobPrivate::timeout (this=0x95d05a0) at ../../../../akonadi/src/core/jobs/tagfetchjob.cpp:58 #26 Akonadi::TagFetchJobPrivate::aboutToFinish (this=0x95d05a0) at ../../../../akonadi/src/core/jobs/tagfetchjob.cpp:49 #27 0xb54b8956 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:152 #28 Akonadi::Job::qt_static_metacall (_o=0x963b290, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x9776808) at ./moc_job.cpp:107 #29 0xb67bafd0 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #30 0xb67bedf3 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #31 0xb6aea3aa in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #32 0xb6aefa40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #33 0xb678e25f in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #34 0xb679093d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #35 0xb6790e27 in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #36 0xb67e6423 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #37 0xb43d8ce9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #38 0xb43d8f89 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #39 0xb43d9054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #40 0xb67e6813 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #41 0xac9ae801 in ?? () from /usr/lib/i386-linux-gnu/libQt5XcbQpa.so.5 #42 0xb678b383 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #43 0xb678b7da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #44 0xb6793dd5 in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #45 0xb5a15691 in QGuiApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Gui.so.5 #46 0xb6ae6274 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #47 0x0804d1ef in main (argc=1, argv=0xbfd8fc54) at ../../kaddressbook/main.cpp:79 === Console log: === $ kaddressbook log_kontactinterface: kontact not running -- start standalone application () "" connectToServer "/tmp/akonadi-bartek.qLt5gy/akonadiserver.socket" "/subscriber/kaddressbook_12565_ufr2YW" connectToServer "/tmp/akonadi-bartek.qLt5gy/akonadiserver.socket" "/subscriber/kaddressbook_12565_OQnl9q" connectToServer "/tmp/akonadi-bartek.qLt5gy/akonadiserver.socket" "/subscriber/kaddressbook_12565_DcRBD6" connectToServer "/tmp/akonadi-bartek.qLt5gy/akonadiserver.socket" "KAddressBook::GlobalContactSession" connectToServer "/tmp/akonadi-bartek.qLt5gy/akonadiserver.socket" "/subscriber/kaddressbook_12565_Z1qdDo" connectToServer "/tmp/akonadi-bartek.qLt5gy/akonadiserver.socket" done org.kde.akonadi.ETM: GEN true false true org.kde.akonadi.ETM: collection: QVector() Connected to "Akonadi" , using protocol version 51 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 51 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 51 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 51 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 51 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 51 Server says: "Not Really IMAP server" 0x9784d50 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. 0x9775520 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. 0x9783cd0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. 0x9783ea8 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. 0x978fba0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. 0x978ff70 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. 0x96b8d50 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x9514198) ): Attempt to set a screen on a child window. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kaddressbook path = /usr/bin pid = 12565 KCrash: Arguments: /usr/bin/kaddressbook KCrash: Attempting to start /usr/lib/i386-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 [1]+ Zatrzymano kaddressbook === Environment: === $ uname -a Linux bartek-notebook 4.2.0-29-generic #34-Ubuntu SMP Mon Feb 8 16:56:53 UTC 2016 i686 i686 i686 GNU/Linux $ kontact --version kontact 5.0.3 $ kaddressbook --version kaddressbook 5.0.3 $ cat /etc/issue Ubuntu 15.10 \n \l $ dpkg --get-selections | grep -v deinstall | grep kde apport-kde install apturl-kde install debconf-kde-data install kde-baseapps-bin install kde-baseapps-data install kde-cli-tools install kde-cli-tools-data install kde-config-gtk-style install kde-config-gtk-style-preview install kde-config-mailtransport:i386 install kde-config-screenlocker install kde-config-sddm install kde-config-telepathy-accounts install kde-config-whoopsie install kde-l10n-engb install kde-l10n-pl install kde-runtime install kde-runtime-data install kde-style-breeze install kde-style-breeze-qt4 install kde-style-oxygen-qt5 install kde-style-qtcurve-qt4:i386 install kde-style-qtcurve-qt5:i386 install kde-telepathy install kde-telepathy-approver install kde-telepathy-auth-handler install kde-telepathy-contact-list install kde-telepathy-data install kde-telepathy-desktop-applets install kde-telepathy-filetransfer-handler install kde-telepathy-integration-module install kde-telepathy-kaccounts install kde-telepathy-kpeople install kde-telepathy-minimal install kde-telepathy-send-file install kde-telepathy-text-ui install kdeconnect install kdeconnect-plasma install kded5 install kdegraphics-strigi-analyzer install kdelibs-bin install kdelibs5-data install kdelibs5-plugins install kdemultimedia-kio-plugins install kdenetwork-filesharing install kdepim install kdepim-dbg install kdepim-doc install kdepim-runtime install kdepimlibs-bin install kdepimlibs-data install kdepimlibs-dbg:i386 install kdepimlibs-kio-plugins install kdeplasma-addons-data install kdesudo install language-pack-kde-en install language-pack-kde-pl install libakonadi-kde4 install libdebconf-kde1:i386 install libkde3support4 install libkdeclarative5 install libkdecorations2-5v5 install libkdecorations2private5v5 install libkdecore5 install libkdepim5 install libkdepimdbusinterfaces5 install libkdesu5 install libkdeui5 install libkdewebkit5 install libkf5kdelibs4support-data install libkf5kdelibs4support5:i386 install libkf5kdelibs4support5-bin install libreoffice-kde install plasma-look-and-feel-org-kde-breezedark-desktop install polkit-kde-agent-1 install python3-pykde4 install qml-module-org-kde-activities:i386 install qml-module-org-kde-bluezqt:i386 install qml-module-org-kde-draganddrop:i386 install qml-module-org-kde-extensionplugin install qml-module-org-kde-kcoreaddons:i386 install qml-module-org-kde-kio:i386 install qml-module-org-kde-kquickcontrols:i386 install qml-module-org-kde-kquickcontrolsaddons:i386 install qml-module-org-kde-kwindowsystem:i386 install qml-module-org-kde-people:i386 install qml-module-org-kde-runnermodel install qml-module-org-kde-solid:i386 install qml-module-org-kde-telepathy install software-properties-kde install
Reproduces for me too, using latest openSUSE RPMs. I've narrowed it down to use of QtCurve widget theme. I created a new user with default configuration; kontact works fine. If I change the widget theme to QtCurve it dies. Change it to fusion, no problem. This happens also when simply creating a new calendar entry.
A bit more information: this worked up through about KDE Frameworks 5.5.5. It broke in 5.6. I'm using qtcurve 1.8.19~git20150303
*** This bug has been marked as a duplicate of bug 353326 ***