[quagga-dev 4446] bgpd crashes when a neighboring ospfd is stopped

Andrew J. Schorr aschorr at telemetry-investments.com
Thu Oct 19 20:35:46 BST 2006


I have 3 core routers running ospfd, and then a
border router running ospfd and bgpd (redistributing a few
ospf routes into bgp and vice versa).  This is on linux,
and the ASBR is running a 0.99.5 CVS snapshot from 20060922.

Yesterday afternoon, I had to add an interface to the 3 core routers.
Because I was lazy, I didn't modify the ospfd configurations
dynamically.  Instead, I patched the config files to handle
the new interface properly, and then I restarted quagga on
each core router (to pick up the new configuration).  (Note: I
restarted by stopping ospfd, then zebra, then starting zebra
followed by ospfd.) 

Each time I stopped an ospfd process on a core router, the bgpd
process on the ASBR dumped core immediately.  This happened 3 times
(once for each time I stopped ospfd on each of the 3 core
routers).

Here's what I found in bgpd.log:

BGP: Received signal 11 at 1161202744 (si_addr 0x8, PC 0x806c483); aborting...
Program counter: /usr/sbin/bgpd[0x806c483]
Backtrace for 12 stack frames:
/usr/lib/quagga/libzebra.so.0(zlog_backtrace_sigsafe+0x31)[0xb7f6fd41]
/usr/lib/quagga/libzebra.so.0(zlog_signal+0x1fd)[0xb7f6fc1d]
/usr/lib/quagga/libzebra.so.0[0xb7f7d9ef]
/lib/tls/libc.so.6[0xb7c5fa10]
/usr/sbin/bgpd(bgp_info_delete+0x24)[0x806c444]
/usr/sbin/bgpd(bgp_redistribute_delete+0xf4)[0x8074df4]
/usr/sbin/bgpd[0x807fe84]
/usr/lib/quagga/libzebra.so.0[0xb7f76894]
/usr/lib/quagga/libzebra.so.0(thread_call+0x3f)[0xb7f6151f]
/usr/sbin/bgpd(main+0x2dd)[0x805c17d]
/lib/tls/libc.so.6(__libc_start_main+0xf0)[0xb7c4d750]
/usr/sbin/bgpd(sockunion_bind+0x45)[0x805bcf1]
2006/10/18 16:19:14 BGP: BGPd 0.99.5 starting: vty at 2605, bgp at 179
2006/10/18 16:19:18 BGP: %ADJCHANGE: neighbor 10.136.84.90 Up
2006/10/18 16:19:18 BGP: %ADJCHANGE: neighbor 10.128.60.90 Up
2006/10/18 16:19:22 BGP: %ADJCHANGE: neighbor 10.136.44.90 Up
2006/10/18 16:19:22 BGP: %ADJCHANGE: neighbor 10.128.12.90 Up
BGP: Received signal 11 at 1161202802 (si_addr 0x8, PC 0x806c483); aborting...
Program counter: /usr/sbin/bgpd[0x806c483]
Backtrace for 12 stack frames:
/usr/lib/quagga/libzebra.so.0(zlog_backtrace_sigsafe+0x31)[0xb7fafd41]
/usr/lib/quagga/libzebra.so.0(zlog_signal+0x1fd)[0xb7fafc1d]
/usr/lib/quagga/libzebra.so.0[0xb7fbd9ef]
/lib/tls/libc.so.6[0xb7c9fa10]
/usr/sbin/bgpd(bgp_info_delete+0x24)[0x806c444]
/usr/sbin/bgpd(bgp_redistribute_delete+0xf4)[0x8074df4]
/usr/sbin/bgpd[0x807fe84]
/usr/lib/quagga/libzebra.so.0[0xb7fb6894]
/usr/lib/quagga/libzebra.so.0(thread_call+0x3f)[0xb7fa151f]
/usr/sbin/bgpd(main+0x2dd)[0x805c17d]
/lib/tls/libc.so.6(__libc_start_main+0xf0)[0xb7c8d750]
/usr/sbin/bgpd(sockunion_bind+0x45)[0x805bcf1]
2006/10/18 16:20:17 BGP: BGPd 0.99.5 starting: vty at 2605, bgp at 179
2006/10/18 16:20:21 BGP: %ADJCHANGE: neighbor 10.128.12.90 Up
2006/10/18 16:20:22 BGP: %ADJCHANGE: neighbor 10.136.84.90 Up
2006/10/18 16:20:24 BGP: %ADJCHANGE: neighbor 10.136.44.90 Up
2006/10/18 16:20:24 BGP: %ADJCHANGE: neighbor 10.128.60.90 Up
BGP: Received signal 11 at 1161202862 (si_addr 0x8, PC 0x806c483); aborting...
Program counter: /usr/sbin/bgpd[0x806c483]
Backtrace for 12 stack frames:
/usr/lib/quagga/libzebra.so.0(zlog_backtrace_sigsafe+0x31)[0xb7ec3d41]
/usr/lib/quagga/libzebra.so.0(zlog_signal+0x1fd)[0xb7ec3c1d]
/usr/lib/quagga/libzebra.so.0[0xb7ed19ef]
/lib/tls/libc.so.6[0xb7bb3a10]
/usr/sbin/bgpd(bgp_info_delete+0x24)[0x806c444]
/usr/sbin/bgpd(bgp_redistribute_delete+0xf4)[0x8074df4]
/usr/sbin/bgpd[0x807fe84]
/usr/lib/quagga/libzebra.so.0[0xb7eca894]
/usr/lib/quagga/libzebra.so.0(thread_call+0x3f)[0xb7eb551f]
/usr/sbin/bgpd(main+0x2dd)[0x805c17d]
/lib/tls/libc.so.6(__libc_start_main+0xf0)[0xb7ba1750]
/usr/sbin/bgpd(sockunion_bind+0x45)[0x805bcf1]
2006/10/18 16:22:23 BGP: BGPd 0.99.5 starting: vty at 2605, bgp at 179
2006/10/18 16:22:26 BGP: %ADJCHANGE: neighbor 10.128.60.90 Up
2006/10/18 16:22:27 BGP: %ADJCHANGE: neighbor 10.128.12.90 Up
2006/10/18 16:22:29 BGP: %ADJCHANGE: neighbor 10.136.84.90 Up
2006/10/18 16:22:30 BGP: %ADJCHANGE: neighbor 10.136.44.90 Up

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

Regards,
Andy



More information about the Quagga-dev mailing list