Bug 443389 - kded5 crashed after logout from Wayland and login to X11
Summary: kded5 crashed after logout from Wayland and login to X11
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: master
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-06 11:04 UTC by Patrick Silva
Modified: 2021-10-06 19:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-10-06 11:04:34 UTC
SUMMARY
I was using Wayland session, logged out, logged in to X11, drkonqi icon
shown up in system tray.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Graphics Platform: X11

Application: kded5 (kded5), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 14258]
[New LWP 14264]
[New LWP 14259]
[New LWP 14260]
[New LWP 14265]
[New LWP 14266]
[New LWP 14267]
[New LWP 14281]
[New LWP 14282]
[New LWP 14285]
[New LWP 14286]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/kded5'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f2504944840 (LWP 14258))]
__preamble__

[Current thread is 1 (Thread 0x7f2504944840 (LWP 14258))]

Thread 11 (Thread 0x7f24df7fe700 (LWP 14286)):
#0  0x00007f2507784aff in __GI___poll (fds=0x55d1d4973280, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f250689e36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55d1d4973280, timeout=<optimized out>, context=0x55d1d4973380) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55d1d4973380, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f250689e4a3 in g_main_context_iteration (context=context@entry=0x55d1d4973380, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f24f840499d in dconf_gdbus_worker_thread (user_data=0x55d1d4973380) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007f25068c7ad1 in g_thread_proxy (data=0x55d1d496e300) at ../../../glib/gthread.c:807
#6  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f24dffff700 (LWP 14285)):
#0  0x00007f2507784aff in __GI___poll (fds=0x7f24d4003570, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f250689e36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f24d4003570, timeout=<optimized out>, context=0x7f24d4000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f24d4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f250689e4a3 in g_main_context_iteration (context=0x7f24d4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2507d525d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f24d4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2507cf687b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f24dfffed60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2507b10292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x55d1d4696860) at thread/qthread_unix.cpp:329
#8  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f24f972d700 (LWP 14282)):
#0  0x00007f2507784aff in __GI___poll (fds=0x55d1d48b6800, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f250689e36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x55d1d48b6800, timeout=<optimized out>, context=0x55d1d48b32c0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x55d1d48b32c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f250689e6f3 in g_main_loop_run (loop=0x55d1d48b33b0) at ../../../glib/gmain.c:4241
#4  0x00007f24fa390f8a in gdbus_shared_thread_func (user_data=0x55d1d48b3290) at ../../../gio/gdbusprivate.c:279
#5  0x00007f25068c7ad1 in g_thread_proxy (data=0x55d1d48ad0c0) at ../../../glib/gthread.c:807
#6  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f24f9f2e700 (LWP 14281)):
#0  0x00007f2507784aff in __GI___poll (fds=0x55d1d48a1550, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f250689e36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55d1d48a1550, timeout=<optimized out>, context=0x55d1d48a40c0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55d1d48a40c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f250689e4a3 in g_main_context_iteration (context=0x55d1d48a40c0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f250689e4f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007f25068c7ad1 in g_thread_proxy (data=0x55d1d4596400) at ../../../glib/gthread.c:807
#6  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f24faffd700 (LWP 14267)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f24faffccd0, clockid=<optimized out>, expected=0, futex_word=0x55d1d484d4a4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f24faffccd0, clockid=<optimized out>, mutex=0x55d1d484d450, cond=0x55d1d484d478) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55d1d484d478, mutex=0x55d1d484d450, abstime=0x7f24faffccd0) at pthread_cond_wait.c:665
#3  0x00007f2507b17528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x55d1d484d450, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d1d484d450) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d1d484d340, mutex=mutex@entry=0x55d1d47f89d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f2507b14a31 in QThreadPoolThread::run() (this=0x55d1d484d330) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x55d1d484d330) at thread/qthread_unix.cpp:329
#8  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f24fb7fe700 (LWP 14266)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f24fb7fdcd0, clockid=<optimized out>, expected=0, futex_word=0x55d1d484d0a4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f24fb7fdcd0, clockid=<optimized out>, mutex=0x55d1d484d050, cond=0x55d1d484d078) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55d1d484d078, mutex=0x55d1d484d050, abstime=0x7f24fb7fdcd0) at pthread_cond_wait.c:665
#3  0x00007f2507b17528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x55d1d484d050, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d1d484d050) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d1d484cf40, mutex=mutex@entry=0x55d1d47f89d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f2507b14a31 in QThreadPoolThread::run() (this=0x55d1d484cf30) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x55d1d484cf30) at thread/qthread_unix.cpp:329
#8  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f24fbfff700 (LWP 14265)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f24fbffecd0, clockid=<optimized out>, expected=0, futex_word=0x55d1d484cce0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f24fbffecd0, clockid=<optimized out>, mutex=0x55d1d484cc90, cond=0x55d1d484ccb8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55d1d484ccb8, mutex=0x55d1d484cc90, abstime=0x7f24fbffecd0) at pthread_cond_wait.c:665
#3  0x00007f2507b17528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x55d1d484cc90, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d1d484cc90) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d1d484c620, mutex=mutex@entry=0x55d1d47f89d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f2507b14a31 in QThreadPoolThread::run() (this=0x55d1d484c610) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x55d1d484c610) at thread/qthread_unix.cpp:329
#8  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f25013a3700 (LWP 14260)):
#0  0x00007f2507784aff in __GI___poll (fds=0x55d1d47cfab0, nfds=6, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f250689e36e in g_main_context_poll (priority=<optimized out>, n_fds=6, fds=0x55d1d47cfab0, timeout=<optimized out>, context=0x7f24f4000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f24f4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f250689e4a3 in g_main_context_iteration (context=0x7f24f4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2507d525d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f24f4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2507cf687b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f25013a2d30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2507b10292 in QThread::exec() (this=this@entry=0x7f25080fad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2508076f4b in QDBusConnectionManager::run() (this=0x7f25080fad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x7f25080fad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2503d19700 (LWP 14259)):
#0  0x00007f2507784aff in __GI___poll (fds=fds@entry=0x7f2503d18c68, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f250682dc1a in poll (__timeout=-1, __nfds=1, __fds=0x7f2503d18c68) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55d1d45c45a0, cond=cond@entry=0x55d1d45c45e0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007f250682f90a in xcb_wait_for_event (c=c@entry=0x55d1d45c45a0) at ../../src/xcb_in.c:697
#4  0x00007f250450fe88 in QXcbEventQueue::run() (this=0x55d1d45b3da0) at qxcbeventqueue.cpp:228
#5  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x55d1d45b3da0) at thread/qthread_unix.cpp:329
#6  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f25008de700 (LWP 14264)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f25008ddcd0, clockid=<optimized out>, expected=0, futex_word=0x55d1d484c5d4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f25008ddcd0, clockid=<optimized out>, mutex=0x55d1d484c580, cond=0x55d1d484c5a8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55d1d484c5a8, mutex=0x55d1d484c580, abstime=0x7f25008ddcd0) at pthread_cond_wait.c:665
#3  0x00007f2507b17528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x55d1d484c580, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d1d484c580) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d1d484c2a0, mutex=mutex@entry=0x55d1d47f89d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f2507b14a31 in QThreadPoolThread::run() (this=0x55d1d484c290) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f2507b1142c in QThreadPrivate::start(void*) (arg=0x55d1d484c290) at thread/qthread_unix.cpp:329
#8  0x00007f25072ae609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2507791293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2504944840 (LWP 14258)):
[KCrash Handler]
#3  0x00007f2500951c54 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/keyboard.so
#4  0x00007f250094aaea in KeyboardDaemon::layoutMapChanged() () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/keyboard.so
#5  0x00007f2507d2ed9e in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe8ff63b20, r=0x55d1d4752070, this=0x55d1d47f0180) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false>(QObject*, int, void**) (sender=0x7f24f4013c80, signal_index=4, argv=0x7ffe8ff63b20) at kernel/qobject.cpp:3886
#7  0x00007f250095f545 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/keyboard.so
#8  0x00007f250095f5c9 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/keyboard.so
#9  0x00007f2507cf520f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x55d1d463eae0, result=result@entry=0x7ffe8ff63be8) at kernel/qabstracteventdispatcher.cpp:495
#10 0x00007f25044e6925 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55d1d45c1d30, event=event@entry=0x55d1d463eae0) at qxcbnativeinterface.h:101
#11 0x00007f25044e7676 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d1d45c1d30, flags=flags@entry=...) at qxcbconnection.cpp:1014
#12 0x00007f2504510ea7 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:103
#13 0x00007f250689e17d in g_main_dispatch (context=0x7f24fc005000) at ../../../glib/gmain.c:3309
#14 g_main_context_dispatch (context=context@entry=0x7f24fc005000) at ../../../glib/gmain.c:3974
#15 0x00007f250689e400 in g_main_context_iterate (context=context@entry=0x7f24fc005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#16 0x00007f250689e4a3 in g_main_context_iteration (context=0x7f24fc005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#17 0x00007f2507d525d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d1d4678d00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f2507cf687b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe8ff63e70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#19 0x00007f2507cfea34 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x000055d1d2726cd9 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/kded.cpp:782