<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 1, 2016 at 12:07 PM, Bastian Bittorf <span dir="ltr"><<a href="mailto:bb@npl.de" target="_blank">bb@npl.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">today i tried a recent LEDE-project build<br>
and the daemon is crashing around every 3 minutes:<br>
<br>
it is:<br>
olsr.org-0.9.0.3-git_07ce883-<wbr>hash_<wbr>1643a845a3f42d0c0f9a329d69df70<wbr>d6<br>
<br>
here the backtrace. i dont think it is oom... (enough resources)<br>
<br>
bastian@LEDE:/home/bastian/<wbr>ledebot/lede-staging/staging$<br>
./scripts/remote-gdb r148313.mips.olsrd.5825.11.<wbr>1472722278.core<br>
build_dir/target-mips_24kc_<wbr>musl-1.1.15/olsrd-0.9.0.3/<wbr>ipkg-mips_24kc/olsrd/usr/sbin/<wbr>olsrd<br>
Using target mips_24kc (musl-1.1.15)<br>
GNU gdb (GDB) 7.11.1<br>
Copyright (C) 2016 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later<br>
<<a href="http://gnu.org/licenses/gpl.html" rel="noreferrer" target="_blank">http://gnu.org/licenses/gpl.<wbr>html</a>><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.  Type "show<br>
copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "--host=x86_64-linux-gnu<br>
--target=mips-openwrt-linux-<wbr>musl".<br>
Type "show configuration" for configuration details.<br>
For bug reporting instructions, please see:<br>
<<a href="http://www.gnu.org/software/gdb/bugs/" rel="noreferrer" target="_blank">http://www.gnu.org/software/<wbr>gdb/bugs/</a>>.<br>
Find the GDB manual and other documentation resources online at:<br>
<<a href="http://www.gnu.org/software/gdb/documentation/" rel="noreferrer" target="_blank">http://www.gnu.org/software/<wbr>gdb/documentation/</a>>.<br>
For help, type "help".<br>
Type "apropos word" to search for commands related to "word"...<br>
Reading symbols from<br>
build_dir/target-mips_24kc_<wbr>musl-1.1.15/olsrd-0.9.0.3/<wbr>ipkg-mips_24kc/olsrd/usr/sbin/<wbr>olsrd...(no<br>
debugging symbols found)...done.<br>
[New LWP 5825]<br>
warning: Can't read pathname for load map: Unknown error -1.<br>
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.<br>
Program terminated with signal SIGSEGV, Segmentation fault.<br>
#0  a_crash () at ./src/internal/atomic.h:250<br>
250             *(volatile char *)0=0;<br>
(gdb) bt full<br>
#0  a_crash () at ./src/internal/atomic.h:250<br>
No locals.<br>
#1  free (p=0x9795c0) at src/malloc/malloc.c:464<br>
        self = 0x9795b8<br>
        next = 0x9795d8<br>
        final_size = 32<br>
        new_size = 32<br>
        size = <optimized out><br>
        reclaim = 0<br>
#2  0x0040983d in olsr_destroy_parser ()<br></blockquote><div><br></div><div>Hmm... this would mean the routing agent is already in the process of shutting down when this happens.</div><div><br></div><div>A segfault in a free() call which is not NULL should either be a "double free()" or just memory corruption.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
No symbol table info available.<br>
Backtrace stopped: frame did not save the PC<br>
(gdb)<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Olsr-dev mailing list<br>
<a href="mailto:Olsr-dev@lists.olsr.org">Olsr-dev@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-dev" rel="noreferrer" target="_blank">https://lists.olsr.org/<wbr>mailman/listinfo/olsr-dev</a></font></span></blockquote></div><br></div></div>