[Olsr-dev] OLSR issues

Ferry Huberts (spam-protected)
Sun Feb 7 10:01:45 CET 2016


Yes, we have been noticing crashes as well but are having trouble 
reproducing them.

The assert you've hit we've been seeing too, so currently I'm running 
olsrd under gdb on 3 nodes:
1 with debug and with the triggering asserts
2 with debug but without the triggering asserts (since I think they're 
not the actual problem)
3 without debug

Any help in getting this fixed will be truely appreciated.
Any stracktraces of crashes will surely help!


If someone can easily reproduce a crash, then please also try to do a 
bisect to pinpoint the bad commit.
This may take sure way back in the commits but I sure hope not.


On 06/02/16 23:10, Bluse wrote:
> Hi all,
>
> Since a couple of month I observe some log messages from olsrd in our Freifunk mesh, that I just want to share, although the actual routing works fine.
> Just in case there is something interesting for the development about this issue. (There were a couple of email in Jan.2016 that went in the same direction but their was no solution yet.)
>
> So here my observations
>
>
> (A) regular olsrd start on nodes with a single wlan interface (UBIQUITY Bullet M5 & Nanosation M5):
> =>no dmesg output related to olsrd, routing works properly
>
> (B)regular olsrd start on nodes with 2x wlan interfaces (2,4GHz AP mode & 5 GHz adhoc mode)
>
> (B.1) TPLink 4300 (MIPS):
>
> =>olsrd is running and routing works properly, dmesg shows:
>
> do_page_fault(): sending SIGSEGV to olsrd for invalid write access to 00000000
> epc = 7763d4d0 in libc.so[7760e000+9d000]
> ra  = 00425c90 in olsrd[400000+4c000]
>
>
> (B.2) TPLink 4900 (POWERPC):
>
> =>olsrd is running and routing works properly, dmesg shows:
>
> olsrd[19632]: unhandled signal 11 at 00000000 nip b78555b4 lr b78554b4 code 30001
>
>
> MANUAL START OF OLSRD with debug level 6:
>
> olsrd -d 6 -file /var/etc/olsrd.conf -nofork
>
> -> just a single line of output:
> *** olsr.org - 0.9.0.3-git_10f0c39-hash_31e08ea6498c03a8f02694181402cf0d (2016-01-27 11:30:48 on TPLink4900.lan) ***
>
> -no further debug output at all (should I use a different command ?)
>
>
> after CRTL + C:
>
> ^C
> Assertion failed: !memcmp(&branding->cmb_sig, "cookie", 6) && branding->cmb_id == ci->ci_id (src/olsr_cookie.c: olsr_cookie_free: 290)
> sendto(v4): Bad file descriptor
> sendto(v4): Bad file descriptor
> sendto(v4): Bad file descriptor
> sendto(v4): Bad file descriptor
> Segmentation fault
>
>
> SETUP:
>
> Openwrt DESIGNATED DRIVER (Bleeding Edge, r48548)
> OLSR Version: 0.9.0.3-git_10f0c39-hash_31e08ea6498c03a8f02694181402cf0d
>
> cat /var/etc/olsrd.conf
>
> DebugLevel 0
> AllowNoInt yes
> IpVersion 4
> FIBMetric "flat"
> LinkQualityLevel 2
> LinkQualityAlgorithm "etx_ff"
> OlsrPort 698
> Willingness 7
> NatThreshold 1.0
> UseHysteresis no
> SmartGateway no
> LinkQualityFishEye 1
>
> Hna4
> {
>                 10.10.4.0 255.255.255.0
> }
>
> LoadPlugin "olsrd_arprefresh.so.0.1"
> {
> }
>
> LoadPlugin "olsrd_nameservice.so.0.3"
> {
>         PlParam "name" "TPLink-4900"
>         PlParam "lat" "55.1"
>         PlParam "lon" "10.8"
>         PlParam "latlon-file" "/var/run/latlon.js"
>         PlParam "hosts-file" "/var/etc/hosts.olsr"
>         PlParam "sighup-pid-file" "/var/run/dnsmasq.pid"
>         PlParam "suffix" ".freifunk"
>         PlParam "interval" "180"
>         PlParam "timeout" "3600"
> }
>
> LoadPlugin "olsrd_txtinfo.so.0.1"
> {
>         PlParam "accept" "0.0.0.0"
> }
>
> LoadPlugin "olsrd_watchdog.so.0.1"
> {
>         PlParam "interval" "30"
>         PlParam "file" "/var/run/olsrd.watchdog"
> }
>
> LoadPlugin "olsrd_jsoninfo.so.0.0"
> {
>         PlParam "accept" "0.0.0.0"
> }
>
> InterfaceDefaults
> {
>         Ip4Broadcast 255.255.255.255
>         Mode "mesh"
> }
>
> Interface "wlan0"
> {
>         Mode "mesh"
>         HelloInterval 11.0
>         HelloValidityTime 500.0
>         MidInterval 100.0
>         MidValidityTime 2000.0
>         HnaInterval 40.0
>         HnaValidityTime 500.0
> }
>
> Interface "eth0.10"
> {
>         Mode "ether"
>         HelloInterval 11.0
>         HelloValidityTime 500.0
>         MidInterval 100.0
>         MidValidityTime 2000.0
>         HnaInterval 40.0
>         HnaValidityTime 500.0
> }
>
>
> Greetings Bluse
>
>
>
>
>
>

-- 
Ferry Huberts



More information about the Olsr-dev mailing list