Bug 408935 - kded5/kdeinit crashs when editing libinput touchpad settings
Summary: kded5/kdeinit crashs when editing libinput touchpad settings
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_touchpad (show other bugs)
Version: 5.17.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-20 02:00 UTC by huyizheng
Modified: 2022-11-02 05:06 UTC (History)
3 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 huyizheng 2019-06-20 02:00:12 UTC
SUMMARY

After I upgrade to kde 5.16, I found than everytime I edit my libinput touchpad settings, the kded5 or kdeinit will crash, and makes the 3rd-party app's tray icon disappears.

Upgrade to 5.16.1 and apply the fixes from 408325 didn't solve this issue.

STEPS TO REPRODUCE
1. Edit some libinput touchpad settings

OBSERVED RESULT

kdeinit/kded5 crashes.

Here's the logcat:

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

Thread 6 (Thread 0x7ff17e0b8700 (LWP 1301)):
#0  0x00007ff19a74c414 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007ff19a79ce6a in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff19a79e766 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff19a79e8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007ff19c30e984 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff19c2b84dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007ff19c0fd239 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007ff19c0fe63c in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ff19be5ca92 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ff19bf75cd3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7ff18d5c1700 (LWP 929)):
#0  0x00007ff19bf6b0d1 in poll () at /usr/lib/libc.so.6
#1  0x00007ff19a79e7c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff19a79f7f2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff18e17c508 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007ff19a779f21 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ff19be5ca92 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ff19bf75cd3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff18ddc2700 (LWP 927)):
#0  0x00007ff19a74c3a9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007ff19a79e899 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff19a79e902 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff19a779f21 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ff19be5ca92 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ff19bf75cd3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff18fb4c700 (LWP 812)):
#0  0x00007ff19bf66c54 in read () at /usr/lib/libc.so.6
#1  0x00007ff19a74c961 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff19a79cf70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff19a79e766 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ff19a79e8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007ff19c30e984 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007ff19c2b84dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007ff19c0fd239 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007ff197969ba6 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007ff19c0fe63c in  () at /usr/lib/libQt5Core.so.5
#10 0x00007ff19be5ca92 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007ff19bf75cd3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff195472700 (LWP 809)):
#0  0x00007ff19bf6b0d1 in poll () at /usr/lib/libc.so.6
#1  0x00007ff19cb88630 in  () at /usr/lib/libxcb.so.1
#2  0x00007ff19cb8a2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007ff196041b69 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ff19c0fe63c in  () at /usr/lib/libQt5Core.so.5
#5  0x00007ff19be5ca92 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ff19bf75cd3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff1986cf800 (LWP 806)):
[KCrash Handler]
#6  0x00007ff17c472280 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#7  0x00007ff17c465c06 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#8  0x00007ff19c2e41d7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007ff17c472764 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#10 0x00007ff17c472810 in  () at /usr/lib/qt/plugins/kded_touchpad.so
#11 0x00007ff17c47287e in  () at /usr/lib/qt/plugins/kded_touchpad.so
#12 0x00007ff19c2e41d7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#13 0x00007ff19c2efd5a in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#14 0x00007ff19c2f00b2 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007ff19b6f5da4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007ff19b6fd3c1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007ff19c2b9849 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007ff19c30f5e6 in  () at /usr/lib/libQt5Core.so.5
#19 0x00007ff19a79c90f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007ff19a79e869 in  () at /usr/lib/libglib-2.0.so.0
#21 0x00007ff19a79e8ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#22 0x00007ff19c30e969 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007ff19c2b84dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007ff19c2c0596 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#25 0x00007ff19cd96255 in kdemain () at /usr/lib/libkdeinit5_kded5.so
#26 0x0000562c2ba2f3f9 in  ()
#27 0x0000562c2ba2c22a in  ()
#28 0x00007ff19be9ece3 in __libc_start_main () at /usr/lib/libc.so.6
#29 0x0000562c2ba2c84e in  ()
[Inferior 1 (process 806) detached]


EXPECTED RESULT

kdeinit/kded5 should not crash.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.16.0 & 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
Comment 1 Eric Donkersloot 2019-06-20 11:35:17 UTC
Workaround: install xf86-input-synaptics, I know it's no longer supported but it seems to mitigate all these issues
Comment 2 Justin Zobel 2022-10-03 10:36:21 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-18 04:57:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-11-02 05:06:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!