[Olsr-dev] olsrd-v1 / crashes on LEDE
Ufo
(spam-protected)
Mon Nov 21 15:26:05 CET 2016
On 03.10.2016 14:46, Ufo wrote:
> Am 01.09.16 um 16:21 schrieb Bastian Bittorf:
>> thanks, i will try to fix that.
> basti, how is it going?
even with lede from november i got errors.
so, every freifunk-meshnode has two olsr-crashes during startup, see
text below. after that, the device will work properly.
on the end of the text a random (?) olsr-crash happened during normal
operation time (LWP1955) , but gdb doesnt gives me useful information.
---
(spam-protected):~# olsrd -v
*** olsr.org -
0.9.0.3-git_12bd0f2-hash_aa6c047a3f5b687a69b49f114c005bd0 ***
Build date: 2016-11-03 17:24:27 on freifunkvm
http://www.olsr.org
(spam-protected):~# uname -a
Linux ffl-125-gisagturm-9-no 4.4.30 #0 Thu Nov 3 11:13:50 2016 mips
GNU/Linux
[New LWP 1428]
warning: Can't read pathname for load map: Unknown error -1.
warning: Could not load shared library symbols for 6 libraries, e.g.
/lib/libgcc_s.so.1.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7705bbcc in ?? ()
(gdb) bt
#0 0x7705bbcc in ?? ()
#1 0x0041a6ab in memcpy (__n=6, __os=0x42bbec, __od=0x76fe9ffc) at
/srv2/lede/lede-20161103/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/include/fortify/string.h:51
#2 olsr_cookie_malloc (ci=0x76fe9fc0) at src/olsr_cookie.c:257
#3 0x0040b655 in olsr_start_timer (rel_time=<optimized out>,
jitter_pct=5 '\005', periodical=false, cb_func=<optimized out>,
context=0x0, ci=0x76fe94d0) at src/scheduler.c:788
#4 0x76f6dbd7 in ?? ()
Backtrace stopped: frame did not save the PC
(gdb) bt full
#0 0x7705bbcc in ?? ()
No symbol table info available.
#1 0x0041a6ab in memcpy (__n=6, __os=0x42bbec, __od=0x76fe9ffc) at
/srv2/lede/lede-20161103/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/include/fortify/string.h:51
__bd = 4294967295
__bs = 7
__d = 0x76fe9ffc "cook"<error: Cannot access memory at address 0x76fea000>
__s = 0x42bbec "cookie"
#2 olsr_cookie_malloc (ci=0x76fe9fc0) at src/olsr_cookie.c:257
ptr = 0x76fe9fd8
branding = 0x76fe9ffc
free_list_node = <optimized out>
#3 0x0040b655 in olsr_start_timer (rel_time=<optimized out>,
jitter_pct=5 '\005', periodical=false, cb_func=<optimized out>,
context=0x0, ci=0x76fe94d0) at src/scheduler.c:788
timer = <optimized out>
__func__ = "olsr_start_timer"
#4 0x76f6dbd7 in ?? ()
No symbol table info available.
Backtrace stopped: frame did not save the PC
(gdb)
----
[New LWP 1814]
warning: Can't read pathname for load map: Unknown error -1.
warning: Could not load shared library symbols for 6 libraries, e.g.
/lib/libgcc_s.so.1.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x77c46534 in ?? ()
(gdb) bt
#0 0x77c46534 in ?? ()
#1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
#2 0x0a3d7d09 in ?? ()
Backtrace stopped: frame did not save the PC
(gdb) bt full
#0 0x77c46534 in ?? ()
No symbol table info available.
#1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
pe = <optimized out>
pe_next = 0x77c1d5f0
ppe = <optimized out>
ppe_next = <optimized out>
pae = <optimized out>
pae_next = <optimized out>
#2 0x0a3d7d09 in ?? ()
No symbol table info available.
Backtrace stopped: frame did not save the PC
(gdb)
--
[New LWP 1955]
warning: Can't read pathname for load map: Unknown error -1.
warning: Could not load shared library symbols for 6 libraries, e.g.
/lib/libgcc_s.so.1.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7777e0a4 in ?? ()
(gdb) bt
#0 0x7777e0a4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) bt full
#0 0x7777e0a4 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
> i tried lede (trunk) one week later (20160907) but i can see almost the
> same crashes:
>
>
> (spam-protected):~# olsrd -v
>
> *** olsr.org -
> 0.9.0.3-git_44524df-hash_aa6c047a3f5b687a69b49f114c005bd0 ***
> Build date: 2016-09-08 16:25:43 on freifunkvm
> http://www.olsr.org
>
>
> (spam-protected):/srv2/lede/lede-20160907/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.0.3$
> ../../toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/gdb-7.11.1/gdb/gdb olsrd
> olsrd.1474557332.1609.11.core
>
> 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 olsrd...done.
> [New LWP 1609]
>
> warning: Can't read pathname for load map: Unknown error -1.
>
> warning: Could not load shared library symbols for 5 libraries, e.g.
> /lib/libgcc_s.so.1.
> Use the "info sharedlibrary" command to see the complete listing.
> Do you need "set solib-search-path" or "set sysroot"?
> Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0 0x7732a534 in ?? ()
> (gdb) bt
> #0 0x7732a534 in ?? ()
> #1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
> #2 0x0a3d4a8d in ?? ()
> Backtrace stopped: frame did not save the PC
> (gdb) bt full
> #0 0x7732a534 in ?? ()
> No symbol table info available.
> #1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
> pe = <optimized out>
> pe_next = 0x773015f0
> ppe = <optimized out>
> ppe_next = <optimized out>
> pae = <optimized out>
> pae_next = <optimized out>
> #2 0x0a3d4a8d in ?? ()
> No symbol table info available.
> Backtrace stopped: frame did not save the PC
>
More information about the Olsr-dev
mailing list