Page MenuHomeSolus

Network Manager Applet Crashes
Closed, ResolvedPublic


Something with the new version of network-manager-applet, network-manager, and networkmanager-openconnect aren't happy with one other. When I go to connect to a VPN, it seems to crash the applet. Wish I could provide more info, but I didn't have much luck finding a log for it before I had to rollback. Happy to provide whatever's needed.

Event Timeline

I have the same issue here.
I have disabled auto-connection to VPNs, so that I haven't to rollback and it will be easier to provide you logs etc.
As far as I understood, it is not network-manager-applet's fault, because when I try to connect from the gnome-control-center with a VPN, it fails.

Update :
When I connect to a VPN with gnome-control-center, there is a console output:

(gnome-control-center:2699): network-cc-panel-WARNING **: 10:09:12.646: Error connecting to ModemManager: Error calling StartServiceByName for org.freedesktop.ModemManager1: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.freedesktop.ModemManager1.service not found.

And the network-manager-applet crashes.
Hope it helps

eric-salo added a comment.EditedMay 1 2018, 1:09 PM

sorry, I gave a quick look but must have missed this report before posting. Thanks for merging.

Edit, I don't think it is network-manager itself. nmcli con up $vpn works after upgrade. I've rolled back network-manager-applet, networkmanager-openvpn, and networkmanager-openconnect. Everything works fine. And, I'm on Mate, so I don't have gnome-control-center installed. That's not an issue either.

when I ran nm-applet in the terminal, it gave the following error when I selected a vpn:

free(): invalid pointer

Seems to be either network-manager-applet or networkmanager-openvpn (I don't use open connect), which is dependent on the former (which may explain why you still have problems when going through gnome-control-center).

euoar added a subscriber: euoar.EditedMay 1 2018, 2:57 PM

Same issue here when trying to connect to vpn. Dmesg | tail refers to segfault:

[ 640.885179] nm-applet[7345]: segfault at 24fffffff8 ip 00007f2ba9cf823d sp 00007ffe731393c0 error 4 in[7f2ba9c68000+1db000]

ikey changed the task status from Open to In Progress.May 1 2018, 4:20 PM
ikey claimed this task.
ikey triaged this task as Unbreak Now! priority.

Sideloading onto unstable/stable from stable build (See commit for details)

Please attempt a full upgrade now on shannon (stable), reboot, and see if the problem persists. I've had to bypass the builder infrastructure due to extensive rebuilds which make it impossible to do a sync, so I've sideloaded a clean built patched network-manager-applet which should fix the double free issue. It was actually fixed back in December but GNOME didn't issue a new point release, hence us hitting this. Apologies for inconvenience.

Would like to get confirmation on this ASAP please.

ikey edited projects, added Software; removed Lacks Project.May 1 2018, 4:41 PM
euoar added a comment.May 1 2018, 4:46 PM

Thanks for the quick response! It's persisting here yet, with release 26:

[ 162.224828] nm-applet[2008]: segfault at 0 ip 00007fdb7fce29d8 sp 00007ffec65807a8 error 4 in[7fdb7fb61000+1db000]

I'm just gonna match it to the Arch version now, gizza few minutes sorry

rel27 now sideloaded - please try full upgrade and reboot again

euoar added a comment.May 1 2018, 5:14 PM

Tested and working now. Thanks a lot for the quick fix!

ikey closed this task as Resolved.May 1 2018, 5:15 PM

Thank fuck for that. Really sorry for the bug, I no longer VPN so that's a shortcoming in my testing :(

Glad it's fixed now though!

euoar added a comment.May 1 2018, 5:41 PM

Oh, no worries. Bugs happen, and yet very few distros are so stable as Solus imho (even more remarkable being a rolling distro). What makes the difference though is the response from devs, which here is always excellent. Thanks again and keep the great work!

Will be looking into cheap VPN providers to use in conjunction with the NetworkManager VPN support. Hopefully can avoid this in the future.

Wonder if we can even run network-local VPNs to just avoid the cost entirely?

@ikey Yea was contemplating setting up a local VPN but came to the conclusion that it wouldn't really match up with the experience of most end users, which is using a VPN provider (at least in my opinion).

eric-salo added a comment.EditedMay 1 2018, 6:28 PM

I mentioned this on reddit, but cryptostorm offers a free, limited bandwidth VPN called cryptofree. Configs here:

euoar added a comment.EditedMay 1 2018, 6:33 PM

I came to this guys after listening to an interview in Destinantion Linux with Christel Dahlskjaer. I liked that they are quite linux friendly and are pretty cheap.

Otherwise they sponsor many opensource projects, including Arch Linux. May be they can make a good offer or you can trade some help, because atm their app doesn't work if you don't run debian/buntu or arch linux ( I had a look at the issue and seems related to the fact that those are sticking yet with the old net-tools (heard that they are planning releasing a snap).

Unknown Object (User) added a subscriber: Unknown Object (User).May 1 2018, 7:04 PM

I bought a unlimmited vpn for 40 dollars for a lifetime subscription use up to five devices at once they have configuration for openvpn and .deb file and a few other configurations

Unknown Object (User) added a comment.May 1 2018, 7:07 PM

Oh a plus has us server for netflix and hulu. Only 40 bucks for a lifetime no monthly bill

The applet is hidden for me now.
On system boot it shows for a second then disappear.

Network is still connected, sometimes, but
most of the time it stays offline.

Can not use my laptop now.