Bug 407614 - kded_touchpad crashes at startup
Summary: kded_touchpad crashes at startup
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_touchpad (show other bugs)
Version: 5.17.5
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 407637 407722 407796 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-16 18:53 UTC by Antonio Rojas
Modified: 2021-07-30 19:50 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2019-05-16 18:53:53 UTC
SUMMARY
kded_touchpad crashes immediately at startup, bringing down kded with it. Using Plasma 5.16 beta, X11, libinput

(gdb) bt
#0  0x00007ffff58750b6 in xcb_wait_for_reply () at /usr/lib/libxcb.so.1
#1  0x00007fffd00a3e16 in XcbAtom::atom() (this=this@entry=0x55555588b7b0)
    at /usr/src/debug/plasma-desktop-5.15.90/kcms/touchpad/src/backends/x11/xcbatom.cpp:49
#2  0x00007fffd009e4bb in XlibTouchpad::setTouchpadOff(int) (this=0x55555588b750, touchpadOff=touchpadOff@entry=2)
    at /usr/src/debug/plasma-desktop-5.15.90/kcms/touchpad/src/backends/x11/xlibtouchpad.cpp:257
#3  0x00007fffd0098818 in XlibBackend::setTouchpadOff(TouchpadBackend::TouchpadOffState)
    (this=<optimized out>, state=TouchpadBackend::TouchpadTapAndScrollDisabled)
    at /usr/src/debug/plasma-desktop-5.15.90/kcms/touchpad/src/backends/x11/xlibbackend.cpp:256
