Re: [Babel-users] babeld crashes

2016-04-17 Thread Juliusz Chroboczek
> if(channels_len == 0) { Not necessary, free(NULL) is a nop. ___ Babel-users mailing list Babel-users@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Re: [Babel-users] babeld crashes

2016-04-17 Thread Juliusz Chroboczek
> I think the attached patch solves this issue. Well spotted, thanks. Applied. (This is only relevant to the current head, people running 1.7.* are not affected.) -- Juliusz ___ Babel-users mailing list Babel-users@lists.alioth.debian.org

Re: [Babel-users] babeld crashes

2016-04-17 Thread Matthieu Boutier
> #3 0x76e4bb80 in malloc_printerr (action=1, >str=0x76efba6c "double free or corruption (fasttop)", ptr=) >at malloc.c:4996 > #5 0x0001a35c in update_route (id=, prefix=, >plen=, src_prefix=, src_plen=0 '\000', >seqno=17136, refmetric=96, interval=1600, neigh=0xc5d9d8, >

Re: [Babel-users] babeld crashes

2016-04-16 Thread Dave Taht
I eliminated the -l option from all my boxes and thus far I have not seen it crash. But I am not trying too hard to make things on my network come and go right now, I'm busy on other things: http://blog.cerowrt.org I will put a couple boxes under valgrind the next time I re-org the network,

Re: [Babel-users] babeld crashes

2016-04-16 Thread Juliusz Chroboczek
Dave, could you please try to reproduce this under valgrind? ___ Babel-users mailing list Babel-users@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Re: [Babel-users] babeld crashes

2016-04-15 Thread Dave Taht
And I got it to happen on the pi3. (gdb) bt #0 0x76e09f70 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x76e0b324 in __GI_abort () at abort.c:89 #2 0x76e45954 in __libc_message (do_abort=, fmt=0x76efb830 "*** Error in `%s': %s: 0x%s ***\n") at