Bug#526270: quagga: Assertion `len < str_size' failed in file bgp_aspath.c, line 619

6 views
Skip to first unread message

Michael Bussmann

unread,
Apr 30, 2009, 5:20:16 AM4/30/09
to
Package: quagga
Version: 0.99.11-1~MBbpo50+1
Severity: important

Hi,

bgpd (both from quagga 0.99.10-1lenny1 and 0.99.11-1+b1) crashes with the
message

| 2009/04/30 08:58:29 BGP: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count

apparently when receiving updates containing asn32.

I couldn't debug the exact cause of the problem yet, but it seems the quick
hack as mentioned on

http://www.gossamer-threads.com/lists/quagga/users/17769

(increasing ASN_STR_LEN) works for me (I've not tried the full patch yet)

Cheers,
Michael Bussmann

-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (700, 'stable'), (655, 'MB'), (655, 'FGAN'), (200, 'testing'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.7-ruf099 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages quagga depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii iproute 20080725-2 networking and traffic control too
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l
ii libpcre3 7.6-2.1 Perl 5 Compatible Regular Expressi
ii libreadline5 5.2-3.1 GNU readline and history libraries
ii logrotate 3.7.1-5 Log rotation utility

quagga recommends no packages.

Versions of packages quagga suggests:
ii snmpd 5.4.1~dfsg-12 SNMP (Simple Network Management Pr

-- debconf-show failed

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Matthew Whittaker-Williams

unread,
May 1, 2009, 5:30:09 AM5/1/09
to
Hi,

I can confirm this bug.
Our quagga bgpd has crashed aswell.

Apr 30 08:58:09 lvs2 bgpd[3548]: Assertion `len < str_size' failed in


file bgp_aspath.c, line 619, function aspath_make_str_count

Apr 30 08:58:09 lvs2 bgpd[3548]: Backtrace for 14 stack frames:
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
0] /usr/lib/libzebra.so.0(zlog_backtrace+0x35) [0x7fdd160e7035]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
1] /usr/lib/libzebra.so.0(_zlog_assert_failed+0x7f) [0x7fdd160e71bf]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 2] /usr/lib/quagga/bgpd
[0x7fdd165ae443]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 3] /usr/lib/quagga/bgpd
[0x7fdd165ae477]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
4] /usr/lib/quagga/bgpd(aspath_key_make+0x45) [0x7fdd165ae4c5]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 5] /usr/lib/libzebra.so.0(hash_get
+0x1f) [0x7fdd160dcabf]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
6] /usr/lib/quagga/bgpd(aspath_parse+0xb4) [0x7fdd165af904]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
7] /usr/lib/quagga/bgpd(bgp_attr_parse+0x375) [0x7fdd165725b5]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 8] /usr/lib/quagga/bgpd
[0x7fdd16590fde]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 9] /usr/lib/quagga/bgpd(bgp_read
+0x79a) [0x7fdd1659236a]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
10] /usr/lib/libzebra.so.0(thread_call+0x39) [0x7fdd160d8489]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 11] /usr/lib/quagga/bgpd(main
+0x388) [0x7fdd165637b8]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt
12] /lib/libc.so.6(__libc_start_main+0xe6) [0x7fdd156c21a6]
Apr 30 08:58:09 lvs2 bgpd[3548]: [bt 13] /usr/lib/quagga/bgpd
[0x7fdd165632f9]


Regards

Matthew
--
News-Service.com - European Usenet Provider
Kruislaan 402, 1098 SM Amsterdam, Netherlands
http://www.news-service.com +31(0)20-8884570

Reply all
Reply to author
Forward
0 new messages