Segfault Showing export table on 2.0.6
Sometimes showing export table(s) from birdc on 2.0.6 results in a Segfault of the bird daemon. I can try to debug further if this isn't sufficient, but largely the only difference between one protocol and the other is the presence of communities on the exports from PROTO2. birdc -s /root/bird-runtime/bird-3.ctl BIRD 2.0.6 ready. bird> show route export table PROTO1.ipv4 all Table export: 69.59.18.0/24 unicast [v4sta 11:55:59.366] * (1000) dev lo Type: static univ 208.68.4.0/24 unicast [v4sta 11:55:59.366] * (1000) dev lo Type: static univ bird> show route export table PROTO2.ipv4 all ... 2019-09-19 11:45:04.706302 bird-out-3.fifo Segmentation fault Matt
On Thu, Sep 19, 2019 at 04:13:52PM +0000, Matt Corallo wrote:
Sometimes showing export table(s) from birdc on 2.0.6 results in a Segfault of the bird daemon. I can try to debug further if this isn't sufficient, but largely the only difference between one protocol and the other is the presence of communities on the exports from PROTO2.
Hi Thanks, i can replicate that, will look at it. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Ondrej Zajicek wrote on 19/09/2019 19:32:
On Thu, Sep 19, 2019 at 04:13:52PM +0000, Matt Corallo wrote:
Sometimes showing export table(s) from birdc on 2.0.6 results in a Segfault of the bird daemon. I can try to debug further if this isn't sufficient, but largely the only difference between one protocol and the other is the presence of communities on the exports from PROTO2.
Hi
Thanks, i can replicate that, will look at it.
Is it that a 'show route export <protocol>' where protocol is a BGP session and routes have community tags that will trigger this? Thanks, - Barry
On Fri, Sep 20, 2019 at 02:11:15PM +0100, Barry O'Donovan wrote:
Ondrej Zajicek wrote on 19/09/2019 19:32:
On Thu, Sep 19, 2019 at 04:13:52PM +0000, Matt Corallo wrote:
Sometimes showing export table(s) from birdc on 2.0.6 results in a Segfault of the bird daemon. I can try to debug further if this isn't sufficient, but largely the only difference between one protocol and the other is the presence of communities on the exports from PROTO2.
Hi
Thanks, i can replicate that, will look at it.
Is it that a 'show route export <protocol>' where protocol is a BGP session and routes have community tags that will trigger this?
No, it is 'show route export table <channel>', when 'export table' (Adj-RIB-Out) is enabled for that channel. It is a new feature in version 2.0.6. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Ondrej Zajicek wrote on 20/09/2019 15:01:
Is it that a 'show route export <protocol>' where protocol is a BGP session and routes have community tags that will trigger this?
No, it is 'show route export table <channel>', when 'export table' (Adj-RIB-Out) is enabled for that channel. It is a new feature in version 2.0.6.
Phew! Thanks Ondrej. - Barry
On Thu, Sep 19, 2019 at 04:13:52PM +0000, Matt Corallo wrote:
Sometimes showing export table(s) from birdc on 2.0.6 results in a Segfault of the bird daemon. I can try to debug further if this isn't sufficient, but largely the only difference between one protocol and the other is the presence of communities on the exports from PROTO2.
Hi Here is the patch that fixes the issue. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (3)
-
Barry O'Donovan -
Matt Corallo -
Ondrej Zajicek