Bug 487144 - Crash When Backing Out from Creating Custom Keyboard Shortcut
Summary: Crash When Backing Out from Creating Custom Keyboard Shortcut
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.27.8
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-05-17 12:26 UTC by Bryan H.
Modified: 2025-10-22 23:06 UTC (History)
3 users (show)

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


Attachments
attachment-1361234-0.html (1.51 KB, text/html)
2025-10-22 17:38 UTC, Jonathan
Details
attachment-1417118-0.html (117 bytes, text/html)
2025-10-22 21:24 UTC, Jonathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan H. 2024-05-17 12:26:53 UTC
Application: systemsettings (5.27.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.0-35-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.10
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
====Basic information====
I went to create a custom shortcut, changed my mind, backed out discarding changes which caused a crash.

====Duplication steps====
1. Open System Settings, navigate to Shortcuts > Custom Shortcuts.
2. Click Edit > New > Global Shortcut > Shortcut/URL
3. In the Trigger tab, specify a keyboard shortcut.
4. Close the Settings window, clicking **Discard** in the popup.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007141a54bf680 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007141a54c08cd in QUuid::toString() const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007141810ceda7 in KHotKeys::ShortcutTrigger::shortcut() const () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#7  0x00007141810cf109 in KHotKeys::ShortcutTrigger::primaryShortcut() const () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#8  0x000071418113b219 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_hotkeys.so
#9  0x000071418114320b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_hotkeys.so
#10 0x00007141a550602d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007141a5507a89 in QSignalMapper::mapped(QString const&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007141a5508faf in QSignalMapper::map(QObject*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007141a550602d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007141a6f4e526 in KKeySequenceWidget::keySequenceChanged(QKeySequence const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#15 0x00007141a5506312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007141a57bc418 in KGlobalAccel::globalShortcutChanged(QAction*, QKeySequence const&) () from /lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5
#17 0x00007141a57c4fbd in ?? () from /lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5
#18 0x00007141a57c52d1 in KGlobalAccel::setShortcut(QAction*, QList<QKeySequence> const&, KGlobalAccel::GlobalShortcutLoading) () from /lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5
#19 0x00007141810d1ca5 in KHotKeys::ShortcutTrigger::activate(bool) () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#20 0x00007141810cc650 in non-virtual thunk to KHotKeys::ShortcutTrigger::enable() () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#21 0x00007141810c4dcb in KHotKeys::SimpleActionData::doEnable() () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#22 0x00007141810dad96 in ?? () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#23 0x00007141810d9be4 in ?? () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#24 0x00007141810d3aaf in KHotKeys::Settings::read_settings(KHotKeys::ActionDataGroup*, KConfigBase const&, bool, KHotKeys::ActionState) () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#25 0x00007141810d5772 in KHotKeys::Settings::reread_settings(bool) () from /lib/x86_64-linux-gnu/libkhotkeysprivate.so.5
#26 0x000071418112d6c0 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_hotkeys.so
#27 0x00007141a6163b45 in KCModuleProxy::load() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#28 0x00007141a6fd7df0 in ModuleView::resolveChanges(KCModuleProxy*) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#29 0x00005cebec632d99 in ?? ()
#30 0x00007141a6f51ce5 in KMainWindow::closeEvent(QCloseEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007141a63aeb28 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007141a6f84a5d in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#33 0x00007141a636bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007141a54cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007141a63aa065 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007141a63cb34c in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007141a636bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007141a54cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007141a5b4064d in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#40 0x00007141a5b1762c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x000071419f8f9f7e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#42 0x00007141a3d13b2c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007141a3d6f46f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007141a3d11d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007141a5527daa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007141a54cb15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007141a54d3904 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00005cebec62c560 in ?? ()
#49 0x00007141a4a28150 in __libc_start_call_main (main=main@entry=0x5cebec62ba50, argc=argc@entry=1, argv=argv@entry=0x7ffd72114c38) at ../sysdeps/nptl/libc_start_call_main.h:58
#50 0x00007141a4a28209 in __libc_start_main_impl (main=0x5cebec62ba50, argc=1, argv=0x7ffd72114c38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd72114c28) at ../csu/libc-start.c:360
#51 0x00005cebec62ceb5 in ?? ()
[Inferior 1 (process 6326) detached]

The reporter indicates this bug may be a duplicate of or related to bug 301958.

Reported using DrKonqi
Comment 1 TraceyC 2024-06-04 21:58:25 UTC
This looks related to #485585, but I'm unsure if it's an exact duplicate.
Comment 2 Akseli Lahtinen 2024-09-16 13:26:50 UTC
Can't reproduce on Plasma 6.2 beta, the setup path mentioned in the bug report does not exist anymore.
Comment 3 Jonathan 2025-10-22 17:10:14 UTC
happens when doing multiple assignments as well, even if you don't back out.
Comment 4 TraceyC 2025-10-22 17:31:37 UTC
(In reply to Jonathan from comment #3)
> happens when doing multiple assignments as well, even if you don't back out.

Could you please share the output of kinfo, and also attach a new backtrace? The original one is for Plasma 5. Thanks.
Comment 5 Jonathan 2025-10-22 17:38:33 UTC
Created attachment 186014 [details]
attachment-1361234-0.html

i thought they are no longer fixing plasma 5.xx because plasma 6 is the new
one.

On Wed, Oct 22, 2025 at 12:31 PM TraceyC <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=487144
>
> TraceyC <kdedev@tlcnet.info> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|CONFIRMED                   |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #4 from TraceyC <kdedev@tlcnet.info> ---
> (In reply to Jonathan from comment #3)
> > happens when doing multiple assignments as well, even if you don't back
> out.
>
> Could you please share the output of kinfo, and also attach a new
> backtrace?
> The original one is for Plasma 5. Thanks.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 6 TraceyC 2025-10-22 18:06:44 UTC
(In reply to Jonathan from comment #5)
> 
> i thought they are no longer fixing plasma 5.xx because plasma 6 is the new
> one.

You're right that Plasma 5.xx no longer receives updates from KDE. If you are experiencing the crash in Plasma 5.xx, then you'll need to contact your distro, who bears the burden of supporting older versions.

If you are experiencing the crash in Plasma 6, we can look into this. In which case, please provide the information I had asked for.

Also, please reply in plain text. HTML messages create attachments in the report. Thank you.
Comment 7 Jonathan 2025-10-22 21:24:35 UTC
Created attachment 186020 [details]
attachment-1417118-0.html

Yes this is a bug in Plasma 5.27 which is no longer receiving updates as
you say. Thank you
Comment 8 TraceyC 2025-10-22 23:06:16 UTC
Thanks for confirming. I'll mark this as fixed, since Akseli couldn't reproduce this in Plasma 6.