Bug 439117 - Crash in QShortcutMap::hasShortcutForKeySequence() in multiple QtQuick KCMs
Summary: Crash in QShortcutMap::hasShortcutForKeySequence() in multiple QtQuick KCMs
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: generic-crash (show other bugs)
Version: 5.22.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 430603 434930 441888 449377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-24 16:02 UTC by Mattias Högfjäll
Modified: 2022-02-01 22:33 UTC (History)
7 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 Mattias Högfjäll 2021-06-24 16:02:30 UTC
Application: systemsettings5 (5.22.2)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.11.0-23-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.2
Distribution: Ubuntu 21.04

-- Information about the crash:
- What I was doing when the application crashed:
I was playing around with the special effects when you switch between virtual desktops. I have 3 monitors and I had 6 virtual desktops filled with alot of apps. 2 different browsers with around 12 tabs each. Both browsers are setup to use the gfx-card as much as possible. So is my desktop. There's bluring, jelly windows and all kinds of crazy. I was testing the cube effekt just befor the app crached. What I'm saying is that I'm impressed! It is a pretty solid piece of work this. I mean, there are some bugs sure but thats more the modular part of it I'd say. The core is pretty dam feisty.

Anyway, lost of playing with window switching, then turned to this app. Chose a setting, clicked on Apply and that's all she wrote.

- Custom settings of the application:
As much settings as I could find. All related to gfx effects 

- - - 
Just below here in the crash report app theres questions about distribution methods. Not quite sure of what's implied but I'm on a Kubuntu 21.04 whitch is installed and not upgraded from a lower version. It's downloaded from KDE's homie page.
BUT, I do have Propoused and backports (launchpad) sources and I'm pretty sure there's som future stuff in here now.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f74effe863e in QMetaObject::cast(QObject const*) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f74e980845c in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () from /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#7  0x00007f74f04f5ff0 in QShortcutMap::hasShortcutForKeySequence(QKeySequence const&) const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007f74f0d25ecb in QLineEdit::createStandardContextMenu() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f74f140c9de in KLineEdit::createStandardContextMenu() () from /lib/x86_64-linux-gnu/libKF5Completion.so.5
#10 0x00007f74f140d7e8 in KLineEdit::contextMenuEvent(QContextMenuEvent*) () from /lib/x86_64-linux-gnu/libKF5Completion.so.5
#11 0x00007f74f0c185de in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f74f0bd5783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f74f0bddb01 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f74effdf7ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f74f0c32ad4 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f74f0c35615 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f74f0bd5783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f74effdf7ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f74f04cab13 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f74f049fe2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007f74ea795a6e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f74edc948eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f74edce7d28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f74edc92023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f74f0039204 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f74effde11b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f74effe6604 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000564d9e60a58b in ?? ()
#29 0x00007f74ef94a565 in __libc_start_main (main=0x564d9e609a20, argc=1, argv=0x7ffdad3e2728, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdad3e2718) at ../csu/libc-start.c:332
#30 0x0000564d9e60b1ee in ?? ()
[Inferior 1 (process 7244) detached]

Reported using DrKonqi
Comment 1 Mattias Högfjäll 2021-06-24 16:07:01 UTC
I just remembered. I was just about to add a low-writing function to one of the apps. They don't seem to happy all of them when you do that.
Comment 2 Nate Graham 2021-07-29 15:10:43 UTC
Which System Settings page were you on when this happened?
Comment 3 Mattias Högfjäll 2021-07-29 20:02:49 UTC
Ehm, yeah, that's an unfortunate typo. I've been scratching my head for a good while now and I'm pretty sure I meant log-writing function. So that would be the notifications settings.
If I remember correctly though, the crash didn't emerge at a click of a button but rather in between my abusive behaviour.
Comment 4 Nate Graham 2021-07-30 14:07:25 UTC
What abusive behavior?
Comment 5 Mattias Högfjäll 2021-07-30 14:14:30 UTC
When trying out new software I always end up enabling just about every feature and installing everything that isn't nailed down.
Comment 6 Nate Graham 2021-09-02 17:51:48 UTC
*** Bug 441888 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-09-02 17:52:20 UTC
*** Bug 430603 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2021-09-02 17:52:23 UTC
*** Bug 434930 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2022-01-19 21:27:19 UTC
This is an upstream bug in Qt which was fixed with https://codereview.qt-project.org/c/qt/qtdeclarative/+/371842. It will be backported to the KDE patch collection soon; see https://invent.kde.org/qt/qt/qtquickcontrols2/-/merge_requests/3

Thanks so much to Nicolas Fella for discovering this and backporting it!
Comment 10 Nate Graham 2022-02-01 22:33:18 UTC
*** Bug 449377 has been marked as a duplicate of this bug. ***