rsmith at xs4all.nl
Sun May 3 18:45:52 UTC 2009
On Sun, May 03, 2009 at 07:27:25PM +0200, Bc. Radek Krejca wrote:
> starting this day I have problem with quagga, I get this messages
> in my log:
> May 3 19:15:36 gw bgpd: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count
> May 3 19:15:36 gw kernel: pid 7225 (bgpd), uid 101: exited on signal 6
> May 3 19:15:36 gw bgpd: No backtrace available on this platform.
> I have latest verison of port quagga, I looks as bug in quagga,
> but I dont know. Do you have any idea for solution?
It is a bug in quagga, or rather a condition that triggers a built-in
verification macro called assert(3). Normal behavior for this macro is
to terminate the program if the asserted condition fails, as it does here.
It looks if a function that calculates the length of a string gets a
larger value than it can cope with. It is possible that an internal
buffer for a string isn't large enough. In this day and age I would
respectfully call that bad coding.
You should report it to the author(s), sinze they put in this check.
It is possible to disable this bahaviour at compile time, see
assert(3). But this is unwise unless you know what you're doing.
Without diving into the source code, it is impossible to be certain that
this is not a FreeBSD bug. But it looks more like ungracefull handling
of an error condition.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090503/cf2b7664/attachment.pgp
More information about the freebsd-questions