#4  0x00007fffd007352e in TouchpadDisabler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
    (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /usr/src/debug/build/kcms/touchpad/src/kded_touchpad_autogen/L3SAJRQFFS/moc_kded.cpp:162
#5  0x00007ffff6c854b7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff6c854b7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#7  0x00007fffd00a4adc in XRecordKeyboardMonitor::processNextReply() (this=0x555555f9afb0)
    at /usr/src/debug/plasma-desktop-5.15.90/kcms/touchpad/src/backends/x11/xrecordkeyboardmonitor.cpp:116
#8  0x00007ffff6c854b7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007ffff6c90f4a in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#10 0x00007ffff6c912a2 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#11 0x00007ffff7892f04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff789a541 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff6c5a5e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007ffff6cb07e6 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007ffff58fc90f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffff58fe869 in  () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffff58fe8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#18 0x00007ffff6cafb69 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007ffff6c5917c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#20 0x00007ffff6c613e6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#21 0x00007ffff7f7e255 in kdemain () at /usr/lib/libkdeinit5_kded5.so
#22 0x00007ffff7dcfce3 in __libc_start_main () at /usr/lib/libc.so.6
#23 0x000055555555505e in  ()




SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58
Qt Version: 5.13 beta 3

ADDITIONAL INFORMATION
Comment 1 Roman Gilg 2019-05-16 19:02:31 UTC
You had your touchpad disabled before restart?
Comment 2 Antonio Rojas 2019-05-16 19:06:05 UTC
(In reply to Roman Gilg from comment #1)
> You had your touchpad disabled before restart?

No - at least not intentionally
Comment 3 Roman Gilg 2019-05-16 19:11:33 UTC
Yea, the setTouchpadOff call also seems more related to keyboard interaction deactivating the touchpad temporarily. libinput should do this itself already.
Comment 4 Antonio Rojas 2019-05-16 19:27:49 UTC
Indeed, unchecking "Disable touchpad when typing" fixes the issue.
Comment 5 Antonio Rojas 2019-05-17 07:44:16 UTC
Nevermind: after a restart, this is still crashing even with that option unchecked
Comment 6 Roman Gilg 2019-05-17 11:06:46 UTC
Same backtrace? Do you have the touchpad applet added to your workspace? Might be that one trying to do something.
Comment 7 Antonio Rojas 2019-05-17 11:09:00 UTC
Same backtrace, yeah. I don't have a touchpad applet
Comment 8 Roman Gilg 2019-05-17 12:58:41 UTC
Ok thanks. I tried to reproduce the issue, but didn't succeed. Can you check via the application qdbusviewer if the interface org.kde.touchpad exists?

For me the TouchpadDisabler is not even initialized, which then triggers the bad behavior. I'm not sure why this is.
Comment 9 Antonio Rojas 2019-05-17 14:07:34 UTC
(In reply to Roman Gilg from comment #8)
> Ok thanks. I tried to reproduce the issue, but didn't succeed. Can you check
> via the application qdbusviewer if the interface org.kde.touchpad exists?

No, it doesn't
Comment 10 Christoph Feck 2019-05-17 15:22:33 UTC
*** Bug 407637 has been marked as a duplicate of this bug. ***
Comment 11 atulbi 2019-05-18 17:56:27 UTC
I was having similar issue of kded crashing.
But reinstalling xserver-xorg input packages fixed that.

Can you provide xorg packages you have installed on your device.

Run "apt list --installed" and send packages name started with xserver-xorg.
Comment 12 Antonio Rojas 2019-05-18 18:04:27 UTC
(In reply to atulbi from comment #11)
> Run "apt list --installed" and send packages name started with xserver-xorg.

Those are debian-specific commands, which I'm not using. Anyway, here's the list of xorg packages installed:

xorg-bdftopcf 1.1-1
xorg-font-util 1.3.1-2
xorg-font-utils 7.6-5
xorg-fonts-encodings 1.0.4-5
xorg-mkfontscale 1.2.1-1
xorg-server 1.20.4-1
xorg-server-common 1.20.4-1
xorg-server-xwayland 1.20.4-1
xorg-setxkbmap 1.3.1-2
xorg-xauth 1.0.10-2
xorg-xkbcomp 1.4.2-1
xorg-xmessage 1.0.5-1
xorg-xprop 1.2.4-1
xorg-xrdb 1.2.0-1
xorg-xset 1.2.4-1
xorg-xsetroot 1.1.2-1
xorgproto 2018.4-1
xf86-input-libinput 0.28.2-1
Comment 13 atulbi 2019-05-18 21:35:56 UTC
 (In reply to Antonio Rojas from comment #0)
g Plasma 5.16 beta, X11, libinput 
> (gdb) bt
> #0  0x00007ffff58750b6 in xcb_wait_for_reply () at /usr/lib/libxcb.so.1
> #1  0x00007fffd00a3e16 in XcbAtom::atom() (this=this@entry=0x55555588b7b0)
>     at
> /usr/src/debug/plasma-desktop-5.15.90/kcms/touchpad/src/backends/x11/xcbatom.
> cpp:49

When XcbAtom::atom() is called (by kded on key press other than Kded Keyboard shortcuts), m_connection seems to be having null or 0x0 value.

Try this out 
https://phabricator.kde.org/D21278
Comment 14 Antonio Rojas 2019-05-18 21:48:18 UTC
This fixes the crash, yes
Comment 15 atulbi 2019-05-18 21:52:29 UTC
Thanks, So good to hear that :D
Comment 16 Rajeesh K V 2019-05-19 06:35:50 UTC
I've got a similar crash in Plasma 5.16 beta on startup, not sure if it's related. Backtrace below:

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4ce9067e00 (LWP 1090))]

Thread 7 (Thread 0x7f4cd0d40700 (LWP 1549)):
#0  0x00007f4cec3383f7 in poll () at /lib64/libc.so.6
#1  0x00007f4ceaebe2de in  () at /lib64/libglib-2.0.so.0
#2  0x00007f4ceaebe413 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f4cec6c7413 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f4cec6712bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f4cec4ca675 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f4cec4cb7c6 in  () at /lib64/libQt5Core.so.5
#7  0x00007f4ceb8d65a2 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f4cec343163 in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f4cd2268700 (LWP 1107)):
#0  0x00007f4ceaf09f2d in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007f4ceaebd354 in g_main_context_acquire () at /lib64/libglib-2.0.so.0
#2  0x00007f4ceaebe195 in  () at /lib64/libglib-2.0.so.0
#3  0x00007f4ceaebe413 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007f4cec6c7413 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f4cec6712bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f4cec4ca675 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007f4cec4cb7c6 in  () at /lib64/libQt5Core.so.5
#8  0x00007f4ceb8d65a2 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f4cec343163 in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f4cd37fe700 (LWP 1100)):
#0  0x00007f4ceaebe1e0 in  () at /lib64/libglib-2.0.so.0
#1  0x00007f4ceaebe6b3 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#2  0x00007f4cd8626b6a in  () at /lib64/libgio-2.0.so.0
#3  0x00007f4ceaee7752 in  () at /lib64/libglib-2.0.so.0
#4  0x00007f4ceb8d65a2 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f4cec343163 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f4cd3fff700 (LWP 1099)):
#0  0x00007f4cec3383f7 in poll () at /lib64/libc.so.6
#1  0x00007f4ceaebe2de in  () at /lib64/libglib-2.0.so.0
#2  0x00007f4ceaebe413 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f4ceaebe461 in  () at /lib64/libglib-2.0.so.0
#4  0x00007f4ceaee7752 in  () at /lib64/libglib-2.0.so.0
#5  0x00007f4ceb8d65a2 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f4cec343163 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f4cd9139700 (LWP 1095)):
#0  0x00007f4cec3383f7 in poll () at /lib64/libc.so.6
#1  0x00007f4ceaebe2de in  () at /lib64/libglib-2.0.so.0
#2  0x00007f4ceaebe413 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f4cec6c7413 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f4cec6712bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f4cec4ca675 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f4cdbe62f4a in  () at /lib64/libQt5DBus.so.5
#7  0x00007f4cec4cb7c6 in  () at /lib64/libQt5Core.so.5
#8  0x00007f4ceb8d65a2 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f4cec343163 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f4cdba78700 (LWP 1092)):
#0  0x00007f4cec3383f7 in poll () at /lib64/libc.so.6
#1  0x00007f4cecebe38a in  () at /lib64/libxcb.so.1
#2  0x00007f4cecebfffa in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f4cdbc6b908 in  () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f4cec4cb7c6 in  () at /lib64/libQt5Core.so.5
#5  0x00007f4ceb8d65a2 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f4cec343163 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f4ce9067e00 (LWP 1090)):
[KCrash Handler]
#6  0x00007f4cecebfde0 in xcb_wait_for_reply () at /lib64/libxcb.so.1
#7  0x00007f4cbdde4609 in  () at /usr/lib64/qt5/plugins/kded_touchpad.so
#8  0x00007f4cbddddd3d in  () at /usr/lib64/qt5/plugins/kded_touchpad.so
#9  0x00007f4cbddd8097 in  () at /usr/lib64/qt5/plugins/kded_touchpad.so
#10 0x00007f4cbddb203d in  () at /usr/lib64/qt5/plugins/kded_touchpad.so
#11 0x00007f4cec69c5ab in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#12 0x00007f4cec69c5ab in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#13 0x00007f4cbdde562d in  () at /usr/lib64/qt5/plugins/kded_touchpad.so
#14 0x00007f4cec69c5ab in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#15 0x00007f4cec6a87fc in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /lib64/libQt5Core.so.5
#16 0x00007f4cec6a8b61 in QSocketNotifier::event(QEvent*) () at /lib64/libQt5Core.so.5
#17 0x00007f4ceba62ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f4ceba6bf50 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007f4cec6722e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#20 0x00007f4cec6c7da7 in  () at /lib64/libQt5Core.so.5
#21 0x00007f4ceaebdfd0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#22 0x00007f4ceaebe368 in  () at /lib64/libglib-2.0.so.0
#23 0x00007f4ceaebe413 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#24 0x00007f4cec6c73f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007f4cec6712bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f4cec678fd6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#27 0x00007f4cdc0b2640 in kdemain () at /lib64/libkdeinit5_kded5.so
#28 0x0000558c0910b4df in  ()
#29 0x0000558c09108541 in  ()
#30 0x00007f4cec26bf33 in __libc_start_main () at /lib64/libc.so.6
#31 0x0000558c09108c9e in  ()
[Inferior 1 (process 1090) detached]
Comment 17 Antonio Rojas 2019-05-19 13:31:09 UTC
*** Bug 407722 has been marked as a duplicate of this bug. ***
Comment 18 Darin Miller 2019-05-19 14:17:16 UTC
This also affects desktops that have no touchpad (crashes immediately on startup).
Comment 19 Roman Gilg 2019-05-20 00:21:08 UTC
Can you guys, who experienced this issue test the new revision at:
https://phabricator.kde.org/D21278
Comment 20 Antonio Rojas 2019-05-20 06:30:51 UTC
Works for me
Comment 21 Matej Mrenica 2019-05-20 06:51:40 UTC
Some of my (OP of a duplicate) original complains were: brightness keys not working and power button not working, these still persist. I don't know if they are caused by this issue, but they also started after installing Plasma 5.16 beta.
Comment 22 Antonio Rojas 2019-05-20 06:55:33 UTC
(In reply to mthw0 from comment #21)
> Some of my (OP of a duplicate) original complains were: brightness keys not
> working and power button not working, these still persist. I don't know if
> they are caused by this issue, but they also started after installing Plasma
> 5.16 beta.

That's a different issue, see bug 407721
Comment 23 Matej Mrenica 2019-05-20 07:29:21 UTC
(In reply to Antonio Rojas from comment #22)
> (In reply to mthw0 from comment #21)
> > Some of my (OP of a duplicate) original complains were: brightness keys not
> > working and power button not working, these still persist. I don't know if
> > they are caused by this issue, but they also started after installing Plasma
> > 5.16 beta.
> 
> That's a different issue, see bug 407721

Then I guess, this is fixed.
Comment 24 Honghao Li 2019-05-20 07:36:05 UTC
(In reply to Roman Gilg from comment #19)
> Can you guys, who experienced this issue test the new revision at:
> https://phabricator.kde.org/D21278

This works for me, thx!
Comment 25 Rajeesh K V 2019-05-20 07:38:20 UTC
I couldn't reliably reproduce the issue, but with the patch applied, touchpad kcm crash no longer appears anyway.
Comment 26 atulbi 2019-05-20 09:35:18 UTC
(In reply to Rajeesh K V from comment #25)
> I couldn't reliably reproduce the issue, but with the patch applied,
> touchpad kcm crash no longer appears anyway.

Thread 1 of your log reproduced the same backtrace, as we were getting.
Comment 27 atulbi 2019-05-20 09:47:24 UTC
Git commit ecea8b93d997333daa6edeb7a9e611db40425344 by Atul bisht.
Committed on 20/05/2019 at 09:47.
Pushed by atulbi into branch 'Plasma/5.16'.

[Touchpad KCM] Fix kded crashing at startup

Summary:
When XcbAtom::atom() is called (by kded on key press other than Kded Keyboard shortcuts), m_connection seems to be having null or 0x0 value.
Small check on m_connection solves the issue for me.

Test Plan: kded5 do not crashed at startup.

Reviewers: romangg, davidedmundson

Reviewed By: romangg

Subscribers: fvogt, davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D21278

M  +10   -0    kcms/touchpad/src/backends/x11/libinputtouchpad.cpp
M  +3    -0    kcms/touchpad/src/backends/x11/libinputtouchpad.h
M  +22   -0    kcms/touchpad/src/backends/x11/synapticstouchpad.cpp
M  +6    -1    kcms/touchpad/src/backends/x11/synapticstouchpad.h
M  +0    -23   kcms/touchpad/src/backends/x11/xlibtouchpad.cpp
M  +4    -4    kcms/touchpad/src/backends/x11/xlibtouchpad.h

https://commits.kde.org/plasma-desktop/ecea8b93d997333daa6edeb7a9e611db40425344
Comment 28 Darin Miller 2019-05-20 13:12:03 UTC
On Kubuntu 19.10:  System Settings -> Input -> Touchpad configuration menu now matches the standalone Touchpad menu and is no longer greyed out. Also,  shortcut keys are now working!

However, on the desktop (which does not have a touchpad), the System Settings -> Input -> Touchpad selection crashes System Settings.  File a separate bug?
Comment 29 Roman Gilg 2019-05-20 19:33:24 UTC
Yes, please.
Comment 30 Antonio Rojas 2019-05-21 11:00:43 UTC
*** Bug 407796 has been marked as a duplicate of this bug. ***
Comment 31 Honghao Li 2019-06-17 03:17:17 UTC
My kded5 still crash when wake up from suspend. I use archlinux with KDE 5.16.

Here is my kded5 crash log:

Application: kded5 (kded5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f06c82b33c0 (LWP 19704))]

Thread 6 (Thread 0x7f06b77fe700 (LWP 19709)):
#0  0x00007f06ccb500d1 in poll () at /usr/lib/libc.so.6
#1  0x00007f06ca5ba7c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f06ca5ba8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f06cb95bba4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f06cb90519c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f06cb73f9e9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f06cb740dec in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f06cb4d3a92 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f06ccb5acd3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f06b7fff700 (LWP 19708)):
#0  0x00007f06ccb4bc54 in read () at /usr/lib/libc.so.6
#1  0x00007f06ca568961 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f06ca5b8f70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f06ca5ba766 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f06ca5bb7f2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#5  0x00007f06bd0cc508 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007f06ca595f21 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007f06cb4d3a92 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f06ccb5acd3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f06bcd12700 (LWP 19707)):
#0  0x00007f06ccb500d1 in poll () at /usr/lib/libc.so.6
#1  0x00007f06ca5ba7c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f06ca5ba8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f06ca5ba902 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f06ca595f21 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f06cb4d3a92 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f06ccb5acd3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f06bf4ea700 (LWP 19706)):
#0  0x00007f06ca568420 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f06ca5ba7b5 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f06ca5ba8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f06cb95bba4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f06cb90519c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f06cb73f9e9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f06cbc6fba6 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f06cb740dec in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f06cb4d3a92 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f06ccb5acd3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f06c6903700 (LWP 19705)):
#0  0x00007f06ccb500d1 in poll () at /usr/lib/libc.so.6
#1  0x00007f06ca52f630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f06ca5312db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f06c74d5bd9 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f06cb740dec in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f06cb4d3a92 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f06ccb5acd3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f06c82b33c0 (LWP 19704)):
[KCrash Handler]
#6  0x00007f069a054280 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#7  0x00007f069a047c06 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#8  0x00007f06cb9314d7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007f069a054764 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#10 0x00007f069a054810 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#11 0x00007f069a05487e in  () at /usr/lib/qt/plugins/kded_touchpad.so
#12 0x00007f06cb9314d7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#13 0x00007f06cb93cf6a in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#14 0x00007f06cb93d2c2 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f06cc546f04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f06cc54e541 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f06cb906609 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f06cb95c806 in  () at /usr/lib/libQt5Core.so.5
#19 0x00007f06ca5b890f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007f06ca5ba869 in  () at /usr/lib/libglib-2.0.so.0
#21 0x00007f06ca5ba8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#22 0x00007f06cb95bb89 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f06cb90519c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f06cb90d406 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#25 0x00007f06ccc32255 in kdemain () at /usr/lib/libkdeinit5_kded5.so
#26 0x00007f06cca83ce3 in __libc_start_main () at /usr/lib/libc.so.6
#27 0x00005613bfc6905e in  ()
[Inferior 1 (process 19704) detached]
Comment 32 Nico 2019-06-19 21:16:16 UTC
I'm experiencing the same problem after resume from suspend:

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc45d208800 (LWP 833))]

Thread 6 (Thread 0x7fc447fff700 (LWP 908)):
#0  0x00007fc460af9fbc in read () at /usr/lib/libc.so.6
#1  0x00007fc45f286961 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc45f2d6f70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc45f2d8766 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc45f2d88ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc460e9f094 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fc460e48abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fc460c8d1f9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fc460c8e5fc in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fc45fedd57f in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fc460b08f13 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fc452619700 (LWP 866)):
#0  0x00007fc460af9fbc in read () at /usr/lib/libc.so.6
#1  0x00007fc45f286961 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc45f2d6f70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc45f2d8766 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc45f2d97f2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc453543508 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007fc45f2b3f21 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007fc45fedd57f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc460b08f13 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fc452e1a700 (LWP 865)):
#0  0x00007fc460af9fbc in read () at /usr/lib/libc.so.6
#1  0x00007fc45f286961 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc45f2d6f70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc45f2d8766 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc45f2d88ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc45f2d8902 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007fc45f2b3f21 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007fc45fedd57f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc460b08f13 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc458817700 (LWP 840)):
#0  0x00007fc460af9fbc in read () at /usr/lib/libc.so.6
#1  0x00007fc45f286961 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc45f2d6f70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc45f2d8766 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc45f2d88ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc460e9f094 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fc460e48abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fc460c8d1f9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fc45c7a0ba6 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fc460c8e5fc in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fc45fedd57f in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fc460b08f13 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc45a2ab700 (LWP 836)):
#0  0x00007fc460afe497 in poll () at /usr/lib/libc.so.6
#1  0x00007fc46171d630 in  () at /usr/lib/libxcb.so.1
#2  0x00007fc46171f2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fc45ae6ab59 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fc460c8e5fc in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fc45fedd57f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc460b08f13 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc45d208800 (LWP 833)):
[KCrash Handler]
#5  0x00007fc4446e9aa1 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#6  0x00007fc4446dd286 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#7  0x00007fc460e748e7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#8  0x00007fc4446e9f74 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#9  0x00007fc4446ea020 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#10 0x00007fc4446ea0e2 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#11 0x00007fc460e748e7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x00007fc460e8046a in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#13 0x00007fc460e807c2 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007fc460250da4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fc4602583c1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fc460e49ef9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007fc460e9fcf6 in  () at /usr/lib/libQt5Core.so.5
#18 0x00007fc45f2d690f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#19 0x00007fc45f2d8869 in  () at /usr/lib/libglib-2.0.so.0
#20 0x00007fc45f2d88ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0x00007fc460e9f079 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007fc460e48abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007fc460e50c46 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x00007fc46191c255 in kdemain () at /usr/lib/libkdeinit5_kded5.so
#25 0x00005594b504b3f9 in  ()
#26 0x00005594b504822a in  ()
#27 0x00007fc460a33ee3 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x00005594b504884e in  ()
[Inferior 1 (process 833) detached]

Operating System: Arch Linux 
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4
Kernel Version: 5.1.11-arch1-1-ARCH
OS Type: 64-bit
Comment 33 Christoph Feck 2019-06-20 11:07:08 UTC
The recent crashes from comment #31 and comment #32 are reported as bug 408935. The backtraces are related to (but different from) the initially reported crashes.