https://bugs.kde.org/show_bug.cgi?id=375435

            Bug ID: 375435
           Summary: Segmentation fault when going back from screen locking
                    settings
           Product: systemsettings
           Version: 5.8.4
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: cal...@posteo.de
  Target Milestone: ---

Created attachment 103595
  --> https://bugs.kde.org/attachment.cgi?id=103595&action=edit
Valgrind output after crash

Hi,

system settings crashes every time with a segmentation fault whenever I visit
the "Desktop Behavior" -> "Screen locking" area and then click on "All
settings" in order to go back.

The output generated on standard output is as follows. I replaced the list of
files in "selected (...)" with "[...]".

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 0x7fffe66a0700 (LWP 4860)]
[New Thread 0x7fffddcbe700 (LWP 4861)]
kf5.kservice.sycoca: Opening ksycoca from
"/home/martin/.cache/ksycoca5_en_4mwNGZFZdIJ699nUz9YhbXVP7r8="
org.kde.kwindowsystem: Loaded plugin
"/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so"
for platform "xcb"
[New Thread 0x7fffd38ab700 (LWP 4863)]
selected ("[...]")
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/opt/sddm/"
No metadata file in the package, expected it at: "/opt/sddm/"
No metadata file in the package, expected it at: "/opt/sddm/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
No metadata file in the package, expected it at: "/home/martin/Pictures/"
org.kde.kcoreaddons: KDirWatch: "/home/martin/Pictures" is a directory. Use
addDir!
org.kde.kcoreaddons: KDirWatch: "/opt/sddm" is a directory. Use addDir!
 WP : ------- ("/home/martin/.local/share/wallpapers/",
"/usr/share/wallpapers/")
 [New Thread 0x7fffcb5ef700 (LWP 4864)]
 No file found for ".xml" , even though update-mime-info said it would exist.
 Either it was just removed, or the directory doesn't have executable
permission... ("/usr/share/mime")
 No file found for ".xml" , even though update-mime-info said it would exist.
 Either it was just removed, or the directory doesn't have executable
permission... ("/usr/share/mime")
 [Thread 0x7fffcb5ef700 (LWP 4864) exited]

file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/config.qml:275:13:
QML GridView: Binding loop detected for property "cellWidth"

file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/config.qml:275:13:
QML GridView: Binding loop detected for property "cellWidth"
 No metadata file in the package, expected it at:
"/home/martin/.local/share/wallpapers/"
 No metadata file in the package, expected it at:
"/home/martin/.local/share/wallpapers/"
 No metadata file in the package, expected it at:
"/home/martin/.local/share/wallpapers/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 No metadata file in the package, expected it at: "/usr/share/backgrounds/"
 org.kde.kcoreaddons: KDirWatch: "/home/martin/.local/share/wallpapers" is a
directory. Use addDir!
 org.kde.kcoreaddons: KDirWatch: "/usr/share/backgrounds" is a directory. Use
addDir!
 org.kde.kcoreaddons: KDirWatch:
"/usr/share/desktop-base/softwaves-theme/wallpaper" is a directory. Use addDir!
 org.kde.kcoreaddons: KDirWatch: "/usr/share/desktop-base/joy-theme/wallpaper"
is a directory. Use addDir!
 org.kde.kcoreaddons: KDirWatch:
"/usr/share/desktop-base/joy-inksplat-theme/wallpaper" is a directory. Use
addDir!
 org.kde.kcoreaddons: KDirWatch: "/usr/share/desktop-base/joy-theme/lockscreen"
is a directory. Use addDir!
 org.kde.kcoreaddons: KDirWatch:
"/usr/share/desktop-base/lines-theme/lockscreen" is a directory. Use addDir!
 org.kde.kcoreaddons: KDirWatch: "/usr/share/wallpapers/Next" is a directory.
Use addDir!
 org.kde.kcoreaddons: KDirWatch:
"/usr/share/desktop-base/softwaves-theme/lockscreen" is a directory. Use
addDir!
 org.kde.kcoreaddons: KDirWatch:
