Bug#793201: kscreen: KScreen KCM crashes on startup (likely unmet package dependecies) - gdb and valgrind log
Package: kscreen
Version: 4:5.3.2-2
Severity: normal
Hi,
after upgrading another set of packages (including Systemsettings5 and KScreen)
to KF5 in Testing distribution I cannot run KScreen to configure my external
monitor because it crashes on startup.
Logs suggest that some needed modules are not installed:
org.kde.kquickcontrols, org.kde.plasma.core
I installed additional package "qml-module-org-kde-kquickcontrols" so now
KScreen needs only "org.kde.plasma.core" module, however I don't know what
Debian package contains it. I tried to install "plasma-workspace" 5.3.2 but
there are currently many unmet dependencies which, I'm afraid, would completely
ruin my system if I proceed further;)
Thanks
============== INITIAL LOGS
================================================================
================ GDB
====================================================================
Starting program: /usr/bin/systemsettings5
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe7293700 (LWP 1242)]
kf5.kiconthemes: "Theme tree: (Oxygen)"
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5
was not provided by any .service files") , falling back to running
kbuildsycoca5
[New Thread 0x7fffdffff700 (LWP 1243)]
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5
was not provided by any .service files") , falling back to running
kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
LOAD
kscreen: launcherDataAvailable: "org.kde.KScreen.Backend.XRandR"
[New Thread 0x7fffd6b38700 (LWP 1249)]
file:///usr/share/kcm_kscreen/qml/main.qml:22:1: module
"org.kde.kquickcontrols" is not installed
import org.kde.kquickcontrols 2.0
^
file:///usr/share/kcm_kscreen/qml/main.qml:21:1: module "org.kde.plasma.core"
is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^
file:///usr/share/kcm_kscreen/qml/main.qml:22:1: module
"org.kde.kquickcontrols" is not installed
import org.kde.kquickcontrols 2.0
^
file:///usr/share/kcm_kscreen/qml/main.qml:21:1: module "org.kde.plasma.core"
is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^
Program received signal SIGSEGV, Segmentation fault.
0x00007fffd6fc1938 in ?? () from /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so
(gdb) where
#0 0x00007fffd6fc1938 in ?? () from /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so
#1 0x00007fffd6fcd74a in ?? () from /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so
#2 0x00007fffd6fba460 in ?? () from /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so
#3 0x00007ffff4e69aba in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007fffd6d9bfbf in
KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) () from
/usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#5 0x00007fffd6d876f8 in ?? () from /usr/lib/x86_64-linux-
gnu/libKF5Screen.so.6
#6 0x00007ffff4e6ae8a in QObject::event(QEvent*) () from /usr/lib/x86_64
-linux-gnu/libQt5Core.so.5
#7 0x00007ffff62c6adc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007ffff62cbfb0 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007ffff4e393ab in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff4e3b41b in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff4e91f33 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff12f2c3d in g_main_context_dispatch () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#13 0x00007ffff12f2f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff12f2fcc in g_main_context_iteration () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#15 0x00007ffff4e92347 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff4e36b62 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64
-linux-gnu/libQt5Core.so.5
#17 0x00007ffff4e3e7ac in QCoreApplication::exec() () from /usr/lib/x86_64
-linux-gnu/libQt5Core.so.5
#18 0x000000000040f09b in main ()
=============== VALGRIND
==============================================================================================
kf5.kiconthemes: "Theme tree: (Oxygen)"
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5
was not provided by any .service files") , falling back to running
kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5
was not provided by any .service files") , falling back to running
kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
LOAD
kscreen: launcherDataAvailable: "org.kde.KScreen.Backend.XRandR"
kscreen: Launcher finished with exit code 1 , status 0
kscreen: Service for requested backend already running
file:///usr/share/kcm_kscreen/qml/main.qml:22:1: module
"org.kde.kquickcontrols" is not installed
import org.kde.kquickcontrols 2.0
^
file:///usr/share/kcm_kscreen/qml/main.qml:21:1: module "org.kde.plasma.core"
is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^
file:///usr/share/kcm_kscreen/qml/main.qml:22:1: module
"org.kde.kquickcontrols" is not installed
import org.kde.kquickcontrols 2.0
^
file:///usr/share/kcm_kscreen/qml/main.qml:21:1: module "org.kde.plasma.core"
is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^
==1261== Invalid read of size 8
==1261== at 0x1FBBD938: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==1261== by 0x1FBC9749: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==1261== by 0x1FBB645F: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==1261== by 0x7E56AB9: QMetaObject::activate(QObject*, int, int, void**) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==1261== by 0x1FE07FBE:
KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) (in
/usr/lib/x86_64-linux-gnu/libKF5Screen.so.5.3.2)
==1261== by 0x1FDF36F7: ??? (in /usr/lib/x86_64-linux-
gnu/libKF5Screen.so.5.3.2)
==1261== by 0x7E57E89: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==1261== by 0x655AADB: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==1261== by 0x655FFAF: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==1261== by 0x7E263AA: QCoreApplication::notifyInternal(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==1261== by 0x7E2841A: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==1261== by 0x7E7EF32: ??? (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==1261== Address 0x30 is not stack'd, malloc'd or (recently) free'd
==1261==
==1261==
==1261== Process terminating with default action of signal 11 (SIGSEGV)
==1261== Access not within mapped region at address 0x30
==1261== at 0x1FBBD938: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==1261== by 0x1FBC9749: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==1261== by 0x1FBB645F: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==1261== by 0x7E56AB9: QMetaObject::activate(QObject*, int, int, void**) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==1261== by 0x1FE07FBE:
KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) (in
/usr/lib/x86_64-linux-gnu/libKF5Screen.so.5.3.2)
==1261== by 0x1FDF36F7: ??? (in /usr/lib/x86_64-linux-
gnu/libKF5Screen.so.5.3.2)
==1261== by 0x7E57E89: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==1261== by 0x655AADB: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==1261== by 0x655FFAF: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==1261== by 0x7E263AA: QCoreApplication::notifyInternal(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==1261== by 0x7E2841A: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==1261== by 0x7E7EF32: ??? (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==1261== If you believe this happened as a result of a stack
==1261== overflow in your program's main thread (unlikely but
==1261== possible), you can try to increase the size of the
==1261== main thread stack using the --main-stacksize= flag.
==1261== The main thread stack size used in this run was 8388608.
==1261==
==1261== HEAP SUMMARY:
==1261== in use at exit: 3,993,251 bytes in 32,918 blocks
==1261== total heap usage: 198,765 allocs, 165,847 frees, 57,324,843 bytes
allocated
==1261==
==1261== LEAK SUMMARY:
==1261== definitely lost: 536 bytes in 5 blocks
==1261== indirectly lost: 32 bytes in 1 blocks
==1261== possibly lost: 358,775 bytes in 2,710 blocks
==1261== still reachable: 3,633,908 bytes in 30,202 blocks
==1261== suppressed: 0 bytes in 0 blocks
==1261== Rerun with --leak-check=full to see details of leaked memory
==1261==
==1261== For counts of detected and suppressed errors, rerun with: -v
==1261== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 3 from 1)
Killed
============FINAL VALGRIND LOG (qml-module-org-kde-kquickcontrols installed)
=========================================================
kf5.kiconthemes: "Theme tree: (Oxygen)"
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5
was not provided by any .service files") , falling back to running
kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5
was not provided by any .service files") , falling back to running
kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
LOAD
kscreen: launcherDataAvailable: "org.kde.KScreen.Backend.XRandR"
kscreen: Launcher finished with exit code 1 , status 0
kscreen: Service for requested backend already running
file:///usr/share/kcm_kscreen/qml/main.qml:21:1: module "org.kde.plasma.core"
is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^
==8919== Invalid read of size 8
==8919== at 0x1F7BD938: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==8919== by 0x1F7C9749: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==8919== by 0x1F7B645F: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==8919== by 0x7E56AB9: QMetaObject::activate(QObject*, int, int, void**) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==8919== by 0x1FA07FBE:
KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) (in
/usr/lib/x86_64-linux-gnu/libKF5Screen.so.5.3.2)
==8919== by 0x1F9F36F7: ??? (in /usr/lib/x86_64-linux-
gnu/libKF5Screen.so.5.3.2)
==8919== by 0x7E57E89: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==8919== by 0x655AADB: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==8919== by 0x655FFAF: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==8919== by 0x7E263AA: QCoreApplication::notifyInternal(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==8919== by 0x7E2841A: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==8919== by 0x7E7EF32: ??? (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==8919== Address 0x30 is not stack'd, malloc'd or (recently) free'd
==8919==
==8919==
==8919== Process terminating with default action of signal 11 (SIGSEGV)
==8919== Access not within mapped region at address 0x30
==8919== at 0x1F7BD938: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==8919== by 0x1F7C9749: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==8919== by 0x1F7B645F: ??? (in /usr/lib/x86_64-linux-
gnu/qt5/plugins/kcm_kscreen.so)
==8919== by 0x7E56AB9: QMetaObject::activate(QObject*, int, int, void**) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==8919== by 0x1FA07FBE:
KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) (in
/usr/lib/x86_64-linux-gnu/libKF5Screen.so.5.3.2)
==8919== by 0x1F9F36F7: ??? (in /usr/lib/x86_64-linux-
gnu/libKF5Screen.so.5.3.2)
==8919== by 0x7E57E89: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==8919== by 0x655AADB: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==8919== by 0x655FFAF: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.4.2)
==8919== by 0x7E263AA: QCoreApplication::notifyInternal(QObject*, QEvent*)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==8919== by 0x7E2841A: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==8919== by 0x7E7EF32: ??? (in /usr/lib/x86_64-linux-
gnu/libQt5Core.so.5.4.2)
==8919== If you believe this happened as a result of a stack
==8919== overflow in your program's main thread (unlikely but
==8919== possible), you can try to increase the size of the
==8919== main thread stack using the --main-stacksize= flag.
==8919== The main thread stack size used in this run was 8388608.
==8919==
==8919== HEAP SUMMARY:
==8919== in use at exit: 3,997,901 bytes in 32,943 blocks
==8919== total heap usage: 197,815 allocs, 164,872 frees, 53,564,626 bytes
allocated
==8919==
==8919== LEAK SUMMARY:
==8919== definitely lost: 536 bytes in 5 blocks
==8919== indirectly lost: 32 bytes in 1 blocks
==8919== possibly lost: 358,775 bytes in 2,710 blocks
==8919== still reachable: 3,638,558 bytes in 30,227 blocks
==8919== suppressed: 0 bytes in 0 blocks
==8919== Rerun with --leak-check=full to see details of leaked memory
==8919==
==8919== For counts of detected and suppressed errors, rerun with: -v
==8919== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 3 from 1)
Killed
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kscreen depends on:
ii kde-cli-tools 4:5.3.2-2
ii libc6 2.19-19
ii libkf5configwidgets5 5.12.0-1
ii libkf5coreaddons5 5.12.0-1
ii libkf5dbusaddons5 5.12.0-1
ii libkf5globalaccel5 5.12.0-1
ii libkf5i18n5 5.12.0-1
ii libkf5screen6 4:5.3.2-1
ii libkf5widgetsaddons5 5.12.0-1
ii libkf5xmlgui5 5.12.0-1
ii libqt5core5a 5.4.2+dfsg-4
ii libqt5dbus5 5.4.2+dfsg-4
ii libqt5gui5 5.4.2+dfsg-4
ii libqt5qml5 5.4.2-3
ii libqt5quick5 5.4.2-3
ii libqt5widgets5 5.4.2+dfsg-4
ii libstdc++6 5.1.1-14
kscreen recommends no packages.
kscreen suggests no packages.
-- no debconf information
Reply to: