<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 21.11.2016 15:43, Ferry Huberts wrote:<br>
<blockquote
cite="mid:729eb8a6-7536-7ded-b269-215498e5a9cf@hupie.com"
type="cite">please try master
<br>
<br>
if that works, I'll start a new release
<br>
</blockquote>
<br>
I am already on lede master.<br>
maybe you mean olsr-master instead of ledes olsr version? so i will
try to find a possibility for finding and compiling that.<br>
<br>
meanwhile i got another crash on the same device, same olsr-version,
but with different debug information:<br>
<br>
<br>
[New LWP 1978]
<p>warning: Can't read pathname for load map: Unknown error -1.</p>
<p>warning: Could not load shared library symbols for 6 libraries,
e.g. /lib/libgcc_s.so.1.<br>
Use the "info sharedlibrary" command to see the complete listing.<br>
Do you need "set solib-search-path" or "set sysroot"?<br>
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf
-nofork'.<br>
Program terminated with signal SIGSEGV, Segmentation fault.<br>
#0 olsr_calculate_lq_mpr () at src/lq_mpr.c:64<br>
64 neigh->was_mpr = neigh->is_mpr;<br>
(gdb) bt<br>
#0 olsr_calculate_lq_mpr () at src/lq_mpr.c:64<br>
#1 0x004090ff in olsr_process_changes () at src/olsr.c:206<br>
<a class="issue tracker-2 status-5 priority-2 priority-default
closed" title="Internet für Flüchtlingsheim in Stünz (Erledigt)"
href="https://plan.leipzig.freifunk.net/issues/2">#2</a>
0x004196f9 in olsr_hello_tap (message=0x7fcab6f8,
in_if=<optimized out>, from_addr=<optimized out>) at
src/process_package.c:491<br>
<a class="issue tracker-2 status-1 priority-2 priority-default"
title="Flyer für den Freifunk (Neu)"
href="https://plan.leipzig.freifunk.net/issues/3">#3</a>
0x004199d5 in olsr_input_hello (ser=<optimized out>,
inif=0x8daa80, from=0x7fcab804) at src/process_package.c:381<br>
<a class="issue tracker-2 status-1 priority-2 priority-default
parent" title="Objekt Liliensteinstraße 15a (Neu)"
href="https://plan.leipzig.freifunk.net/issues/4">#4</a>
0x0040cda5 in parse_packet (olsr=<optimized out>,
size=<optimized out>, in_if=0x8daa80, from_addr=0x7fcab804)
at src/parser.c:393<br>
<a class="issue tracker-2 status-2 priority-2 priority-default"
title="Jabber-Server für leipzig.freifunk.net (In Bearbeitung)"
href="https://plan.leipzig.freifunk.net/issues/5">#5</a>
0x0040cf69 in olsr_input (fd=<optimized out>,
data=<optimized out>, flags=<optimized out>) at
src/parser.c:496<br>
<a class="issue tracker-2 status-1 priority-3 priority-high3"
title="Gestaltung neues Layout für die Website (Neu)"
href="https://plan.leipzig.freifunk.net/issues/6">#6</a>
0x0040ae65 in poll_sockets () at src/scheduler.c:341<br>
<a class="issue tracker-2 status-1 priority-2 priority-default"
title="Umsetzung neues Layout für die Website (Neu)"
href="https://plan.leipzig.freifunk.net/issues/7">#7</a>
0x0040b89d in olsr_scheduler () at src/scheduler.c:481<br>
<a class="issue tracker-2 status-5 priority-3 priority-high3
closed" title="SSL für plan.leipzig.freifunk.net (Erledigt)"
href="https://plan.leipzig.freifunk.net/issues/8">#8</a>
0x004080e1 in main (argc=1, argv=<optimized out>) at
src/main.c:711<br>
(gdb) bt full<br>
#0 olsr_calculate_lq_mpr () at src/lq_mpr.c:64<br>
<em>idx = <optimized out><br>
neigh2 = <optimized out><br>
walker = <optimized out><br>
k = <optimized out><br>
neigh = 0x30003<br>
best = <optimized out><br>
best_1hop = <optimized out><br>
mpr_changes = false<br>
#1 0x004090ff in olsr_process_changes () at src/olsr.c:206<br>
tmp_pc_list = <optimized out><br>
<a class="issue tracker-2 status-5 priority-2 priority-default
closed" title="Internet für Flüchtlingsheim in Stünz
(Erledigt)" href="https://plan.leipzig.freifunk.net/issues/2">#2</a>
0x004196f9 in olsr_hello_tap (message=0x7fcab6f8,
in_if=<optimized out>, from_addr=<optimized out>) at
src/process_package.c:491<br>
neighbor = 0x77818a00<br>
lnk = <optimized out><br>
<a class="issue tracker-2 status-1 priority-2 priority-default"
title="Flyer für den Freifunk (Neu)"
href="https://plan.leipzig.freifunk.net/issues/3">#3</a>
0x004199d5 in olsr_input_hello (ser=<optimized out>,
inif=0x8daa80, from=0x7fcab804) at src/process_package.c:381<br>
hello = {vtime = 20000, htime = 2000, source_addr = {v4 =
{s_addr = 171798817}, v6 = {</em>_in6_union = {__s6_addr =
"\n=q!", '\000' <repeats 11 times>, <i>s6_addr16 = {2621,
28961, 0, 0, 0, 0, 0, 0}, _<em>s6_addr32 = {171798817, 0, 0,
0}}}}, packet_seq_number = 23401, hop_count = 0 '\000', ttl =
1 '\001', willingness = 3 '\003', neighbors = 0x9402c0}<br>
<a class="issue tracker-2 status-1 priority-2 priority-default
parent" title="Objekt Liliensteinstraße 15a (Neu)"
href="https://plan.leipzig.freifunk.net/issues/4">#4</a>
0x0040cda5 in parse_packet (olsr=<optimized out>,
size=<optimized out>, in_if=0x8daa80,
from_addr=0x7fcab804) at src/parser.c:393<br>
forward = true<br>
validated = true<br>
m = 0x44b05c <inbuf_aligned+440><br>
count = 0<br>
msgsize = 76<br>
seqno = <optimized out><br>
entry = 0x77777590<br>
packetparser = <optimized out><br>
<a class="issue tracker-2 status-2 priority-2
priority-default" title="Jabber-Server für
leipzig.freifunk.net (In Bearbeitung)"
href="https://plan.leipzig.freifunk.net/issues/5">#5</a>
0x0040cf69 in olsr_input (fd=<optimized out>,
data=<optimized out>, flags=<optimized out>) at
src/parser.c:496<br>
buf = {buf = '\000' <repeats 12 times>,
"\177ʹ\b\000\000\000\000w\202\022\260\000\000\020.\177ʹ\b\000\000\000\000w\202\022\260\000\000\020.\000"}<br>
from = {ss_family = 2, <br>
__ss_padding = "\002\272\n=q!", '\000' <repeats 12
times>,
"\177ʹ\b\000\000\000\000w\202\022\260\000\000\000\004w\202\022\260\177ʹ\020w\202\022\260\177ʸ\300\177ʸ\300w\177L\b\000\000\000\000\177ʹ\b\000\000\000\000($\202\364w\202\022\260\177ʹ\bX3\v\211+!\207\205\000E\002P\000@\254\063\177ʹ\020\000A\322\337\177ʹ\b\000\nF\311\000E\002P\000@\254\021",
<br>
__ss_align = 1479740297}<br>
fromlen = 16<br>
cc = 516<br>
olsr_in_if = 0x8daa80<br>
from_addr = {v4 = {s_addr = 171798817}, v6 = {</em>_in6_union
= {__s6_addr = "\n=q!", '\000' <repeats 11 times>,
__s6_addr16 = {2621, 28961, 0, 0, 0, 0, 0, 0}, __s6_addr32 =
{171798817, 0, 0, 0}}}}<br>
entry = 0x0<br>
packet = <optimized out><br>
<a class="issue tracker-2 status-1 priority-3 priority-high3"
title="Gestaltung neues Layout für die Website (Neu)"
href="https://plan.leipzig.freifunk.net/issues/6">#6</a>
0x0040ae65 in poll_sockets () at src/scheduler.c:341<br>
flags = <optimized out><br>
_socket_node = <optimized out><br>
_next_socket_node = 0x8dabc4<br>
n = <optimized out><br>
ibits = {fds_bits = {1024, 0 <repeats 31 times>}}<br>
obits = {fds_bits = {0 <repeats 32 times>}}<br>
tvp = {tv_sec = 0, tv_usec = 0}<br>
hfd = 21<br>
fdsets = <optimized out><br>
<a class="issue tracker-2 status-1 priority-2 priority-default"
title="Umsetzung neues Layout für die Website (Neu)"
href="https://plan.leipzig.freifunk.net/issues/7">#7</a>
0x0040b89d in olsr_scheduler () at src/scheduler.c:481<br>
next_interval = 294200<br>
<a class="issue tracker-2 status-5 priority-3 priority-high3
closed" title="SSL für plan.leipzig.freifunk.net (Erledigt)"
href="https://plan.leipzig.freifunk.net/issues/8">#8</a>
0x004080e1 in main (argc=1, argv=<optimized out>) at
src/main.c:711<br>
default_ifcnf = <optimized out><br>
conf_file_name = "/var/etc/olsrd.conf\000f", '\000' <repeats
4074 times><br>
loadedConfig = <optimized out><br>
i = <optimized out><br>
ifn = <optimized out><br>
__func</i> = "main" <br>
(gdb)</p>
<br>
<br>
<br>
<br>
<blockquote
cite="mid:729eb8a6-7536-7ded-b269-215498e5a9cf@hupie.com"
type="cite">
<br>
On 21/11/16 15:26, Ufo wrote:
<br>
<blockquote type="cite">On 03.10.2016 14:46, Ufo wrote:
<br>
<blockquote type="cite">Am 01.09.16 um 16:21 schrieb Bastian
Bittorf:
<br>
<blockquote type="cite">thanks, i will try to fix that.
<br>
</blockquote>
basti, how is it going?
<br>
</blockquote>
even with lede from november i got errors.
<br>
so, every freifunk-meshnode has two olsr-crashes during startup,
see
<br>
text below. after that, the device will work properly.
<br>
<br>
on the end of the text a random (?) olsr-crash happened during
normal
<br>
operation time (LWP1955) , but gdb doesnt gives me useful
information.
<br>
<br>
---
<br>
<br>
root@ffl-125-gisagturm-9-no:~# olsrd -v
<br>
<br>
*** olsr.org -
<br>
0.9.0.3-git_12bd0f2-hash_aa6c047a3f5b687a69b49f114c005bd0 ***
<br>
Build date: 2016-11-03 17:24:27 on freifunkvm
<br>
<a class="moz-txt-link-freetext" href="http://www.olsr.org">http://www.olsr.org</a>
<br>
<br>
root@ffl-125-gisagturm-9-no:~# uname -a
<br>
Linux ffl-125-gisagturm-9-no 4.4.30 #0 Thu Nov 3 11:13:50 2016
mips
<br>
GNU/Linux
<br>
<br>
<br>
<br>
[New LWP 1428]
<br>
<br>
warning: Can't read pathname for load map: Unknown error -1.
<br>
<br>
warning: Could not load shared library symbols for 6 libraries,
e.g.
<br>
/lib/libgcc_s.so.1.
<br>
Use the "info sharedlibrary" command to see the complete
listing.
<br>
Do you need "set solib-search-path" or "set sysroot"?
<br>
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf
-nofork'.
<br>
Program terminated with signal SIGSEGV, Segmentation fault.
<br>
#0 0x7705bbcc in ?? ()
<br>
(gdb) bt
<br>
#0 0x7705bbcc in ?? ()
<br>
#1 0x0041a6ab in memcpy (__n=6, __os=0x42bbec, __od=0x76fe9ffc)
at
<br>
/srv2/lede/lede-20161103/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/include/fortify/string.h:51
<br>
<br>
#2 olsr_cookie_malloc (ci=0x76fe9fc0) at src/olsr_cookie.c:257
<br>
#3 0x0040b655 in olsr_start_timer (rel_time=<optimized
out>,
<br>
jitter_pct=5 '\005', periodical=false, cb_func=<optimized
out>,
<br>
context=0x0, ci=0x76fe94d0) at src/scheduler.c:788
<br>
#4 0x76f6dbd7 in ?? ()
<br>
Backtrace stopped: frame did not save the PC
<br>
(gdb) bt full
<br>
#0 0x7705bbcc in ?? ()
<br>
No symbol table info available.
<br>
#1 0x0041a6ab in memcpy (__n=6, __os=0x42bbec, __od=0x76fe9ffc)
at
<br>
/srv2/lede/lede-20161103/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/include/fortify/string.h:51
<br>
<br>
__bd = 4294967295
<br>
__bs = 7
<br>
__d = 0x76fe9ffc "cook"<error: Cannot access memory at
address 0x76fea000>
<br>
__s = 0x42bbec "cookie"
<br>
#2 olsr_cookie_malloc (ci=0x76fe9fc0) at src/olsr_cookie.c:257
<br>
ptr = 0x76fe9fd8
<br>
branding = 0x76fe9ffc
<br>
free_list_node = <optimized out>
<br>
#3 0x0040b655 in olsr_start_timer (rel_time=<optimized
out>,
<br>
jitter_pct=5 '\005', periodical=false, cb_func=<optimized
out>,
<br>
context=0x0, ci=0x76fe94d0) at src/scheduler.c:788
<br>
timer = <optimized out>
<br>
__func__ = "olsr_start_timer"
<br>
#4 0x76f6dbd7 in ?? ()
<br>
No symbol table info available.
<br>
Backtrace stopped: frame did not save the PC
<br>
(gdb)
<br>
<br>
<br>
----
<br>
<br>
<br>
[New LWP 1814]
<br>
<br>
warning: Can't read pathname for load map: Unknown error -1.
<br>
<br>
warning: Could not load shared library symbols for 6 libraries,
e.g.
<br>
/lib/libgcc_s.so.1.
<br>
Use the "info sharedlibrary" command to see the complete
listing.
<br>
Do you need "set solib-search-path" or "set sysroot"?
<br>
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf
-nofork'.
<br>
Program terminated with signal SIGSEGV, Segmentation fault.
<br>
#0 0x77c46534 in ?? ()
<br>
(gdb) bt
<br>
#0 0x77c46534 in ?? ()
<br>
#1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
<br>
#2 0x0a3d7d09 in ?? ()
<br>
Backtrace stopped: frame did not save the PC
<br>
(gdb) bt full
<br>
#0 0x77c46534 in ?? ()
<br>
No symbol table info available.
<br>
#1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
<br>
pe = <optimized out>
<br>
pe_next = 0x77c1d5f0
<br>
ppe = <optimized out>
<br>
ppe_next = <optimized out>
<br>
pae = <optimized out>
<br>
pae_next = <optimized out>
<br>
#2 0x0a3d7d09 in ?? ()
<br>
No symbol table info available.
<br>
Backtrace stopped: frame did not save the PC
<br>
(gdb)
<br>
<br>
--
<br>
<br>
[New LWP 1955]
<br>
<br>
warning: Can't read pathname for load map: Unknown error -1.
<br>
<br>
warning: Could not load shared library symbols for 6 libraries,
e.g.
<br>
/lib/libgcc_s.so.1.
<br>
Use the "info sharedlibrary" command to see the complete
listing.
<br>
Do you need "set solib-search-path" or "set sysroot"?
<br>
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf
-nofork'.
<br>
Program terminated with signal SIGSEGV, Segmentation fault.
<br>
#0 0x7777e0a4 in ?? ()
<br>
(gdb) bt
<br>
#0 0x7777e0a4 in ?? ()
<br>
Backtrace stopped: previous frame identical to this frame
(corrupt stack?)
<br>
(gdb) bt full
<br>
#0 0x7777e0a4 in ?? ()
<br>
No symbol table info available.
<br>
Backtrace stopped: previous frame identical to this frame
(corrupt stack?)
<br>
(gdb)
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite">i tried lede (trunk) one week later
(20160907) but i can see almost the
<br>
same crashes:
<br>
<br>
<br>
root@74-41:~# olsrd -v
<br>
<br>
*** olsr.org -
<br>
0.9.0.3-git_44524df-hash_aa6c047a3f5b687a69b49f114c005bd0 ***
<br>
Build date: 2016-09-08 16:25:43 on freifunkvm
<br>
<a class="moz-txt-link-freetext" href="http://www.olsr.org">http://www.olsr.org</a>
<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:walter@freifunkvm:/srv2/lede/lede-20160907/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.0.3$">walter@freifunkvm:/srv2/lede/lede-20160907/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.0.3$</a>
<br>
<br>
../../toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/gdb-7.11.1/gdb/gdb
olsrd
<br>
olsrd.1474557332.1609.11.core
<br>
<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 class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.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-musl".
<br>
Type "show configuration" for configuration details.
<br>
For bug reporting instructions, please see:
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/bugs/"><http://www.gnu.org/software/gdb/bugs/></a>.
<br>
Find the GDB manual and other documentation resources online
at:
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/documentation/"><http://www.gnu.org/software/gdb/documentation/></a>.
<br>
For help, type "help".
<br>
Type "apropos word" to search for commands related to
"word"...
<br>
Reading symbols from olsrd...done.
<br>
[New LWP 1609]
<br>
<br>
warning: Can't read pathname for load map: Unknown error -1.
<br>
<br>
warning: Could not load shared library symbols for 5
libraries, e.g.
<br>
/lib/libgcc_s.so.1.
<br>
Use the "info sharedlibrary" command to see the complete
listing.
<br>
Do you need "set solib-search-path" or "set sysroot"?
<br>
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf
-nofork'.
<br>
Program terminated with signal SIGSEGV, Segmentation fault.
<br>
#0 0x7732a534 in ?? ()
<br>
(gdb) bt
<br>
#0 0x7732a534 in ?? ()
<br>
#1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
<br>
#2 0x0a3d4a8d in ?? ()
<br>
Backtrace stopped: frame did not save the PC
<br>
(gdb) bt full
<br>
#0 0x7732a534 in ?? ()
<br>
No symbol table info available.
<br>
#1 0x0040c92d in olsr_destroy_parser () at src/parser.c:105
<br>
pe = <optimized out>
<br>
pe_next = 0x773015f0
<br>
ppe = <optimized out>
<br>
ppe_next = <optimized out>
<br>
pae = <optimized out>
<br>
pae_next = <optimized out>
<br>
#2 0x0a3d4a8d in ?? ()
<br>
No symbol table info available.
<br>
Backtrace stopped: frame did not save the PC
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>