Bug 467577 - System settings crashing when adding VPN from config file without networkmanager openvpn module installed
Summary: System settings crashing when adding VPN from config file without networkmana...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: 5.27.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 18:12 UTC by carl.benjamin.dreyer
Modified: 2023-05-04 03:46 UTC (History)
2 users (show)

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


Attachments
Stack trace of crash (32.51 KB, text/plain)
2023-03-19 18:12 UTC, carl.benjamin.dreyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description carl.benjamin.dreyer 2023-03-19 18:12:00 UTC
Created attachment 157425 [details]
Stack trace of crash

SUMMARY
System settings crashes when adding a VPN connection from config file without networkmanager openvpn module installed on system.


STEPS TO REPRODUCE
1. Have a .opvpn file
2. Open System Settings->Connections->Add new Connection->Other->Import VPN Connection from file
3. Choose the .ovpvn file

OBSERVED RESULT
System settings crashes

EXPECTED RESULT
Settings should inform the user that the openvpn network manager package is not installed, instead of crashing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 6.1.12-arch1-1

KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
See attachment for stacktrace reported to journal.

When the crash happens this is posted to the system log:

mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_anyconnect.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_anyconnect.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_fortinetui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_fortinetui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_globalprotectui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_globalprotectui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_juniperui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_juniperui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_pulseui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_pulseui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:14 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_f5ui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_f5ui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:16 Sussybox steam[45462]: g_main_context_push_thread_default: assertion 'acquired_context' failed
mar 19 18:53:16 Sussybox steam[45462]: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed
mar 19 18:53:17 Sussybox wpa_supplicant[1218]: wlp5s0: Reject scan trigger since one is already pending
mar 19 18:53:22 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_anyconnect.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_anyconnect.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:22 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_fortinetui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_fortinetui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:22 Sussybox systemsettings[185380]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so: Cannot load library /usr/lib/qt/plugins/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so: (libopenconnect.so.5: cannot open shared object file: No such file or directory)"
mar 19 18:53:22 Sussybox systemsettings[185380]: ((../NetworkManager/src/libnm-core-impl/nm-vpn-plugin-info.c:1038)): assertion '<dropped>' failed
mar 19 18:53:22 Sussybox systemsettings[185380]: ((../NetworkManager/src/libnm-core-impl/nm-vpn-editor-plugin.c:470)): assertion '<dropped>' failed
mar 19 18:53:22 Sussybox plasmashell[185380]: 28 -- exe=/usr/bin/systemsettings
mar 19 18:53:22 Sussybox plasmashell[185380]: 13 -- platform=xcb
mar 19 18:53:22 Sussybox plasmashell[185380]: 11 -- display=:0
mar 19 18:53:22 Sussybox plasmashell[185380]: 23 -- appname=systemsettings
mar 19 18:53:22 Sussybox plasmashell[185380]: 17 -- apppath=/usr/bin
mar 19 18:53:22 Sussybox plasmashell[185380]: 10 -- signal=11
mar 19 18:53:22 Sussybox plasmashell[185380]: 11 -- pid=185380
mar 19 18:53:22 Sussybox plasmashell[185380]: 18 -- appversion=5.27.1
mar 19 18:53:22 Sussybox plasmashell[185380]: 28 -- programname=System Settings
mar 19 18:53:22 Sussybox plasmashell[185380]: 31 -- bugaddress=submit@bugs.kde.org
mar 19 18:53:22 Sussybox plasmashell[185380]: KCrash: crashing... crashRecursionCounter = 2
mar 19 18:53:22 Sussybox plasmashell[185380]: KCrash: Application Name = systemsettings path = /usr/bin pid = 185380
mar 19 18:53:22 Sussybox plasmashell[185380]: KCrash: Arguments: /usr/bin/systemsettings kcm_networkmanagement
mar 19 18:53:22 Sussybox plasmashell[185380]: KCrash: Attempting to start /usr/lib/drkonqi
Comment 1 Nate Graham 2023-04-04 21:15:43 UTC
If something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the `coredumpctl` command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl?

Thanks!
Comment 2 Bug Janitor Service 2023-04-19 03:45:44 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-05-04 03:46:13 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!