GNOME Bugzilla – Bug 756455
segfault in nm_device_get_unmanaged_flag
Last modified: 2020-11-12 14:34:07 UTC
Hi, here a little problem this is the log: [ 243.849725] NetworkManager[3717]: segfault at d4 ip 0000000000451abb sp 00007ffcd7712990 error 4 in NetworkManager[400000+1c2000] [ 244.197755] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready [ 244.198694] IPv6: ADDRCONF(NETDEV_UP): enp4s0f2: link is not ready [ 244.244423] gnome-control-c[4379]: segfault at 70000001e ip 00007f2566b314bb sp 00007ffcacd58530 error 4 in libgobject-2.0.so.0.4400.1[7f2566afe000+51000] well, how i can reproduce this in my system: first we need the driver of wifi device in my case Qualcomm Atheros AR9485 Wireless Network Adapter is the ath9k 1) modprobe -r ath9k 2) modprobe ath9k ps_enable=1 now we need the wireless device in my case wlp3s0 IEEE 802.11bgn ESSID:"FMV4" Mode:Managed Frequency:2.462 GHz Access Point: 14:CC:20:83:FE:5C Bit Rate=135 Mb/s Tx-Power=15 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=51/70 Signal level=-59 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:4 Missed beacon:0 3) ifconfig wlp3s0 down 4) iwconfig wlp3s0 txpower on 5) iwconfig wlp3s0 power off 6) ifconfig wlp3s0 up now open network manager, in the wireless tab disable the wifi and next enable it, probably will don't show any connection, next connect to a hidden network ideally one you can really connect it even if you can't see it in the list, select it and connect, there crash and start working weird.
bt Program received signal SIGSEGV, Segmentation fault. 0x0000000000451abb in nm_device_get_unmanaged_flag (self=self@entry=0x8667c0, flag=flag@entry=NM_UNMANAGED_DEFAULT) at /var/tmp/portage/net-misc/networkmanager-1.0.6/work/NetworkManager-1.0.6/src/devices/nm-device.c:7510 7510 /var/tmp/portage/net-misc/networkmanager-1.0.6/work/NetworkManager-1.0.6/src/devices/nm-device.c: No existe el fichero o el directorio. (gdb) bt
+ Trace 235573
would you provide more information so that the issue can be analyzed. What is your distro and NM version? Does it only happen with ath9k or can you see the crash with another card/driver too? (eg. with a Wi-Fi USB stick) What NM GUI you talk about when you say "open network manager"? If you are able to reproduce, can you install/compile with debug symbols and run in gdb?
okis, sorry don't post that info: Distro: Gentoo amd64 NM version: 1.0.6 Now a more simple way to reproduce it, first we need the driver of the card, my case ath9k, then: modprobe -r ath9k modprobe ath9k now start working weird this, if you open the gui of network manager (in the gnome-control-center) and try to connect it will crash. if you open it again start working better. The backtrace is already up in my comment with debug symbols, if you need the debug symbols of glibc ask or for something else. Sadly i don't have extern wifi cards (usb), so i can't test it.
there are similar reports on fedora with 1.0.6 https://bugzilla.redhat.com/show_bug.cgi?id=1270247 or Ubuntu https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1506412
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).