BGP: Assertion `ret != ((void *)0)’ failed in file bgp_attr.c, line 677, function bgp_attr_unintern

BGP: Assertion `ret != ((void *)0)’ failed in file bgp_attr.c, line 677, function bgp_attr_unintern
BGP: No backtrace available on this platform.
ZEBRA: client 15 disconnected. XXXXXX bgp routes removed from the rib

This is a crash log from quagga on freebsd.To solve the problem update your quagga version!!!