"/usr/share/desktop-base/spacefun-theme/wallpaper" is a directory. Use addDir!

Furthermore, gdb prints the following trace for "thread apply all bt":

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 0x7fffe66a0700 (LWP 4860)]
[New Thread 0x7fffddcbe700 (LWP 4861)]
[New Thread 0x7fffd38ab700 (LWP 4863)]
[New Thread 0x7fffcb5ef700 (LWP 4864)]
[Thread 0x7fffcb5ef700 (LWP 4864) exited]
[Thread 0x7fffd38ab700 (LWP 4863) exited]

Thread 1 "systemsettings5" received signal SIGSEGV, Segmentation fault.
0x00007ffff3466e05 in QV4::WeakValue::free() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5

Thread 3 (Thread 0x7fffddcbe700 (LWP 4861)):
#0  0x00007ffff452856d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffef6149f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffef614b0c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4e3b00f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4de498a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4c120f3 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff7f456d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff4c16da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff1733464 in start_thread (arg=0x7fffddcbe700) at
pthread_create.c:333
#9  0x00007ffff45319df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fffe66a0700 (LWP 4860)):
#0  0x00007ffff452856d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff1fad150 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff1faeee9 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe8bffb69 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff4c16da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff1733464 in start_thread (arg=0x7fffe66a0700) at
pthread_create.c:333
#6  0x00007ffff45319df in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fffe8e9b8c0 (LWP 4856)):
#0  0x00007ffff3466e05 in QV4::WeakValue::free() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#1  0x00007ffff34d7b32 in QV4::QObjectWrapper::destroyObject(bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#2  0x00007ffff336de4f in QV4::MemoryManager::sweep(bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#3  0x00007ffff336f25c in QV4::MemoryManager::~MemoryManager() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#4  0x00007ffff345671b in QV4::ExecutionEngine::~ExecutionEngine() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007ffff3596156 in QV8Engine::~QV8Engine() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007ffff3596279 in QV8Engine::~QV8Engine() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff33eda26 in QJSEngine::~QJSEngine() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ffff350197d in QQmlEngine::~QQmlEngine() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007ffff3501a39 in QQmlEngine::~QQmlEngine() () from
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c94af0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#12 0x00007ffff7f22dc9 in QQuickWidget::~QQuickWidget() () from
/usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#13 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c93220,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#15 0x00007ffff630dec9 in QWidget::~QWidget (this=0x555555c93220,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1714
#16 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c62b70,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#18 0x00007ffff645b909 in QStackedWidget::~QStackedWidget (this=0x555555c62b70,
__in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:149
#19 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c62b30,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#21 0x00007ffff64686d9 in QTabWidget::~QTabWidget (this=0x555555c62b30,
__in_chrg=<optimized out>) at widgets/qtabwidget.cpp:363
#22 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c62950,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#24 0x00007fffd3abe6be in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/screenlocker_kcm.so
#25 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555b0bc30,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#27 0x00007ffff6fb228d in KCModule::~KCModule() () from
/usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5
#28 0x00007fffd3ac2cdb in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/screenlocker_kcm.so
#29 0x00007ffff7997184 in KCModuleProxy::deleteClient
(this=this@entry=0x555555c585a0) at ./src/kcmoduleproxy.cpp:217
#30 0x00007ffff799722c in KCModuleProxy::~KCModuleProxy (this=0x555555c585a0,
__in_chrg=<optimized out>) at ./src/kcmoduleproxy.cpp:208
#31 0x00007ffff79973e9 in KCModuleProxy::~KCModuleProxy (this=0x555555c585a0,
__in_chrg=<optimized out>) at ./src/kcmoduleproxy.cpp:212
#32 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c53cd0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#34 0x00007ffff630dec9 in QWidget::~QWidget (this=0x555555c53cd0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1714
#35 0x00007ffff4e10dd1 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff630dbdb in QWidget::~QWidget (this=0x555555c53d10,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1694
#37 0x00007ffff6486979 in QScrollArea::~QScrollArea (this=0x555555c53d10,
__in_chrg=<optimized out>) at widgets/qscrollarea.cpp:174
#38 0x00007ffff68ca27b in KPageWidgetItem::~KPageWidgetItem() () from
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#39 0x00007ffff68ca299 in KPageWidgetItem::~KPageWidgetItem() () from
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#40 0x00007ffff68cacdb in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#41 0x00007ffff68cb8fe in KPageWidgetModel::removePage(KPageWidgetItem*) ()
from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#42 0x00007ffff7bd2a45 in ModuleView::closeModules (this=0x555555b2ed80) at
./core/ModuleView.cpp:275
#43 0x00007fffd464d2ce in IconMode::backToOverview (this=0x555555b3fbb0) at
./icons/IconMode.cpp:156
#44 0x00007ffff4e125a9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ffff62c41c2 in QAction::triggered (this=this@entry=0x555555b22870,
_t1=<optimized out>) at .moc/moc_qaction.cpp:369
#46 0x00007ffff62c6bb0 in QAction::activate (this=0x555555b22870,
event=<optimized out>) at kernel/qaction.cpp:1170
#47 0x00007ffff63b4a0d in QAbstractButtonPrivate::click (this=0x555555ba4e00)
at widgets/qabstractbutton.cpp:393
#48 0x00007ffff63b4c44 in QAbstractButton::mouseReleaseEvent
(this=0x555555ba4c00, e=0x7fffffffd5a0) at widgets/qabstractbutton.cpp:1009
#49 0x00007ffff6480d1a in QToolButton::mouseReleaseEvent (this=<optimized out>,
e=<optimized out>) at widgets/qtoolbutton.cpp:616
#50 0x00007ffff6312278 in QWidget::event (this=0x555555ba4c00,
event=0x7fffffffd5a0) at kernel/qwidget.cpp:9161
#51 0x00007ffff63b5e51 in QAbstractButton::event
(this=this@entry=0x555555ba4c00, e=e@entry=0x7fffffffd5a0) at
widgets/qabstractbutton.cpp:966
#52 0x00007ffff6480df9 in QToolButton::event (this=0x555555ba4c00,
event=0x7fffffffd5a0) at widgets/qtoolbutton.cpp:982
#53 0x00007ffff62cab8c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x555555ba4c00, e=0x7fffffffd5a0)
    at kernel/qapplication.cpp:3799
