Ubuntu 20.04 - knot-resolver-5.4.4 - Assertion IS_BRANCH(mc->mc_pg[mc->mc_top]) failed - Core Dumped
This issue just appeared out of nowhere. I suspect Lua or something else upgraded through unattended-upgrades and introduced this issue as no config changes were made in over a year.
I've already fully uninstalled and reinstalled knot-* (including an autoremove inbetween) just in case, no luck.
Here's what I could gather:
● kresd@1.service - Knot Resolver daemon
Loaded: loaded (/lib/systemd/system/kresd@.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Mon 2022-01-31 15:46:14 UTC; 5s ago
Docs: man:kresd.systemd(7)
man:kresd(8)
Process: 65013 ExecStart=/usr/sbin/kresd -c /usr/lib/knot-resolver/distro-preconfig.lua -c /etc/knot-resolver/kresd.conf -n (code=dumped, signal=ABRT)
Process: 65015 ExecStopPost=/usr/bin/env rm -f /run/knot-resolver/control/1 (code=exited, status=0/SUCCESS)
Main PID: 65013 (code=dumped, signal=ABRT)
Packages installed:
ii knot-resolver 5.4.4-cznic.1 amd64 caching, DNSSEC-validating DNS resolver
ii knot-resolver-module-http 5.4.4-cznic.1 all HTTP module for Knot Resolver
rc knot-resolver-release 1.9-1 all Knot Resolver official upstream repositories
ii libknot12:amd64 3.1.1-cznic.1 amd64 DNS shared library from Knot DNS
ii libluajit-5.1-2:amd64 2.1.0~beta3+dfsg-5.1build1 amd64 Just in time compiler for Lua - library version
ii libluajit-5.1-common 2.1.0~beta3+dfsg-5.1build1 all Just in time compiler for Lua - common files
ii lua-basexx 0.3-2 all baseXX encoding/decoding library for Lua
ii lua-binaryheap 0.4-1 all Binary heap implementation in Lua
ii lua-bit32:amd64 5.3.0-3 amd64 Backport of the Lua 5.2 bit32 library to Lua 5.1
ii lua-compat53:amd64 0.7-2 amd64 Lua-5.3-style APIs for Lua 5.2 and 5.1
ii lua-cqueues:amd64 20190813-1 amd64 event loop for Lua
ii lua-fifo 0.2-3 all FIFO implementation for Lua
ii lua-http 0.3-90 all HTTP library for Lua
ii lua-lpeg:amd64 1.0.2-1 amd64 LPeg library for the Lua language
ii lua-lpeg-patterns 0.4-1 all collection of LPEG patterns
ii lua-luaossl:amd64 20161214-1build2 amd64 OpenSSL bindings for Lua
ii lua-mmdb 0.1-1 all IP geolocation library for Lua
ii lua-psl:amd64 0.3-1 amd64 Bindings to libpsl, a C library that handles the Public Suffix List
Any pointers on how to debug this further?