[Babel-users] babeld crashes
Dave Taht
dave.taht at gmail.com
Sat Apr 16 04:12:44 UTC 2016
And I got it to happen on the pi3.
(gdb) bt
#0 0x76e09f70 in __GI_raise (sig=sig at 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=<optimized out>,
fmt=0x76efb830 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3 0x76e4bb80 in malloc_printerr (action=1,
str=0x76efba6c "double free or corruption (fasttop)", ptr=<optimized out>)
at malloc.c:4996
#4 0x76e4cb24 in _int_free (av=<optimized out>, p=<optimized out>,
have_lock=100916) at malloc.c:3840
#5 0x0001a35c in update_route (id=<optimized out>, prefix=<optimized out>,
plen=<optimized out>, src_prefix=<optimized out>, src_plen=0 '\000',
seqno=17136, refmetric=96, interval=1600, neigh=0xc5d9d8,
nexthop=0xc5d9e0 "\376\200", channels=0x7ede598c "", channels_len=0)
at route.c:920
#6 0x0001f10c in parse_packet (from=0x0, from at entry=0x7ede5a30 "\n", ifp=0x0,
packet=0x1 <error: Cannot access memory at address 0x1>,
packetlen=<optimized out>) at message.c:644
#7 0x000126d8 in main (argc=<optimized out>, argv=<optimized out>)
at babeld.c:675
On Fri, Apr 15, 2016 at 6:39 PM, Dave Taht <dave.taht at gmail.com> wrote:
> 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
--
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