Bug 391090 - Wayland : Systemsettings crash when trying to add a custom shortcut
Summary: Wayland : Systemsettings crash when trying to add a custom shortcut
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-26 09:59 UTC by Yvan Broccard
Modified: 2020-11-11 04:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Broccard 2018-02-26 09:59:39 UTC
Application: systemsettings5 (5.12.2)

Qt Version: 5.9.4
Frameworks Version: 5.43.0
Operating System: Linux 4.15.4-300.fc27.x86_64 x86_64
Distribution: "Fedora release 27 (Twenty Seven)"

-- Information about the crash:
- What I was doing when the application crashed:
open systemsettings : shortcuts, custom shortcut,  New global shortcut, Send Keyboard Input

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5470225540 (LWP 9290))]

Thread 4 (Thread 0x7f543b619700 (LWP 9301)):
#0  0x00007f546a0cc3db in poll () from /lib64/libc.so.6
#1  0x00007f5461fffe99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f5461ffffac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f546af38c4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f546aee696a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f546ad378ca in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f5468ae3e75 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f546ad3bde2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f5466b6261b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f546a0d898f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f544351a700 (LWP 9294)):
#0  0x00007f54620440b4 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#1  0x00007f5461fff9a8 in g_main_context_check () from /lib64/libglib-2.0.so.0
#2  0x00007f5461fffe40 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007f5461ffffac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f546af38c4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f546aee696a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f546ad378ca in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f5468ae3e75 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#8  0x00007f546ad3bde2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f5466b6261b in start_thread () from /lib64/libpthread.so.0
#10 0x00007f546a0d898f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f545224a700 (LWP 9293)):
#0  0x00007f546a0c7888 in read () from /lib64/libc.so.6
#1  0x00007f54620440a0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f5461fff9a8 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f5461fffe40 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f5461ffffac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f546af38c4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f546aee696a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f546ad378ca in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f546c73f449 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#9  0x00007f546ad3bde2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f5466b6261b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f546a0d898f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5470225540 (LWP 9290)):
[KCrash Handler]
#6  0x00007f546b6dd1e0 in QDrag::mimeData() const () from /lib64/libQt5Gui.so.5
#7  0x00007f546b6e07cb in QDragManager::QDragManager() () from /lib64/libQt5Gui.so.5
#8  0x00007f546b6e087f in QDragManager::self() () from /lib64/libQt5Gui.so.5
#9  0x00007f546b6b60e9 in QPlatformDrag::currentDrag() const () from /lib64/libQt5Gui.so.5
#10 0x00007f546c04f9cb in QAbstractItemDelegatePrivate::editorEventFilter(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f546aee797c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007f546bde8905 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007f546bdf0174 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f546aee7be7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f546bdedbd1 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /lib64/libQt5Widgets.so.5
#16 0x00007f546be219f6 in QWidget::setFocus(Qt::FocusReason) () from /lib64/libQt5Widgets.so.5
#17 0x00007f546bde8e99 in QApplicationPrivate::giveFocusAccordingToFocusPolicy(QWidget*, QEvent*, QPoint) () from /lib64/libQt5Widgets.so.5
#18 0x00007f546bdf1cad in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f546aee7be7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f546bdef6a2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQt5Widgets.so.5
#21 0x00007f546be4247b in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f546be44b1f in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f546bde892c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f546bdf0174 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f546aee7be7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f546b6ce8a3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#27 0x00007f546b6d0495 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#28 0x00007f546b6a979b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#29 0x00007f54588cb750 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#30 0x00007f5461fffb77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007f5461ffff20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#32 0x00007f5461ffffac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007f546af38c2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#34 0x00007f546aee696a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#35 0x00007f546aeef094 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#36 0x000055a59566ef04 in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-03-15 03:13:27 UTC
I remember seeing other crash reports with Wayland dragging, but cannot find them right now.
Comment 2 Nate Graham 2020-10-12 21:34:38 UTC
Does this happen with a newer version of Plasma? Like 5.19 or 5.20?
Comment 3 Bug Janitor Service 2020-10-27 04:33:30 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 2020-11-11 04:33:58 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!