[Babel-users] babeld crashes

Dave Taht dave.taht at gmail.com
Sat Apr 16 01:39:53 UTC 2016


I have been experiencing babeld crashes since starting to use git head
a few weeks ago.

Today after putting in git head everywhere I have been getting quite a
few crashes (no babel process running, bunch of babel routes left
behind) - I was not paying much attention to it ( these are a bunch of
new machines that I was doing other things to and I had assumed it was
systemd messing up on a restart (I am new to systemd), so I would see
a creat(/var/run/babeld.pid): File exists...

but nope, I'm segvioing at some point.

I did just manage to see a crash go by and get a core dump. I will
reboot and retry, then go back a few versions. It took about 5 minutes
of operation on an active network before this happened, this time....

0  malloc_consolidate (av=av at entry=0x7f47ad14fc00 <main_arena>)
    at malloc.c:4136
4136    malloc.c: No such file or directory.
(gdb) up
#1  0x00007f47ace0c9d4 in _int_malloc (
    av=av at entry=0x7f47ad14fc00 <main_arena>, bytes=bytes at entry=3916)
    at malloc.c:3417
3417    in malloc.c
(gdb) up
#2  0x00007f47ace0f4ae in __GI___libc_malloc (bytes=bytes at entry=3916)
    at malloc.c:2895
2895    in malloc.c
(gdb) up
#3  0x000000000040c4f7 in buffer_update (ifp=ifp at entry=0x1d365e0,
    prefix=prefix at entry=0x1d37dc0 "\375\020", plen=plen at entry=128 '\200',
    src_prefix=src_prefix at entry=0x1d37dd1 "", src_plen=src_plen at entry=0 '\000')
    at message.c:1443
1443            ifp->buffered_updates = malloc(n * sizeof(struct
buffered_update));
(gdb) up
#4  0x000000000040c85a in send_update (ifp=ifp at entry=0x1d365e0,
urgent=urgent at entry=0,
    prefix=0x1d37dc0 "\375\020", plen=<optimized out>,
src_prefix=0x1d37dd1 "", src_plen=0 '\000')
    at message.c:1497
1497            buffer_update(ifp, prefix, plen, src_prefix, src_plen);

(gdb) up
#5  0x000000000040c6ed in send_self_update (ifp=0x1d365e0) at message.c:1595
1595                send_update(ifp, 0, xroute->prefix, xroute->plen,
(gdb) up
#6  0x000000000040c86f in send_update (ifp=0x1d365e0, urgent=0,
prefix=prefix at entry=0x0,
    plen=plen at entry=0 '\000', src_prefix=0x414460 <zeroes> "",
src_plen=src_plen at entry=0 '\000')
    at message.c:1500
1500            send_self_update(ifp);

#7  0x000000000040c93f in send_update (ifp=ifp at entry=0x1d365e0,
urgent=urgent at entry=0,
    prefix=prefix at entry=0x0, plen=plen at entry=0 '\000',
src_prefix=src_prefix at entry=0x0,
    src_plen=src_plen at entry=0 '\000') at message.c:1524
1524            send_update(ifp, urgent, NULL, 0, zeroes, 0);

#8  0x0000000000402f80 in main (argc=<optimized out>, argv=<optimized
out>) at babeld.c:767
767                    send_update(ifp, 0, NULL, 0, NULL, 0);

*My babeld.conf is this:

default enable-timestamps true
redistribute local deny

*babeld command line:

babeld -l -G 33123 -S /var/lib/babeld/state eno1 wlp2s0 wlx9cefd5ff0b2c

the network has got sort of complex in recent days.

-- 
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org



More information about the Babel-users mailing list