Assertion 'DG_IS_LOCKED(p->domain)' failed at lib/resource.c:449

Maria Matejka maria.matejka at nic.cz
Mon Sep 15 18:58:26 CEST 2025


Hello Rob,

> <BUG> Assertion 'DG_IS_LOCKED(p->domain)' failed at lib/resource.c:449
> 
> Anyone seen this before/know what this is about?

this is an internal error where somebody (probably me) wrote the code so
badly that it tries to request a resource without having a proper lock
acquired. This assertion is a last-resort guard against locking errors,
and it's fatal because it guards against some very nasty scenarios, all
including memory stomped all over with no real possiblity to debug
anything.

We'd love to not see that error, and therefore if you were so kind to
recover the corefile and send it to us, we will examine that and fix
that bug.

I have no idea what exactly may have happened. This is a generic memory
allocation function which is called from hundreds of places, so
generally we need to see at least the whole stacktrace to know in which
case the locking constraint has been violated.

Thank you and sorry for the crash.  
Have a nice day!  
Maria

-- 
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250915/6eb69274/attachment.htm>


More information about the Bird-users mailing list