Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread Ondrej Zajicek
On Sun, Nov 22, 2020 at 08:49:30PM +0100, Maria Matějka wrote: > Hello! > > Just a quick reply from my phone. When adding these checks, I also wanted to > zero out slab objects but then I realized that these objects should be > initialized anyway after allocation and in most cases all of these w

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread Toke Høiland-Jørgensen
Maria Matějka writes: > Hello! > > Just a quick reply from my phone. When adding these checks, I also > wanted to zero out slab objects but then I realized that these objects > should be initialized anyway after allocation and in most cases all of > these would be rewritten twice. > > The preferr

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread Toke Høiland-Jørgensen
andr...@rammhold.de writes: > On 19:01 22.11.20, Toke Høiland-Jørgensen wrote: >> > The V4 over/via V6 draft. I would link to it but it seems the IETF >> > website is currently unreachable (or I am being cloudflared…). >> >> Ah, cool! That was on my list as well, but good to know you're working >

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread Toke Høiland-Jørgensen
andr...@rammhold.de writes: > On 18:21 22.11.20, Toke Høiland-Jørgensen wrote: >> andr...@rammhold.de writes: >> > I've been playing with the BIRD source code and implementing a new >> > extension to Babel but that is not what this mail is about. >> >> Still curious - which extension? :) > > The

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread Maria Matějka
Hello! Just a quick reply from my phone. When adding these checks, I also wanted to zero out slab objects but then I realized that these objects should be initialized anyway after allocation and in most cases all of these would be rewritten twice. The preferred way of using slab objects is the

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread andreas
On 19:01 22.11.20, Toke Høiland-Jørgensen wrote: > > The V4 over/via V6 draft. I would link to it but it seems the IETF > > website is currently unreachable (or I am being cloudflared…). > > Ah, cool! That was on my list as well, but good to know you're working > on it! I'll let you have at it, th

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread andreas
On 18:21 22.11.20, Toke Høiland-Jørgensen wrote: > andr...@rammhold.de writes: > > I've been playing with the BIRD source code and implementing a new > > extension to Babel but that is not what this mail is about. > > Still curious - which extension? :) The V4 over/via V6 draft. I would link to i

Re: BIRD crashing when --enable-debug is set

2020-11-22 Thread Toke Høiland-Jørgensen
andr...@rammhold.de writes: > Hi, > > I've been playing with the BIRD source code and implementing a new > extension to Babel but that is not what this mail is about. Still curious - which extension? :) [..] > Breakpoint 1, add_tail (n=0x234ac30, l=0x241f620) at ./lib/lists.c:82 > #0 add_tail

BIRD crashing when --enable-debug is set

2020-11-22 Thread andreas
Hi, I've been playing with the BIRD source code and implementing a new extension to Babel but that is not what this mail is about. While doing that I noticed passing --enable-debug to configure causes BIRD to crash regardless of configuration: > $ bt > #0 0x77d9741a in raise () from > /