Summary: | SystemSettings - shortcuts and gestures | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Mifsud <gael.mifsud> |
Component: | kcm_khotkeys | Assignee: | Michael Jansen <kde> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | eridanired123, justin.zobel |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
gdb log + small video to reproduce valgrind log |
Description
Mifsud
2015-10-14 09:09:30 UTC
Created attachment 112491 [details]
New crash information added by DrKonqi
systemsettings5 (5.12.5) using Qt 5.10.0
- Unusual behavior I noticed:
systemsettings5 crashes when editing a previously saved custom shortcut.
-- Backtrace (Reduced):
#7 0x00007efe3c6adafe in qDeleteAll<QList<KHotKeys::Condition*>::const_iterator> (end=..., begin=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320
#8 qDeleteAll<KHotKeys::Condition_list> (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#9 ConditionsWidget::copyToObject (this=0x26d2410) at /workspace/build/kcm_hotkeys/conditions/conditions_widget.cpp:177
#10 0x00007efe3c6b11fd in HotkeysWidgetBase::apply (this=0x26d9880) at /workspace/build/kcm_hotkeys/hotkeys_widget_base.cpp:46
#11 0x00007efe3c695b63 in KCMHotkeysPrivate::save (this=0x26b9cc0) at /workspace/build/kcm_hotkeys/kcm_hotkeys.cpp:397
Comment on attachment 112491 [details] New crash information added by DrKonqi >Application: systemsettings5 (5.12.5) > >Qt Version: 5.10.0 >Frameworks Version: 5.45.0 >Operating System: Linux 4.15.0-15-lowlatency x86_64 >Distribution: KDE neon User Edition 5.12 > >-- Information about the crash: >- Unusual behavior I noticed: > >systemsettings5 crashes when editing a previously saved custom shortcut. >Reproduce by: Creating a new custom group, add a few conditions and save it. Then go back, edit the conditions and try saving it again to have it crash. > > >The crash can be reproduced every time. > >-- Backtrace: >Application: Preferencias del sistema (systemsettings5), signal: Segmentation fault >Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >[Current thread is 1 (Thread 0x7efe76c65900 (LWP 20612))] > >Thread 4 (Thread 0x7efe455af700 (LWP 20618)): >#0 0x00007efe7277574d in poll () at ../sysdeps/unix/syscall-template.S:84 >#1 0x00007efe6c61838c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#2 0x00007efe6c61849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#3 0x00007efe730a85cb in QEventDispatcherGlib::processEvents (this=0x7efe400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 >#4 0x00007efe7304f64a in QEventLoop::exec (this=this@entry=0x7efe455aeca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 >#5 0x00007efe72e6f554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522 >#6 0x00007efe709ada35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 >#7 0x00007efe72e746eb in QThreadPrivate::start (arg=0x11d17e0) at thread/qthread_unix.cpp:376 >#8 0x00007efe6ebfe6ba in start_thread (arg=0x7efe455af700) at pthread_create.c:333 >#9 0x00007efe7278141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > >Thread 3 (Thread 0x7efe4e11a700 (LWP 20617)): >#0 0x00007efe6c65ca79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#1 0x00007efe6c617929 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#2 0x00007efe6c6182bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#3 0x00007efe6c61849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#4 0x00007efe730a85cb in QEventDispatcherGlib::processEvents (this=0x7efe480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 >#5 0x00007efe7304f64a in QEventLoop::exec (this=this@entry=0x7efe4e119ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 >#6 0x00007efe72e6f554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522 >#7 0x00007efe709ada35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 >#8 0x00007efe72e746eb in QThreadPrivate::start (arg=0xe664a0) at thread/qthread_unix.cpp:376 >#9 0x00007efe6ebfe6ba in start_thread (arg=0x7efe4e11a700) at pthread_create.c:333 >#10 0x00007efe7278141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > >Thread 2 (Thread 0x7efe593bc700 (LWP 20615)): >#0 0x00007efe7277127d in read () at ../sysdeps/unix/syscall-template.S:84 >#1 0x00007efe6c65b6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#2 0x00007efe6c617e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#3 0x00007efe6c618330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#4 0x00007efe6c61849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 >#5 0x00007efe730a85cb in QEventDispatcherGlib::processEvents (this=0x7efe540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 >#6 0x00007efe7304f64a in QEventLoop::exec (this=this@entry=0x7efe593bbc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 >#7 0x00007efe72e6f554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522 >#8 0x00007efe749882c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 >#9 0x00007efe72e746eb in QThreadPrivate::start (arg=0x7efe74bfcd60) at thread/qthread_unix.cpp:376 >#10 0x00007efe6ebfe6ba in start_thread (arg=0x7efe593bc700) at pthread_create.c:333 >#11 0x00007efe7278141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > >Thread 1 (Thread 0x7efe76c65900 (LWP 20612)): >[KCrash Handler] >#6 0x0000000000000021 in ?? () >#7 0x00007efe3c6adafe in qDeleteAll<QList<KHotKeys::Condition*>::const_iterator> (end=..., begin=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320 >#8 qDeleteAll<KHotKeys::Condition_list> (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328 >#9 ConditionsWidget::copyToObject (this=0x26d2410) at /workspace/build/kcm_hotkeys/conditions/conditions_widget.cpp:177 >#10 0x00007efe3c6b11fd in HotkeysWidgetBase::apply (this=0x26d9880) at /workspace/build/kcm_hotkeys/hotkeys_widget_base.cpp:46 >#11 0x00007efe3c695b63 in KCMHotkeysPrivate::save (this=0x26b9cc0) at /workspace/build/kcm_hotkeys/kcm_hotkeys.cpp:397 >#12 0x00007efe3c6964fd in KCMHotkeys::save (this=0x26b4d90) at /workspace/build/kcm_hotkeys/kcm_hotkeys.cpp:257 >#13 0x00007efe764ccd47 in KCModuleProxy::save (this=<optimized out>) at /workspace/build/src/kcmoduleproxy.cpp:234 >#14 0x00007efe7690d7c1 in ModuleView::moduleSave (this=<optimized out>, module=<optimized out>) at /workspace/build/core/ModuleView.cpp:297 >#15 0x00007efe76910e75 in ModuleView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff16b45b50) at /workspace/build/obj-x86_64-linux-gnu/core/moc_ModuleView.cpp:123 >#16 0x00007efe7307e489 in QMetaObject::activate (sender=sender@entry=0xe41cb0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff16b45b50) at kernel/qobject.cpp:3766 >#17 0x00007efe7307ed97 in QMetaObject::activate (sender=sender@entry=0xe41cb0, m=m@entry=0x7efe746fe380 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff16b45b50) at kernel/qobject.cpp:3628 >#18 0x00007efe7411b9e2 in QAbstractButton::clicked (this=this@entry=0xe41cb0, _t1=false) at .moc/moc_qabstractbutton.cpp:308 >#19 0x00007efe7411bc14 in QAbstractButtonPrivate::emitClicked (this=0xe41cf0) at widgets/qabstractbutton.cpp:414 >#20 0x00007efe7411d8be in QAbstractButtonPrivate::click (this=0xe41cf0) at widgets/qabstractbutton.cpp:407 >#21 0x00007efe7411da3d in QAbstractButton::mouseReleaseEvent (this=0xe41cb0, e=0x7fff16b46000) at widgets/qabstractbutton.cpp:1011 >#22 0x00007efe74063f88 in QWidget::event (this=0xe41cb0, event=0x7fff16b46000) at kernel/qwidget.cpp:9197 >#23 0x00007efe74024acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xe41cb0, e=0x7fff16b46000) at kernel/qapplication.cpp:3732 >#24 0x00007efe7402d03b in QApplication::notify (this=<optimized out>, receiver=0xe41cb0, e=0x7fff16b46000) at kernel/qapplication.cpp:3208 >#25 0x00007efe730513c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0xe41cb0, event=event@entry=0x7fff16b46000) at kernel/qcoreapplication.cpp:1044 >#26 0x00007efe7402b9df in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 >#27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xe41cb0, event=event@entry=0x7fff16b46000, alienWidget=alienWidget@entry=0xe41cb0, nativeWidget=0xbc2530, buttonDown=buttonDown@entry=0x7efe74727880 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2711 >#28 0x00007efe7407df4d in QWidgetWindow::handleMouseEvent (this=this@entry=0xc42690, event=event@entry=0x7fff16b46400) at kernel/qwidgetwindow.cpp:655 >#29 0x00007efe7408097b in QWidgetWindow::event (this=0xc42690, event=0x7fff16b46400) at kernel/qwidgetwindow.cpp:273 >#30 0x00007efe74024acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xc42690, e=0x7fff16b46400) at kernel/qapplication.cpp:3732 >#31 0x00007efe7402c417 in QApplication::notify (this=0x7fff16b46790, receiver=0xc42690, e=0x7fff16b46400) at kernel/qapplication.cpp:3491 >#32 0x00007efe730513c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0xc42690, event=event@entry=0x7fff16b46400) at kernel/qcoreapplication.cpp:1044 >#33 0x00007efe7387cef0 in QCoreApplication::sendSpontaneousEvent (event=0x7fff16b46400, receiver=0xc42690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 >#34 QGuiApplicationPrivate::processMouseEvent (e=0x27b9460) at kernel/qguiapplication.cpp:1957 >#35 0x00007efe7387ee45 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x27b9460) at kernel/qguiapplication.cpp:1741 >#36 0x00007efe738588fb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:976 >#37 0x00007efe654aa1ab in QPAEventDispatcherGlib::processEvents (this=0xb55f20, flags=...) at qeventdispatcher_glib.cpp:70 >#38 0x00007efe7304f64a in QEventLoop::exec (this=this@entry=0x7fff16b46670, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 >#39 0x00007efe73058854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332 >#40 0x00007efe7387483c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687 >#41 0x00007efe74024a25 in QApplication::exec () at kernel/qapplication.cpp:2917 >#42 0x000000000040b6fe in main (argc=1, argv=<optimized out>) at /workspace/build/app/main.cpp:67 > >Possible duplicates by query: bug 353886. > >Reported using DrKonqi Thank you for the report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. Created attachment 133861 [details]
gdb log + small video to reproduce
Can confirm that this erratic behaviour is still present in Plasma 5.20.3. I've attached a gdb log (hope I did it correctly) and a small video showing the steps needed to reproduce it.
Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Kernel Version: 5.4.0-54-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4670 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1060 3GB/PCIe/SSE2
Changing this back to reported as suggested before. Created attachment 133862 [details]
valgrind log
Thank you for reporting this issue 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 issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Can still be reproduced following the steps in the previously attached video https://bugs.kde.org/attachment.cgi?id=133861 Operating System: KDE neon 5.26 KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 Kernel Version: 5.15.0-52-generic (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-4670 CPU @ 3.40GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: Z87-HD3 As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now. Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again. Thanks for your understanding, everyone. |