[Olsr-users] olsrv2: segfault when a link goes down

Vigneswaran R (spam-protected)
Wed May 18 07:00:09 CEST 2011


Hello,

I cloned the olsrd git repository and testing the olsrv2 implementation 
(olsrv2 branch) *** olsr.org - pre-0.7.0-44408ef ***.

I am trying to measure the time taken to re-establish the routes when  a 
link goes down and come back again. However, as soon as I unplug the 
network cable from an interface (or execute 'ip link set eth0 down'), 
olsrd exits with segmentation fault with the following information.

<snip>
10:13:55.914 INFO(interface) src/interfaces.c 317: Removing interface eth0
10:13:58.818 INFO(packet_creation) src/mid_set.c 499: Building MID
-------------------
10:13:58.868 INFO(interface) src/interfaces.c 317: Removing interface (null)
10:13:58.868 WARN(interface) src/linux/net.c 116: Cannot open proc entry 
/proc/sys/net/ipv4/conf/(null)/send_redirects: No such file or directory (2)
10:13:58.868 WARN(interface) src/linux/net.c 252: Could not restore 
icmp_redirect for interface (null)
10:13:58.868 WARN(interface) src/linux/net.c 116: Cannot open proc entry 
/proc/sys/net/ipv4/conf/(null)/rp_filter: No such file or directory (2)
10:13:58.868 WARN(interface) src/linux/net.c 258: Could not restore 
rp_filter for interface (null)
Segmentation fault (core dumped)

Please help me in fixing the problem.

Regards,
Vignesh




More information about the Olsr-users mailing list