[Olsr-dev] olsrd-v1 / crashes on LEDE

Henning Rogge (spam-protected)
Thu Sep 1 13:59:36 CEST 2016


On Thu, Sep 1, 2016 at 12:07 PM, Bastian Bittorf <(spam-protected)> wrote:

> today i tried a recent LEDE-project build
> and the daemon is crashing around every 3 minutes:
>
> it is:
> olsr.org-0.9.0.3-git_07ce883-hash_1643a845a3f42d0c0f9a329d69df70d6
>
> here the backtrace. i dont think it is oom... (enough resources)
>
> (spam-protected):/home/bastian/ledebot/lede-staging/staging$
> ./scripts/remote-gdb r148313.mips.olsrd.5825.11.1472722278.core
> build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.0.3/
> ipkg-mips_24kc/olsrd/usr/sbin/olsrd
> Using target mips_24kc (musl-1.1.15)
> GNU gdb (GDB) 7.11.1
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying"
> and "show warranty" for details.
> This GDB was configured as "--host=x86_64-linux-gnu
> --target=mips-openwrt-linux-musl".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from
> build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.0.3/
> ipkg-mips_24kc/olsrd/usr/sbin/olsrd...(no
> debugging symbols found)...done.
> [New LWP 5825]
> warning: Can't read pathname for load map: Unknown error -1.
> Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  a_crash () at ./src/internal/atomic.h:250
> 250             *(volatile char *)0=0;
> (gdb) bt full
> #0  a_crash () at ./src/internal/atomic.h:250
> No locals.
> #1  free (p=0x9795c0) at src/malloc/malloc.c:464
>         self = 0x9795b8
>         next = 0x9795d8
>         final_size = 32
>         new_size = 32
>         size = <optimized out>
>         reclaim = 0
> #2  0x0040983d in olsr_destroy_parser ()
>

Hmm... this would mean the routing agent is already in the process of
shutting down when this happens.

A segfault in a free() call which is not NULL should either be a "double
free()" or just memory corruption.

No symbol table info available.
> Backtrace stopped: frame did not save the PC
> (gdb)
>
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20160901/3026de67/attachment.html>


More information about the Olsr-dev mailing list