On Thu, Dec 05, 2024 at 11:35:13PM +0100, nick via Bird-users wrote:
Dear BIRD Community,
I am writing to report a bug observed in the BGP implementation on ARMv7 platforms, which results in a SIGBUS error due to unaligned memory access in the NEON assembler code. I debugged this issue on version 2.15.1 of BIRD.
The root cause appears to be insufficient alignment of memory allocated for structures, specifically in this line:
```c px = mb_alloc(c->pool, sizeof(struct bgp_prefix) + net->length); ```
Hello Thanks for the report, can you get from your crash the pointer / aligment of 'px' and also get sizeof(struct mblock) in your build? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) "To err is human -- to blame it on a computer is even more so."