Comment 17 for bug 1961442

Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

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=2144bc3d731412694e804679fe35a048d2e2f804

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.