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

Ferry Huberts (spam-protected)
Thu Sep 1 13:42:19 CEST 2016



On 01/09/16 12:07, Bastian Bittorf 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

Sorry bastian, this is not a git sha known to olsrd and therefore not 
supported.

Maybe you can point me at the tree in a git repo?

First try updating to the release-0.9.0 branch, there are some fixes 
there. If that doesn't work then try updating to the master branch, it 
has even more fixes.

>
> 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 ()
> No symbol table info available.
> Backtrace stopped: frame did not save the PC
> (gdb)
>
>

-- 
Ferry Huberts



More information about the Olsr-dev mailing list