Bug 418923 - Plasma settings crarh in SDDM
Summary: Plasma settings crarh in SDDM
Status: RESOLVED DUPLICATE of bug 426572
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-03-16 14:41 UTC by MrNekit
Modified: 2020-12-01 19:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MrNekit 2020-03-16 14:41:33 UTC
Application: systemsettings5 (5.18.3)

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.8-1-MANJARO x86_64
Windowing system: X11
Distribution: Manjaro Linux

-- Information about the crash:
- What I was doing when the application crashed:

I've tried to download new SDDM theme and the list of theme did not load. Then app has been crashed.

-- Backtrace:
Application: Параметры системы (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbd5d826cc0 (LWP 1552))]

Thread 15 (Thread 0x7fbd15ae6700 (LWP 2144)):
#0  0x00007fbd5bf8cabf in poll () at /usr/lib/libc.so.6
#1  0x00007fbd59ed57a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd5c54e0ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbd5c318e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fbd162e7700 (LWP 2143)):
#0  0x00007fbd5bf884fc in read () at /usr/lib/libc.so.6
#1  0x00007fbd59e848c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed4001 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd59ed5748 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fbd5c54e0ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fbd5c318e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fbd17fff700 (LWP 2129)):
#0  0x00007fbd59e844e4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fbd59ed5072 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed56c6 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbd5c54e0ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fbd5c318e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fbd5b592f89 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fbd289e6700 (LWP 2128)):
#0  0x00007fbd5bf884fc in read () at /usr/lib/libc.so.6
#1  0x00007fbd59e848c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed4001 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd59ed5748 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbd59ed6843 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#5  0x00007fbd292f9de8 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007fbd59eace71 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fbd291e7700 (LWP 2127)):
#0  0x00007fbd5bf8cabf in poll () at /usr/lib/libc.so.6
#1  0x00007fbd59ed57a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd59ed58c2 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbd59eace71 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fbd2b5ef700 (LWP 1562)):
#0  0x00007fbd5bf8cabf in poll () at /usr/lib/libc.so.6
#1  0x00007fbd59ed57a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd5c54e0ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbd5c318e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbd5b592f89 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fbd41f0f700 (LWP 1561)):
#0  0x00007fbd5bf8cabf in poll () at /usr/lib/libc.so.6
#1  0x00007fbd59ed57a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd5c54e0ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbd5c318e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbd5b592f89 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fbd431b7700 (LWP 1560)):
#0  0x00007fbd5ab27cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbd4eeeec0c in  () at /usr/lib/dri/r600_dri.so
#2  0x00007fbd4eeee808 in  () at /usr/lib/dri/r600_dri.so
#3  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fbd4c9dd700 (LWP 1559)):
#0  0x00007fbd5ab27cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbd4eeeec0c in  () at /usr/lib/dri/r600_dri.so
#2  0x00007fbd4eeee808 in  () at /usr/lib/dri/r600_dri.so
#3  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fbd4d1de700 (LWP 1558)):
#0  0x00007fbd5ab27cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbd4eeeec0c in  () at /usr/lib/dri/r600_dri.so
#2  0x00007fbd4eeee808 in  () at /usr/lib/dri/r600_dri.so
#3  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fbd4d9df700 (LWP 1557)):
#0  0x00007fbd5ab27cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbd4eeeec0c in  () at /usr/lib/dri/r600_dri.so
#2  0x00007fbd4eeee808 in  () at /usr/lib/dri/r600_dri.so
#3  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fbd4e33f700 (LWP 1556)):
#0  0x00007fbd5ab27cf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fbd4eeeec0c in  () at /usr/lib/dri/r600_dri.so
#2  0x00007fbd4eeee808 in  () at /usr/lib/dri/r600_dri.so
#3  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fbd55407700 (LWP 1555)):
#0  0x00007fbd59e84479 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fbd59ed5785 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbd5c54e0ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbd5c318e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbd5c7a5b28 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fbd56967700 (LWP 1554)):
#0  0x00007fbd5bf8cabf in poll () at /usr/lib/libc.so.6
#1  0x00007fbd5aad463b in  () at /usr/lib/libxcb.so.1
#2  0x00007fbd5aad637b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fbd5737dba1 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fbd5c319fd6 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fbd5ab2146f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fbd5bf973d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fbd5d826cc0 (LWP 1552)):
[KCrash Handler]
#6  0x0000000000000018 in  ()
#7  0x00007fbd5c521dc2 in QObjectPrivate::connectImpl(QObject const*, int, QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*, QMetaObject const*) () at /usr/lib/libQt5Core.so.5
#8  0x00007fbd5c52213e in QObject::connectImpl(QObject const*, void**, QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*, QMetaObject const*) () at /usr/lib/libQt5Core.so.5
#9  0x00007fbd29afcb50 in KNSCore::Engine::loadProviders() () at /usr/lib/libKF5NewStuffCore.so.5
#10 0x00007fbd29b02c3a in KNSCore::Engine::init(QString const&) () at /usr/lib/libKF5NewStuffCore.so.5
#11 0x00007fbd2a338f61 in  () at /usr/lib/libKF5NewStuff.so.5
#12 0x00007fbd2a339aed in KNS3::DownloadWidget::init(QString const&) () at /usr/lib/libKF5NewStuff.so.5
#13 0x00007fbd2a33639f in KNS3::DownloadDialog::init(QString const&) () at /usr/lib/libKF5NewStuff.so.5
#14 0x00007fbd2a5049df in  () at /usr/lib/qt/plugins/kcm_sddm.so
#15 0x00007fbd5c52b50e in  () at /usr/lib/libQt5Core.so.5
#16 0x00007fbd5d135a83 in QAbstractButton::clicked(bool) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fbd5d135cac in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fbd5d1370b2 in  () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fbd5d137276 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fbd5d07f48e in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fbd5d03b362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007fbd5d044a68 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007fbd5c4f5a12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007fbd5d043afb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007fbd5d09ac41 in  () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fbd5d09dbc4 in  () at /usr/lib/libQt5Widgets.so.5
#27 0x00007fbd5d03b362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007fbd5d044819 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007fbd5c4f5a12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007fbd5c963574 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#31 0x00007fbd5c964cb6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#32 0x00007fbd5c93dbcc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#33 0x00007fbd5737ebcc in  () at /usr/lib/libQt5XcbQpa.so.5
#34 0x00007fbd59ed39be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#35 0x00007fbd59ed5831 in  () at /usr/lib/libglib-2.0.so.0
#36 0x00007fbd59ed5871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#37 0x00007fbd5c54e0d0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#38 0x00007fbd5c4f457c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007fbd5c4fc586 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#40 0x0000559c1491b46c in  ()
#41 0x00007fbd5bebf023 in __libc_start_main () at /usr/lib/libc.so.6
#42 0x0000559c1491b4fe in _start ()
[Inferior 1 (process 1552) detached]

Possible duplicates by query: bug 398325, bug 389811.

Reported using DrKonqi
Comment 1 David Edmundson 2020-03-16 15:00:40 UTC
            loader = new XmlLoader(this);
            s_engineProviderLoaders()->localData().insert(m_providerFileUrl, loader);


is probably the cause
we have a global cache, populated with items with a parent managing the lifespan


on second time round loader can be dangling
Comment 2 Dan Leinir Turthra Jensen 2020-03-16 15:07:47 UTC
Well spotted - yup, that'll want to be not parented so it can be allowed to be managed correctly. i'll try and prepare a patch for that soon as possible :)
Comment 3 Nate Graham 2020-12-01 19:19:51 UTC

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