Bug 1942905

Summary: [abrt] nm-connection-editor: __strlen_avx2(): nm-connection-editor killed by SIGSEGV
Product: [Fedora] Fedora Reporter: J Coates <redhat-bugzilla>
Component: network-manager-appletAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: acardace, bgalvani, blueowl, dcbw, dimitris.on.linux, d.nezhinsky, lkundrak, mh, michael.scheiffler, ohq13379, s, thaller, xi.mero
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1035190539be981bf4374d6e4b121b0852888927
Whiteboard: abrt_hash:73e80de0d62a5a7f93f4dbc50475f4f92997db2d;VARIANT_ID=workstation;
Fixed In Version: network-manager-applet-1.22.0-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-19 01:21:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description J Coates 2021-03-25 10:15:41 UTC
Description of problem:
 - Open nm-connection-editor
 - Select "Wired connection" and press edit. The crash happens immediately.

This is the contents of /etc/sysconfig/network-scripts/ifcfg-Wired_connection_1 if it helps:

TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_PRIVACY=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME="Wired connection"
UUID=c354415e-ac95-3a0c-b1ec-7579a439e835
DEVICE=eno1
ONBOOT=yes
AUTOCONNECT_PRIORITY=-999
SECONDARY_UUIDS=b8768765-8d75-44d0-b9db-676e2626e332

Version-Release number of selected component:
nm-connection-editor-1.20.0-4.fc34

Additional info:
reporter:       libreport-2.14.0
backtrace_rating: 4
cmdline:        nm-connection-editor
crash_function: __strlen_avx2
executable:     /usr/bin/nm-connection-editor
journald_cursor: s=4ebdaa160b584d5d9d0e47ac9b94c10d;i=25b311;b=44c6dc1efdda4ac68cd700e616a4f090;m=34425d45;t=5be597d62b19c;x=4e7d85200dc4e31d
kernel:         5.11.8-300.fc34.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            2434

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 __strlen_avx2 at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
 #1 g_strdup at ../glib/gstrfuncs.c:363
 #2 g_strdupv at ../glib/gstrfuncs.c:2587
 #4 _g_type_boxed_copy at ../gobject/gtype.c:4355
 #5 boxed_proxy_collect_value at ../gobject/gboxed.c:249
 #6 g_object_set_valist at ../gobject/gobject.c:2454
 #7 g_object_set at ../gobject/gobject.c:2635
 #8 ui_to_setting at ../src/connection-editor/page-general.c:421
 #9 ce_page_validate_v at ../src/connection-editor/page-general.c:450
 #10 ce_page_validate at ../src/connection-editor/ce-page.c:161

Comment 1 J Coates 2021-03-25 10:15:46 UTC
Created attachment 1766253 [details]
File: backtrace

Comment 2 J Coates 2021-03-25 10:15:47 UTC
Created attachment 1766254 [details]
File: cgroup

Comment 3 J Coates 2021-03-25 10:15:49 UTC
Created attachment 1766255 [details]
File: core_backtrace

Comment 4 J Coates 2021-03-25 10:15:50 UTC
Created attachment 1766256 [details]
File: cpuinfo

Comment 5 J Coates 2021-03-25 10:15:51 UTC
Created attachment 1766257 [details]
File: dso_list

Comment 6 J Coates 2021-03-25 10:15:52 UTC
Created attachment 1766258 [details]
File: environ

Comment 7 J Coates 2021-03-25 10:15:53 UTC
Created attachment 1766259 [details]
File: exploitable

Comment 8 J Coates 2021-03-25 10:15:54 UTC
Created attachment 1766260 [details]
File: limits

Comment 9 J Coates 2021-03-25 10:15:56 UTC
Created attachment 1766261 [details]
File: maps

Comment 10 J Coates 2021-03-25 10:15:57 UTC
Created attachment 1766262 [details]
File: mountinfo

