Most probably NM tires to delete a non-netplan connection (maybe volatile connection profile?) for some reason. Therefor, libnetplan cannot extract a netplan_id and passes NULL into the hash-table, which leads to a segfault. The above mentioned commit checks for this condition and avoids it.
I think I was able to reproduce that backtrace in my local test-container (although this is not a full reproducer). This should probably fix the problem: https:/ /git.launchpad. net/~slyon/ snappy- hwe-snaps/ +git/network- manager/ commit/ ?id=2144bc3d731 412694e804679fe 35a048d2e2f804
I squeezed that commit into the pending MP at https:/ /code.launchpad .net/~slyon/ snappy- hwe-snaps/ +git/network- manager/ +merge/ 415913
Most probably NM tires to delete a non-netplan connection (maybe volatile connection profile?) for some reason. Therefor, libnetplan cannot extract a netplan_id and passes NULL into the hash-table, which leads to a segfault. The above mentioned commit checks for this condition and avoids it.