[quagga-dev 7565] Re: BGPd Crash

Chris Caputo ccaputo at alt.net
Mon Dec 21 17:04:38 GMT 2009


Chris Caputo wrote:
> I've noticed bgp_read+0xa72 has consistently been in the backtrace, but I'd
> like to know what the call path from there to bgp_unlock_node is.  If you'd
> like to email me your current bgpd executable, I can try to see what I can
> figure out from the symbol table.

I objdump'ed Richard's bgpd and was able to reconstruct the backtrace more 
fully.  Posting here in case anyone else is looking at this crash:

2009/12/15 11:01:59 BGP: 195.66.224.250 [Error] bgp_read_packet error: Connection reset by peer
2009/12/15 11:04:14 BGP: Assertion `node->lock > 0' failed in file bgp_table.c, line 252, function bgp_unlock_node
2009/12/15 11:04:14 BGP: Backtrace for 12 stack frames:
2009/12/15 11:04:14 BGP: [bt 0] /usr/local/quagga/lib/libzebra.so.0(zlog_backtrace+0x1f) [0x1571c5]
2009/12/15 11:04:14 BGP: [bt 1] /usr/local/quagga/lib/libzebra.so.0(_zlog_assert_failed+0x99) [0x157322]
2009/12/15 11:04:14 BGP: [bt 2] ./bgpd(bgp_unlock_node+0x66) [0xc53dc7]
2009/12/15 11:04:14 BGP: [bt 3] ./bgpd(bgp_nexthop_check_ebgp+0x7c) [0xc525d4]
2009/12/15 11:04:14 BGP: [bt 4] ./bgpd(bgp_update+0x3f6) [0xc41e85]
2009/12/15 11:04:14 BGP: [bt 5] ./bgpd(bgp_nlri_parse+0x1a0) [0xc42937]
2009/12/15 11:04:14 BGP: [bt 6] ./bgpd(bgp_update_receive+0x378) [0xc490a3]
2009/12/15 11:04:14 BGP: [bt 7] ./bgpd(bgp_read+0xa72) [0xc4aa1d]
2009/12/15 11:04:14 BGP: [bt 8] /usr/local/quagga/lib/libzebra.so.0(thread_call+0x67) [0x14b799]
2009/12/15 11:04:14 BGP: [bt 9] ./bgpd(main+0x418) [0xc230e1]
2009/12/15 11:04:14 BGP: [bt 10] /lib/libc.so.6(__libc_start_main+0xe6) [0x18b5d6]
2009/12/15 11:04:14 BGP: [bt 11] ./bgpd [0xc22bb1]

Chris



More information about the Quagga-dev mailing list