Package: wireguard-tools Version: 0.0.20191212-1 Severity: normal I use wireguard to establish a very simple point-to-point VPN. 'wg-quick up wgo' works fine; 'wg-quick down wg0' also seems to work correctly, but it segfaults after doing (AFAICT) everything that it's supposed to do. Everything seems to be working fine, though, both before and afterward.
I tried figuring out what, exactly, the script is doing when it segfaults, but I couldn't quite make it out. It seems to successfully do 'del_if', 'unset_dns', and 'remove_firewall', but then do something wrong in the 'execute_hooks' stage? ~# wg-quick down wg0 [#] ip -4 rule delete table 51820 [#] ip -4 rule delete table main suppress_prefixlength 0 [#] ip link delete dev wg0 [#] resolvconf -d tun.wg0 -f [#] iptables-restore -n /usr/bin/wg-quick: line 29: 1411585 Segmentation fault "$@" -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages wireguard-tools depends on: ii libc6 2.29-6 ii libmnl0 1.0.4-2+b1 Versions of packages wireguard-tools recommends: ii iptables 1.8.4-1 ii wireguard-dkms 0.0.20191212-1 wireguard-tools suggests no packages. -- no debconf information