#54 0x00007ffff62d31fd in QApplication::notify (this=<optimized out>,
receiver=0x555555ba4c00, e=0x7fffffffd5a0) at kernel/qapplication.cpp:3273
#55 0x00007ffff4de69a0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007ffff62d18ad in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x555555ba4c00, event=event@entry=0x7fffffffd5a0, 
    alienWidget=alienWidget@entry=0x555555ba4c00, nativeWidget=0x55555585e150,
buttonDown=buttonDown@entry=0x7ffff67d2cb0 <qt_button_down>, 
    lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#58 0x00007ffff632c906 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x555555923ae0, event=event@entry=0x7fffffffd9c0) at
kernel/qwidgetwindow.cpp:617
#59 0x00007ffff632f313 in QWidgetWindow::event (this=0x555555923ae0,
event=0x7fffffffd9c0) at kernel/qwidgetwindow.cpp:239
#60 0x00007ffff62cab8c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x555555923ae0, e=0x7fffffffd9c0)
    at kernel/qapplication.cpp:3799
#61 0x00007ffff62d2341 in QApplication::notify (this=0x7fffffffde80,
receiver=0x555555923ae0, e=0x7fffffffd9c0) at kernel/qapplication.cpp:3556
#62 0x00007ffff4de69a0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#63 0x00007ffff5d2fb03 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#64 0x00007ffff5d31685 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#65 0x00007ffff5d0f61b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#66 0x00007fffe8c364c0 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#67 0x00007fffef6147f7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007fffef614a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007fffef614b0c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007ffff4e3b00f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#71 0x00007ffff4de498a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#72 0x00007ffff4ded0fc in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#73 0x0000555555560a60 in main (argc=<optimized out>, argv=<optimized out>) at
./app/main.cpp:56

I also attached the output generated with valgrind.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to