I've gathered several core dumps now but the stacktraces are identical. The logged reason for dumping core is "free(): invalid pointer".
I wonder if there is a race condition with whatever networkd itself is doing when it reconfigures the interface (which it seems to do more aggressively for DHCP renewals than it used to) and what my scripts in /etc/networkd-dispatcher/configured.d and /etc/networkd-dispatcher/configuring.d are doing. Assuming the "routing_policy_rule_free" function is equivalent to "ip rule delete ..." there could be a conflict with my "configuring.d" script in particular. The "configured.d" script adds some extra routing policy rules and the "configuring.d" script deletes them so they aren't duplicated every time the network is configured.
I've gathered several core dumps now but the stacktraces are identical. The logged reason for dumping core is "free(): invalid pointer".
I wonder if there is a race condition with whatever networkd itself is doing when it reconfigures the interface (which it seems to do more aggressively for DHCP renewals than it used to) and what my scripts in /etc/networkd- dispatcher/ configured. d and /etc/networkd- dispatcher/ configuring. d are doing. Assuming the "routing_ policy_ rule_free" function is equivalent to "ip rule delete ..." there could be a conflict with my "configuring.d" script in particular. The "configured.d" script adds some extra routing policy rules and the "configuring.d" script deletes them so they aren't duplicated every time the network is configured.