Bug 464285

Summary: system setting crash viewing firewalld connections
Product: [Applications] systemsettings Reporter: kesslerdupont <kesslerdupont55>
Component: kcm_firewallAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REOPENED ---    
Severity: crash CC: lucas.biaggi, nate, NelsonArron, nicolas.fella, tcanabrava
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description kesslerdupont 2023-01-14 16:45:30 UTC
Application: systemsettings (5.26.5)

Qt Version: 5.15.8
Frameworks Version: 5.101.0
Operating System: Linux 6.1.0-asahi-2-2-edge-ARCH aarch64
Windowing System: Wayland
Distribution: Arch Linux ARM
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
Asahi Linux issue that seems to affect whole system (no apps load up again on startup) seems to also cause some issue in system settings because firewalld seems to be reset.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x0000ffff557007e4 in  () at /usr/lib/libQt5Core.so.5
#5  0x0000ffff55700aa4 in QString::split(QChar, QFlags<Qt::SplitBehaviorFlags>, Qt::CaseSensitivity) const () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff34db1ea0 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_firewall.so
#7  0x0000ffff34db21b0 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_firewall.so
#8  0x0000ffff558d179c in  () at /usr/lib/libQt5Core.so.5
#9  0x0000ffff557e5ce0 in QProcess::finished(int, QProcess::ExitStatus) () at /usr/lib/libQt5Core.so.5
#10 0x0000ffff557ecc10 in  () at /usr/lib/libQt5Core.so.5
#11 0x0000ffff557ecd8c in  () at /usr/lib/libQt5Core.so.5
#12 0x0000ffff558d1968 in  () at /usr/lib/libQt5Core.so.5
#13 0x0000ffff558d622c in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#14 0x0000ffff558d6d74 in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x0000ffff565850fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x0000ffff5588e300 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x0000ffff558fc36c in  () at /usr/lib/libQt5Core.so.5
#18 0x0000ffff53853c68 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#19 0x0000ffff53854240 in  () at /usr/lib/libglib-2.0.so.0
#20 0x0000ffff53854324 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0x0000ffff558fb3b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x0000ffff5588c4c4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x0000ffff55896c5c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x0000aaab1981d1dc in  ()
#25 0x0000ffff551a7b80 in  () at /usr/lib/libc.so.6
#26 0x0000ffff551a7c60 in __libc_start_main () at /usr/lib/libc.so.6
#27 0x0000aaab1981dbf0 in  ()
[Inferior 1 (process 2963) detached]

The reporter indicates this bug may be a duplicate of or related to bug 447764, bug 455385.

Reported using DrKonqi
Comment 1 Nate Graham 2023-01-17 19:53:25 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #6  0x0000ffff34db1ea0 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_firewall.so
> #7  0x0000ffff34db21b0 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_firewall.so

Could you please install debug symbols, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks again!
Comment 2 Bug Janitor Service 2023-02-01 05:03:27 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 3 Bug Janitor Service 2023-02-16 03:48:43 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!
Comment 4 Arron David Nelson 2023-10-30 23:44:04 UTC
Created attachment 162748 [details]
New crash information added by DrKonqi

systemsettings (5.27.9) using Qt 5.15.11

In "system settings"->"Firewall"->"View Connections" it crashes after about a minute of it processing.

-- Backtrace (Reduced):
#6  QString::size() const (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstring.h:277
#7  (anonymous namespace)::splitString<QStringList, QString>(QString const&, QChar const*, Qt::SplitBehavior, Qt::CaseSensitivity, int) (source=..., sep=0x7ffc92a8bc4e, behavior=..., cs=Qt::CaseSensitive, separatorSize=1) at text/qstring.cpp:7822
#8  0x00007fc971b71911 in QString::split(QChar, QFlags<Qt::SplitBehaviorFlags>, Qt::CaseSensitivity) const (this=<optimized out>, sep=..., behavior=..., behavior@entry=..., cs=cs@entry=Qt::CaseSensitive) at text/qstring.cpp:7933
#9  0x00007fc96a22d1b2 in NetstatHelper::parseSSOutput(QByteArray const&) (this=0x555ab8274bd0, netstatOutput=...) at /usr/src/debug/plasma-firewall/plasma-firewall-5.27.9/kcm/backends/netstat/netstathelper.cpp:148
#10 NetstatHelper::stepExecuteFinished(int) (this=0x555ab8274bd0, exitCode=<optimized out>) at /usr/src/debug/plasma-firewall/plasma-firewall-5.27.9/kcm/backends/netstat/netstathelper.cpp:82