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

            Bug ID: 408935
           Summary: kded5/kdeinit crashs when editing libinput touchpad
                    settings
           Product: plasmashell
           Version: 5.16.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: System Tray
          Assignee: plasma-b...@kde.org
          Reporter: huyizh...@hotmail.com
  Target Milestone: 1.0

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

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

Reply via email to