On Tue, Sep 14, 2021 at 07:46:16PM +0200, Eugene Crosser wrote: > Hello, > > it seems to me that this should not be happening. Use case is not as > pathological as it may seem: your program may be using different third party > modules, each of them instantiate `Nftables` interface. > > $ sudo python > [sudo] password for echerkashin: > Python 3.9.7 (default, Sep 3 2021, 06:18:44) > [GCC 11.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> from nftables import Nftables > >>> n1=Nftables() > >>> n2=Nftables() > >>> > double free or corruption (top) > Aborted > > Note that it happens on exit (possibly on the second call to __del__()). > > nftables v0.9.9 Upstream fix: http://git.netfilter.org/nftables/commit/?id=b85769f9397c72ab62387ccc5b7a66d0c3ff5f21 Thanks for reporting.