Bug 393532

Summary: crash due to libcalendarplugin.so
Product: [Plasma] plasmashell Reporter: Andrea Nicotra <nicotra.andrea>
Component: CalendarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version: 5.12.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrea Nicotra 2018-04-26 08:59:51 UTC
Hi today plasmashell fail to start:

[   88.898611] audit: type=1400 audit(1524731912.233:20): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld-akonadi///usr/sbin/mysqld" name="/etc/mysql/mariadb.cnf" pid=2030 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  161.739126] plasmashell[2438]: segfault at 60 ip 00007fbe6078e86b sp 00007fff30f1fe80 error 4 in libcalendarplugin.so[7fbe60783000+1e000]
[  385.809170] traps: plasmashell[2780] general protection ip:7fc23dbdc882 sp:7ffe92434fc0 error:0 in libcalendarplugin.so[7fc23dbd1000+1e000]
[  447.933373] plasmashell[2867]: segfault at 1000000061 ip 00007f26513d986b sp 00007ffc74a92800 error 4 in libcalendarplugin.so[7f26513ce000+1e000]


below the gdb error:

#0  0x00007fff2578e86b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
#1  0x00007fff2579ae95 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/libcalendarplugin.so
#2  0x00007ffff1e7a4c9 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff2e18acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff2e20417 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff1e4c3c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff1e4efcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff1ea3fa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffec460197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffec4603f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fffec46049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff1ea35af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fffe36641a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007ffff1e4a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff1e53854 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x000000000041cdac in ?? ()
#16 0x00007ffff1495830 in __libc_start_main (main=0x41c3c0, argc=1, argv=0x7fffffffdf88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf78)
    at ../csu/libc-start.c:291
#17 0x000000000041d149 in _start ()


my system is kde neon stable, below the list of packages installed:

