[BUG?] Segv with latest 3.1.1
Hi, I've tried to upgrade from 3.1.0 to 3.1.1 but bird daemon is crashing with a segv after some seconds. I haven't made any change to my config. Reverting to 3.1.0 fixes the problem. Running Ubuntu 24.04.02. I'm using BGP/OSPF/Kernel/Static/Direct/RPKI. I haven't had the time yet to narrow the problem down but wanted to let you know. I'll try to investigate with a limited config if I find time. Regards, -- Nicolas Lorin
Just installed 3.1.1 and getting the same. When looking at syslog I see the following: May 18 23:37:28 kernel: [ 351.570830] bird[1677]: segfault at 0 ip 0000000000000000 sp 00007fd4fcc2e5c8 error 14 in bird[563a88e0e000+14000] May 18 23:37:28 kernel: [ 351.570861] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. May 18 23:37:28 systemd[1]: bird.service: Main process exited, code=killed, status=11/SEGV May 18 23:37:28 systemd[1]: bird.service: Failed with result 'signal'. May 18 23:37:28 systemd[1]: bird.service: Consumed 7.387s CPU time. May 18 23:37:28 systemd[1]: bird.service: Scheduled restart job, restart counter is at 26. May 18 23:37:28 systemd[1]: Stopped BIRD Internet Routing Daemon. May 18 23:37:28 systemd[1]: bird.service: Consumed 7.387s CPU time. May 18 23:37:28 systemd[1]: Starting BIRD Internet Routing Daemon... The sp value changes on each iteration On Sun, 18 May 2025 at 05:21, Nicolas Lorin <androw95220@gmail.com> wrote:
Hi,
I've tried to upgrade from 3.1.0 to 3.1.1 but bird daemon is crashing with a segv after some seconds. I haven't made any change to my config. Reverting to 3.1.0 fixes the problem.
Running Ubuntu 24.04.02.
I'm using BGP/OSPF/Kernel/Static/Direct/RPKI.
I haven't had the time yet to narrow the problem down but wanted to let you know.
I'll try to investigate with a limited config if I find time.
Regards,
-- Nicolas Lorin
Dear Nicolas and Darren. Thank you for reporting this to us. Please send us your config files and we will look into that. For a private message please use bird-support@network.cz Kind regards, Jana Jana Babovakova (she/her) | BIRD Tech Support | CZ.NIC, z.s.p.o. On 19. 05. 25 1:40, Darren O'Connor wrote:
Just installed 3.1.1 and getting the same. When looking at syslog I see the following:
May 18 23:37:28 kernel: [ 351.570830] bird[1677]: segfault at 0 ip 0000000000000000 sp 00007fd4fcc2e5c8 error 14 in bird[563a88e0e000+14000] May 18 23:37:28 kernel: [ 351.570861] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. May 18 23:37:28 systemd[1]: bird.service: Main process exited, code=killed, status=11/SEGV May 18 23:37:28 systemd[1]: bird.service: Failed with result 'signal'. May 18 23:37:28 systemd[1]: bird.service: Consumed 7.387s CPU time. May 18 23:37:28 systemd[1]: bird.service: Scheduled restart job, restart counter is at 26. May 18 23:37:28 systemd[1]: Stopped BIRD Internet Routing Daemon. May 18 23:37:28 systemd[1]: bird.service: Consumed 7.387s CPU time. May 18 23:37:28 systemd[1]: Starting BIRD Internet Routing Daemon...
The sp value changes on each iteration
On Sun, 18 May 2025 at 05:21, Nicolas Lorin<androw95220@gmail.com> wrote:
Hi,
I've tried to upgrade from 3.1.0 to 3.1.1 but bird daemon is crashing with a segv after some seconds. I haven't made any change to my config. Reverting to 3.1.0 fixes the problem.
Running Ubuntu 24.04.02.
I'm using BGP/OSPF/Kernel/Static/Direct/RPKI.
I haven't had the time yet to narrow the problem down but wanted to let you know.
I'll try to investigate with a limited config if I find time.
Regards,
-- Nicolas Lorin
Hello Jana, On Mon, 19 May 2025, Jana Babovakova via Bird-users wrote:
Thank you for reporting this to us. Please send us your config files and we will look into that. For a private message please use bird-support@network.cz
I unfortunately can confirm the same issue with just Kernel/Static/BGP/RPKI for BIRD 3.1.1 after upgrading from BIRD 2.16.2: May 20 16:28:40 kernel: bird[2099507]: segfault at 0 ip 0000000000000000 sp 00007f67fe7f94e8 error 14 in bird[5601e078b000+14000] likely on CPU 3 (core 3, socket 0) May 20 16:28:40 kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6. May 20 16:32:15 kernel: bird[2100172]: segfault at 0 ip 0000000000000000 sp 00007efd0df1d4e8 error 14 in bird[55d335e3c000+14000] likely on CPU 9 (core 1, socket 1) May 20 16:32:15 kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6. May 20 16:32:42 kernel: bird[2100210]: segfault at 0 ip 0000000000000000 sp 00007efc0231d4e8 error 14 in bird[55f6f6400000+14000] likely on CPU 9 (core 1, socket 1) May 20 16:32:42 kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6. I will also provide our configuration via e-mail. Hopefully it helps to narrow down the issue. Please let me know if you need any further information. Kind regards Robert Scheck
Dear Robert, thank you for the input. We are looking into that as a priority. We will announce once we have a solution or fix. Kind regards, Jana Jana Babovakova (she/her) | BIRD Tech Support | CZ.NIC, z.s.p.o. On 20. 05. 25 16:38, Robert Scheck wrote:
Hello Jana,
On Mon, 19 May 2025, Jana Babovakova via Bird-users wrote:
Thank you for reporting this to us. Please send us your config files and we will look into that. For a private message please usebird-support@network.cz I unfortunately can confirm the same issue with just Kernel/Static/BGP/RPKI for BIRD 3.1.1 after upgrading from BIRD 2.16.2:
May 20 16:28:40 kernel: bird[2099507]: segfault at 0 ip 0000000000000000 sp 00007f67fe7f94e8 error 14 in bird[5601e078b000+14000] likely on CPU 3 (core 3, socket 0) May 20 16:28:40 kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
May 20 16:32:15 kernel: bird[2100172]: segfault at 0 ip 0000000000000000 sp 00007efd0df1d4e8 error 14 in bird[55d335e3c000+14000] likely on CPU 9 (core 1, socket 1) May 20 16:32:15 kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
May 20 16:32:42 kernel: bird[2100210]: segfault at 0 ip 0000000000000000 sp 00007efc0231d4e8 error 14 in bird[55f6f6400000+14000] likely on CPU 9 (core 1, socket 1) May 20 16:32:42 kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
I will also provide our configuration via e-mail. Hopefully it helps to narrow down the issue.
Please let me know if you need any further information.
Kind regards
Robert Scheck
participants (4)
-
Darren O'Connor -
Jana Babovakova -
Nicolas Lorin -
Robert Scheck