Hello,

We have been using BIRD 1.6.3 on Ubuntu 16.04 as Route Server for a long time.

Recently we decided to implement a ROA check filtration but we're experiencing the daemon is crashing whenever
removing roa table from the file config even when the roa table is not applied anywhere.

In simple words: The ROA table is only defined in the config.

Here is а specific example:

root@rs2-lab:/usr/local/bird-new/etc# cat roa.conf

roa table r65501 {

    roa 1.2.3.0/24 max 32 as 65501;

}

#################################

Here is our simple bird config:

root@rs2-lab:/usr/local/bird-new/etc# cat bird.conf
log "/var/log/bird.log" all;
log syslog all;

debug protocols { events };
router id 10.10.10.100;
define myas = 12345;
protocol device {}

include "roa.conf";

#################################

So when I remove/comment "roa.conf" from the config - bird process is crashing

root@rs2-lab:/usr/local/bird-new/etc# birdc c
BIRD 1.6.3 ready.
Connection closed by server

Here is dmesg with the crash info:

[62285.414645] bird[11272]: segfault at 0 ip 000000000040ace7 sp 00007ffd5040e950 error 4 in bird[400000+74000]
[62508.998315] bird[11487]: segfault at 0 ip 000000000040ace7 sp 00007ffe148741c0 error 4 in bird[400000+74000]
[62599.558242] bird[11570]: segfault at 0 ip 000000000040ace7 sp 00007ffdfa129070 error 4 in bird[400000+74000]
[62649.377296] bird[11575]: segfault at 0 ip 000000000040ace7 sp 00007ffd5d8da0a0 error 4 in bird[400000+74000]
[63895.137084] bird[11730]: segfault at 0 ip 000000000040ace7 sp 00007ffdd4f08f00 error 4 in bird[400000+74000]
[63927.053383] bird[11738]: segfault at 0 ip 000000000040ace7 sp 00007ffe9c5c8110 error 4 in bird[400000+74000]
[66260.552622] bird[13629]: segfault at 0 ip 000000000040ace7 sp 00007ffc58de2ad0 error 4 in bird[400000+74000]
[69835.274826] bird[14098]: segfault at 0 ip 000000000040ace7 sp 00007ffe306bc640 error 4 in bird[400000+74000]
[70481.342658] bird[14218]: segfault at 0 ip 000000000040ace7 sp 00007ffd556c04c0 error 4 in bird[400000+74000]
[70587.636343] bird[14234]: segfault at 0 ip 000000000040ace7 sp 00007ffdbc90e4d0 error 4 in bird[400000+74000]

Could someone BIRD developer can help on this issue? 

Thanks in advance!

Best~
--
---

Javor Kliachev

Senior Engineer IP Services

office:+359 2 974 33 11
mobile:+359 885 98 84 95
www.neterra.net