Today bgpd on my BGP router started to break with abort() just after start of receiving BGP full view with messages in logs: bgpd[1156]: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count bgpd[1156]: 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. http://lists.quagga.net/pipermail/quagga-users/2009-February/010342.html Fix: 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. ftp://www.kuzbass.ru/pub/freebsd/patches/quagga/patch-bgpd-asn4.gz Eugene Grosbein How-To-Repeat: Run quagga with BGP enabled and try to receive BGP full view.
-- Veniamin ------------------------------------------ XMMP: zloidemon@jabber.ru
Responsible Changed From-To: freebsd-ports-bugs->wxs 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. http://www.freebsd.org/cgi/query-pr.cgi?pr=134108 -- WXS
State Changed From-To: open->feedback Asked maintainer for approval.
Agreed. Please commit it ASAP. -- Regards, Boris
Hi, We have build two package with the patch submitted one for i386 and one for AMD64. Everything work on AMD64. On i386 the ospfd stop with following messages : May 3 15:56:49 host ospfd[61903]: ASBR[Status:1]: Update May 3 15:56:49 host ospfd[61903]: ASBR[Status:2]: Update May 3 15:56:49 host ospfd[61903]: ASBR[Status:2]: Already ASBR May 3 15:56:49 host ospfd[61903]: ASBR[Status:3]: Update May 3 15:56:49 host ospfd[61903]: ASBR[Status:3]: Already ASBR May 3 15:56:49 host ospfd[61904]: OSPFd 0.99.11 starting: vty@2604 May 3 15:56:49 host ospfd[61904]: Received signal 4 at 1241359009 (si_addr 0x2809506a); aborting... 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. Regards -- Pierre-Gilles Mialon Linagora :: http://www.linagora.com Responsable hébergement :: Head of Hosting services pmialon@linagora.com :: +33.1 58 18 65 46
Boris, 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 fix. -- WXS
The broken i386 port was compiled with: -DWITH_OSPF_NSSA -DWITH_OSPF_OPAQUE_LSA -DWITH_SNMP -DWITH_TCPSOCKETS -DWITH_DLMALLOC -- WXS
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
wxs 2009-05-04 14:37:48 UTC FreeBSD ports repository Modified files: net/quagga Makefile Added files: net/quagga/files patch-bgp_aspath.c patch-bgp_attr.c patch-bgp_community.c patch-bgp_debug.c patch-bgp_ecommunity.c patch-bgp_packet.c patch-bgp_route.c patch-bgp_vty.c patch-bgpd.c Log: - Fix bgpd crash. More information is at: http://lists.quagga.net/pipermail/quagga-users/2009-February/010342.html This crash can be triggered remotely. PR: ports/134108 Submitted by: Eugene Grosbein <eugen@eg.svzserv.kuzbass.ru> Approved by: Boris Kovalenko <boris@tagnet.ru> (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) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!