[quagga-dev 4447] Re: bgpd crashes when a neighboring ospfd is stopped

Paul Jakma paul at clubi.ie
Thu Oct 19 22:14:54 BST 2006

On Thu, 19 Oct 2006, Andrew J. Schorr wrote:

> /usr/sbin/bgpd(bgp_info_delete+0x24)[0x806c444]
> /usr/sbin/bgpd(bgp_redistribute_delete+0xf4)[0x8074df4]

> Does anybody have any immediate insight into what might be going
> on here, or suggestions on how to debug?

Mystifying. My first though was that bgp_redistribute_delete() must 
have passed a NULL (struct bgp_info *) to bgp_info_delete(), only way 
it could crash - presuming bgp_info_set_flag()/bgp_pcount_adjust() 
weren't inlined.

But bgp_redistribute_delete() could not pass NULL args to 
bgp_info_delete(), it's impossible.

So it must be in bgp_info_set_flag() or bgp_pcount_adjust()...

Can you reproduce? Can you get it to crash under gdb?

Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Watch out for off-by-one errors.
             - The Elements of Programming Style (Kernighan & Plaugher)

More information about the Quagga-dev mailing list