bird 3.2.0 crashes after adding ASPA and running "configure"
Christoph
cm at appliedprivacy.net
Mon Jan 5 16:12:10 CET 2026
Hello again,
I managed to get it to crash also on 3.2.0 without the "-R" so,
this might be two instead of just one issue.
Without "-R" at least it crashes only once and not in a loop.
The last log line in the trace level log before the crash:
2026-01-05 15:56:04.980 [0002] <BUG> Assertion 'r->cur' failed at
lib/lockfree.c:229
coredumpctl output:
PID: 400061 (bird)
UID: 103 (bird)
GID: 105 (bird)
Signal: 6 (ABRT)
Timestamp: Mon 2026-01-05 15:56:05 CET (8min ago)
Command Line: /usr/sbin/bird -f -u bird -g bird
Executable: /usr/sbin/bird
Control Group: /system.slice/bird.service
Unit: bird.service
Slice: system.slice
Storage:
/var/lib/systemd/coredump/core.bird.103.bca60f28d7ae4991a019cc2291fdaeee.400061.1767624965000000.zst
(present)
Size on Disk: 153.1M
Message: Process 400061 (bird) of user 103 dumped core.
Module libzstd.so.1 from deb libzstd-1.5.7+dfsg-1.amd64
Stack trace of thread 400070:
#0 0x00007fcc476e295c n/a (libc.so.6 + 0x9495c)
#1 0x00007fcc4768dcc2 raise (libc.so.6 + 0x3fcc2)
#2 0x00007fcc476764ac abort (libc.so.6 + 0x284ac)
#3 0x0000557e4b9e84dc n/a (/usr/sbin/bird + 0x10f4dc)
#4 0x0000557e4b9369ba n/a (/usr/sbin/bird + 0x5d9ba)
#5 0x0000557e4b94f52b n/a (/usr/sbin/bird + 0x7652b)
#6 0x0000557e4b95f911 n/a (/usr/sbin/bird + 0x86911)
#7 0x0000557e4b94f95a n/a (/usr/sbin/bird + 0x7695a)
#8 0x0000557e4b932956 n/a (/usr/sbin/bird + 0x59956)
#9 0x0000557e4b9e581f n/a (/usr/sbin/bird + 0x10c81f)
#10 0x0000557e4b932956 n/a (/usr/sbin/bird + 0x59956)
#11 0x0000557e4b9e3692 n/a (/usr/sbin/bird + 0x10a692)
#12 0x00007fcc476e0b7b n/a (libc.so.6 + 0x92b7b)
#13 0x00007fcc4775e7b8 n/a (libc.so.6 + 0x1107b8)
Stack trace of thread 400061:
#0 0x00007fcc476e89ee n/a (libc.so.6 + 0x9a9ee)
#1 0x00007fcc476dd668 n/a (libc.so.6 + 0x8f668)
#2 0x00007fcc476dd6ad n/a (libc.so.6 + 0x8f6ad)
#3 0x00007fcc477519c6 __poll (libc.so.6 + 0x1039c6)
#4 0x0000557e4b9de02f n/a (/usr/sbin/bird + 0x10502f)
#5 0x0000557e4b8ee3de n/a (/usr/sbin/bird + 0x153de)
#6 0x00007fcc47677ca8 n/a (libc.so.6 + 0x29ca8)
#7 0x00007fcc47677d65 __libc_start_main (libc.so.6 +
0x29d65)
#8 0x0000557e4b8ee671 n/a (/usr/sbin/bird + 0x15671)
ELF object binary architecture: AMD x86-64
version:
bird3 3.2.0-cznic.1~trixie amd64
best regards,
Christoph
config diff for enabing ASPA:
-------------
diff --git a/filter.conf b/filter.conf
index ecd825d..c349eaa 100644
--- a/filter.conf
+++ b/filter.conf
@@ -23,6 +23,12 @@ filter transit_in {
}
}
+ # Log ASPA_INVALIDs
+ if (aspa_check_downstream(at) = ASPA_INVALID) then
+ {
+ print "ASPA INVALID announcement (monitoring only): ",
net, " AS path: ", bgp_path;
+ }
+
accept;
}
diff --git a/rpki.conf b/rpki.conf
index 26335ba..8414266 100644
--- a/rpki.conf
+++ b/rpki.conf
@@ -2,6 +2,7 @@
roa4 table r4;
roa6 table r6;
+aspa table at;
protocol rpki r3k {
@@ -9,6 +10,7 @@ protocol rpki r3k {
roa4 { table r4; };
roa6 { table r6; };
+ aspa { table at; };
---------------
More information about the Bird-users
mailing list