Today bgpd on my BGP router started to break with abort()
just after start of receiving BGP full view with messages in logs:
bgpd: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count
bgpd: No backtrace available on this platform.
kernel: pid 1156 (bgpd), uid 101: exited on signal 6
There was discussion of this buf in quagga-users@ mailing list
3 February 2009 that presented a patch but the patch did not hit
quagga's git repository yet.
Add the patch taken from quagga-users@ mailing list
to FreeBSD Ports Repository at /usr/ports/net/quagga/files/
until permanent fix hit quagga's repo.
Run quagga with BGP enabled and try to receive BGP full view.
I'll take it.
ports/134108 has been submitted. As the maintainer of this port would
you please take a look at this PR and either accept or reject the patch
provided. Thank you.
Asked maintainer for approval.
Agreed. Please commit it ASAP.
We have build two package with the patch submitted one for i386 and one for
Everything work on AMD64.
On i386 the ospfd stop with following messages :
May 3 15:56:49 host ospfd: ASBR[Status:1]: Update
May 3 15:56:49 host ospfd: ASBR[Status:2]: Update
May 3 15:56:49 host ospfd: ASBR[Status:2]: Already ASBR
May 3 15:56:49 host ospfd: ASBR[Status:3]: Update
May 3 15:56:49 host ospfd: ASBR[Status:3]: Already ASBR
May 3 15:56:49 host ospfd: OSPFd 0.99.11 starting: vty@2604
May 3 15:56:49 host ospfd: Received signal 4 at 1241359009 (si_addr
We have replace /usr/local/sbin/ospfd and /usr/local/lib/libospf.so.0 by the
previous version (build with unpatched ports of quagga-0.9.99_1) and
everything work again.
Our router are NanoBSD boxes running1 7.1-RELEASE-p2.
Linagora :: http://www.linagora.com
Responsable hébergement :: Head of Hosting services
firstname.lastname@example.org :: +33.1 58 18 65 46
Thanks for the approval but it appears there is a problem with the port
on i386 (see the log of the PR for details). Can you please take a look
at this and let me know if you can reproduce it and/or if you have a
The broken i386 port was compiled with:
The problem with i386 has been attributed to a local problem with the
submitter. I will get this patch in the tree shortly. Thank you again
for being responsive in this matter.
wxs 2009-05-04 14:37:48 UTC
FreeBSD ports repository
net/quagga/files patch-bgp_aspath.c patch-bgp_attr.c
- Fix bgpd crash. More information is at:
This crash can be triggered remotely.
Submitted by: Eugene Grosbein <email@example.com>
Approved by: Boris Kovalenko <firstname.lastname@example.org> (maintainer)
Revision Changes Path
1.83 +1 -1 ports/net/quagga/Makefile
1.1 +127 -0 ports/net/quagga/files/patch-bgp_aspath.c (new)
1.1 +11 -0 ports/net/quagga/files/patch-bgp_attr.c (new)
1.1 +11 -0 ports/net/quagga/files/patch-bgp_community.c (new)
1.1 +10 -0 ports/net/quagga/files/patch-bgp_debug.c (new)
1.1 +20 -0 ports/net/quagga/files/patch-bgp_ecommunity.c (new)
1.1 +38 -0 ports/net/quagga/files/patch-bgp_packet.c (new)
1.1 +38 -0 ports/net/quagga/files/patch-bgp_route.c (new)
1.1 +76 -0 ports/net/quagga/files/patch-bgp_vty.c (new)
1.1 +45 -0 ports/net/quagga/files/patch-bgpd.c (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"