Comment 11 J Coates 2021-03-25 10:15:59 UTC
Created attachment 1766263 [details]
File: open_fds

Comment 12 J Coates 2021-03-25 10:16:01 UTC
Created attachment 1766264 [details]
File: proc_pid_status

Comment 13 Thomas Haller 2021-03-25 10:24:11 UTC
upstream fix: https://gitlab.gnome.org/GNOME/network-manager-applet/-/issues/125

Comment 14 Serge Matveenko 2021-04-02 07:28:59 UTC
*** Bug 1945830 has been marked as a duplicate of this bug. ***

Comment 15 Dmytro Nezhynskyi 2021-04-06 06:19:10 UTC
*** Bug 1946433 has been marked as a duplicate of this bug. ***

Comment 16 Michael 2021-04-21 21:00:59 UTC
Similar problem has been detected:

Trying to enable automatic VPN connection

reporter:       libreport-2.14.0
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-nm\x2dconnection\x2deditor-11407.scope
cmdline:        nm-connection-editor
crash_function: __strlen_avx2
executable:     /usr/bin/nm-connection-editor
journald_cursor: s=40d5cacfb373406ca18aefee387cf67d;i=7402;b=e8006627959841569bec4e2338f01d17;m=3f3b2e96;t=5c081a38c3c27;x=62098a7e802481cb
kernel:         5.11.12-300.fc34.x86_64
package:        nm-connection-editor-1.20.0-4.fc34
reason:         nm-connection-editor killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 17 Marcel Haerry 2021-04-29 09:24:29 UTC
This issue made it now into F34 - can we get a fixed release?

Comment 18 Marcel Haerry 2021-04-29 09:43:11 UTC
I did a rebuild with https://gitlab.gnome.org/GNOME/network-manager-applet/-/commit/da6b2bb94250d8ffb218caf921c9df8c394372d4 applied as patch and I can confirm I am able to edit connections again.

Maybe it would be great to have patched release for F34 since connections with VPNs as secondaries are not that uncommon.

Comment 20 throw_away_bug_report 2021-05-02 11:43:24 UTC
bump :)

Comment 21 Dimitris 2021-05-08 21:41:52 UTC
Similar problem has been detected:

Bluetooth connection, available to all users:  Attempted to enable "Automatically connect to VPN".  Application crashed.

reporter:       libreport-2.14.0
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-glib-gnome\x2dnetwork\x2dpanel-12888.scope
cmdline:        nm-connection-editor --edit 2e309532-2016-4857-96e8-885382c1b829
crash_function: __strlen_avx2
executable:     /usr/bin/nm-connection-editor
journald_cursor: s=704b0bd9eabc4b78a74ee440db75e5ee;i=1d22e9;b=7bd75b1a6f7a49f1bca4175181f4f738;m=5e850b90;t=5c1d8578b580a;x=d6c1284fe928879a
kernel:         5.11.18-300.fc34.x86_64
package:        nm-connection-editor-1.20.0-4.fc34
reason:         nm-connection-editor killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 22 xi.mero 2021-05-09 20:55:51 UTC
The maintainer linked a patch weeks ago but will this not be fixed in Fedora 34? Segfault when connecting to a VPN or changing settings is pretty serious...

Comment 23 Fedora Update System 2021-05-10 14:39:23 UTC
FEDORA-2021-092699c2d0 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-092699c2d0

Comment 24 Beniamino Galvani 2021-05-10 14:41:04 UTC
(In reply to Marcel Haerry from comment #19)
> https://src.fedoraproject.org/rpms/network-manager-applet/pull-request/2

Thanks for the patch. Since there were other bug fixes to backport, I did a new applet release and updated the RPM to the new version.

Comment 25 Fedora Update System 2021-05-12 04:43:13 UTC
FEDORA-2021-092699c2d0 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-092699c2d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-092699c2d0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2021-05-19 01:21:42 UTC
FEDORA-2021-092699c2d0 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.