kde-cli-tools-4:5.12.4-0neon+16.04+xenial+build63.amd64
kde-cli-tools-data-4:5.12.4-0neon+16.04+xenial+build63.all
kde-config-gtk-style-4:5.12.4-0neon+16.04+xenial+build62.amd64
kde-config-gtk-style-preview-4:5.12.4-0neon+16.04+xenial+build62.amd64
kde-config-mailtransport-18.04.0-0neon+16.04+xenial+build68.amd64
kde-config-plymouth-5.12.4-0neon+16.04+xenial+build30.amd64
kde-config-screenlocker-5.12.4-0neon+16.04+xenial+build65.amd64
kde-config-sddm-4:5.12.4-0neon+16.04+xenial+build57.amd64
kde-l10n-it-4:17.04.0+p16.04+git20170914.0758.all
kde-runtime-4:15.12.3-0ubuntu1.amd64
kde-runtime-data-4:15.12.3-0ubuntu1.all
kde-spectacle-18.04.0-0neon+16.04+xenial+build54.amd64
kde-style-breeze-4:5.12.4-0neon+16.04+xenial+build73.amd64
kde-style-breeze-qt4-4:5.12.4-0neon+16.04+xenial+build73.amd64
kdeconnect-1.3.0-0neon+16.04+xenial+build32.amd64
kded5-5.45.0-0neon+16.04+xenial+build50.amd64
kdelibs-bin-4:4.14.16-0ubuntu3.2.amd64
kdelibs5-data-4:4.14.16-0ubuntu3.2.all
kdelibs5-plugins-4:4.14.16-0ubuntu3.2.amd64
kdenetwork-filesharing-4:18.04.0-0neon+16.04+xenial+build32.amd64
kdenlive-4:17.08.3-0neon+16.04+xenial+build34.amd64
kdenlive-data-4:17.08.3-0neon+16.04+xenial+build34.all
kdepim-addons-18.04.0-0neon+16.04+xenial+build38.amd64
kdepim-runtime-4:18.04.0-0neon+16.04+xenial+build56.amd64
kdepim-themeeditors-4:18.04.0-0neon+16.04+xenial+build47.amd64
kdeplasma-addons-data-4:5.12.4-0neon+16.04+xenial+build84.all
kf5-kdepim-apps-libs-data-4:18.04.0-0neon+16.04+xenial+build32.all
libkde3support4-4:4.14.16-0ubuntu3.2.amd64
libkdeclarative5-4:4.14.16-0ubuntu3.2.amd64
libkdecorations2-5v5-4:5.12.4-0neon+16.04+xenial+build57.amd64
libkdecorations2private5v5-4:5.12.4-0neon+16.04+xenial+build57.amd64
libkdecore5-4:4.14.16-0ubuntu3.2.amd64
libkdesu5-4:4.14.16-0ubuntu3.2.amd64
libkdeui5-4:4.14.16-0ubuntu3.2.amd64
libkdewebkit5-4:4.14.16-0ubuntu3.2.amd64
libkf5kdelibs4support-data-5.45.0-0neon+16.04+xenial+build68.all
libkf5kdelibs4support5-5.45.0-0neon+16.04+xenial+build68.amd64
libkf5kdelibs4support5-bin-5.45.0-0neon+16.04+xenial+build68.amd64
libkf5kdepimdbusinterfaces5-4:18.04.0-0neon+16.04+xenial+build32.amd64
libkf5libkdepim-data-4:18.04.0-0neon+16.04+xenial+build23.all
libkf5libkdepim-plugins-4:18.04.0-0neon+16.04+xenial+build23.amd64
libkf5libkdepim5-4:18.04.0-0neon+16.04+xenial+build23.amd64
libkf5libkdepimakonadi5-4:18.04.0-0neon+16.04+xenial+build23.amd64
libobasis5.2-kde-integration-5.2.3.3-3.amd64
plasma-look-and-feel-org-kde-breezedark-desktop-4:5.12.4-0neon+16.04+xenial+build73.all
polkit-kde-agent-1-4:5.12.4-0neon+16.04+xenial+build54.amd64
qml-module-org-kde-activities-5.45.0-0neon+16.04+xenial+build46.amd64
qml-module-org-kde-bluezqt-5.45.0-0neon+16.04+xenial+build46.amd64
qml-module-org-kde-draganddrop-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-extensionplugin-5.45.0-0neon+16.04+xenial+build46.all
qml-module-org-kde-kcm-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-kconfig-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-kcoreaddons-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-kholidays-1:5.45.0-0neon+16.04+xenial+build10.amd64
qml-module-org-kde-kio-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-kirigami2-5.45.0-0neon+16.04+xenial+build20.amd64
qml-module-org-kde-kquickcontrols-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-kquickcontrolsaddons-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-kwindowsystem-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-purpose-5.45.0-0neon+16.04+xenial+build41.amd64
qml-module-org-kde-qqc2desktopstyle-5.45.0-0neon+16.04+xenial+build30.amd64
qml-module-org-kde-runnermodel-5.45.0-0neon+16.04+xenial+build60.amd64
qml-module-org-kde-solid-5.45.0-0neon+16.04+xenial+build40.amd64
xdg-desktop-portal-kde-5.12.4-0neon+16.04+xenial+build22.amd64

delete .cache do not solve the issue
Comment 1 Andrea Nicotra 2018-04-26 09:06:14 UTC
more info

#0  0x00007fff23d6286b in DaysModel::update (this=0x7c26b80) at /workspace/build/src/declarativeimports/calendar/daysmodel.cpp:98
#1  0x00007fff23d6ee95 in DaysModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /workspace/build/obj-x86_64-linux-gnu/src/declarativeimports/calendar/moc_daysmodel.cpp:112
#2  0x00007ffff1e7a4c9 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff2e18acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff2e20417 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff1e4c3c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff1e4efcb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff1ea3fa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffec460197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffec4603f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fffec46049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff1ea35af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fffe36641a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007ffff1e4a64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff1e53854 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x000000000041cdac in ?? ()
#16 0x00007ffff1495830 in __libc_start_main (main=0x41c3c0, argc=2, argv=0x7fffffffdf78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf68)
    at ../csu/libc-start.c:291
#17 0x000000000041d149 in _start ()
Comment 2 Andrea Nicotra 2018-04-26 09:16:42 UTC
[workaround]

edit the file config/plasma-org.kde.plasma.desktop-appletsrc
then remove or comment the line enabledCalendarPlugins

[Containments][102][Applets][108][Configuration][Appearance]
dateFormat=isoDate
#enabledCalendarPlugins=/usr/lib/x86_64-linux-gnu/qt5/plugins/plasmacalendarplugins/holidaysevents.so
#showDate=true
#showWeekNumbers=true
Comment 3 David Edmundson 2018-05-14 14:38:34 UTC

*** This bug has been marked as a duplicate of bug 385011 ***