Bug 455440

Summary: Crash in QGestureManager::getState() when selecting connections and a wifi I have never used before
Product: [Applications] systemsettings Reporter: Isaac <fakespam129>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: REPORTED ---    
Severity: crash CC: anthonythott, joaompscampos, nate, plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Isaac 2022-06-16 20:15:23 UTC
Application: systemsettings (5.24.5)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.17.14-300.fc36.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I opened the system settings and went to network, then connections. I am already connected to a network but when I clicked the second one that I have never used before it crashed.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f906dc4506a in QGestureManager::getState(QObject*, QGestureRecognizer*, Qt::GestureType) () from /lib64/libQt5Widgets.so.5
#5  0x00007f906dc47ab5 in QGestureManager::filterEventThroughContexts(QMultiMap<QObject*, Qt::GestureType> const&, QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007f906dc4aaf8 in QGestureManager::filterEvent(QWidget*, QEvent*) () from /lib64/libQt5Widgets.so.5
#7  0x00007f906dbfd7e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007f906d01e658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007f906dbfc402 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#10 0x00007f906dc51aec in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f906dc54eb0 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007f906dbf5c82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007f906d01e658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007f906d579115 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#15 0x00007f906d558f5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#16 0x00007f906a3636e4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#17 0x00007f906ac21faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#18 0x00007f906ac772c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#19 0x00007f906ac1f940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007f906d06f2fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#21 0x00007f906d01d0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#22 0x00007f906d025162 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#23 0x000055632a8cc185 in main ()
[Inferior 1 (process 5533) detached]

Possible duplicates by query: bug 453966, bug 440925, bug 434216, bug 428036, bug 422963.

Reported using DrKonqi
Comment 1 Anthony 2022-07-17 14:39:33 UTC
Created attachment 150688 [details]
New crash information added by DrKonqi

systemsettings (5.25.3) using Qt 5.15.3

I am attempting to add a vpn.ovpn file to my connection settings, I have successfully imported the file but when I select the vpn inside of the connections manager, the window crashes instantly. It crashes every open and it crashes for all vpn2.ovpn  as well.

I am currently using a Microsoft Surface Book 2 with Fedora KDE, Surface-Linux Kernel, & Nvidia-DKMS all protected by and behind, Luks, secureboot, TPM2, with systemd-cryptenroll luks automatic unlock using the tpm2 module. Inside of my session I run kvantum with a transparent windows theme, among a small plethora of applications such as steam (w games), cockpit, firewall, surface specific applications, among others. I have also attached and registered my OS to my RHEL account.

-- Backtrace (Reduced):
#4  0x00007fbd606df06a in QGestureManager::getState(QObject*, QGestureRecognizer*, Qt::GestureType) () from /lib64/libQt5Widgets.so.5
#5  0x00007fbd606e1ab5 in QGestureManager::filterEventThroughContexts(QMultiMap<QObject*, Qt::GestureType> const&, QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007fbd606e4af8 in QGestureManager::filterEvent(QWidget*, QEvent*) () from /lib64/libQt5Widgets.so.5
#7  0x00007fbd606977e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007fbd5faae658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
Comment 2 Anthony 2022-07-17 14:43:39 UTC
UPDATE: If crashes on selecting any option when window is not maximized, but allows me to select options when maximized.
Comment 3 João Campos 2022-12-01 02:19:07 UTC
Created attachment 154182 [details]
New crash information added by DrKonqi

systemsettings (5.26.3) using Qt 5.15.7

After disabling IPv4 assignment off the main interface (Wired Connection 1), because I am using a Tagged VLAN assignment, every time I click any other connection, it instantly crashes.

-- Backtrace (Reduced):
#4  0x00007fb8cabfe0fa in QGestureManager::getState(QObject*, QGestureRecognizer*, Qt::GestureType) () from /lib64/libQt5Widgets.so.5
#5  0x00007fb8cac00b45 in QGestureManager::filterEventThroughContexts(QMultiMap<QObject*, Qt::GestureType> const&, QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007fb8cac03b88 in QGestureManager::filterEvent(QWidget*, QEvent*) () from /lib64/libQt5Widgets.so.5
#7  0x00007fb8cabb6866 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007fb8c9ea8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5