[Olsr-dev] bug Segmentation Fault in OLSR 0.5.6-r6

ZioPRoTo (Saverio Proto) (spam-protected)
Fri Oct 16 16:52:20 CEST 2009

We are testing 0.5.6-r6.

I'm here with Szczepan that found an interesting bug I was able to
reproduce in my Netkit UML environment

If you are running OLSR and you "ifconfig intname down" on a interface
NOT running OLSR, the OLSR daemon dies with a Segmentation Fault. You
can also try with "ifconfig lo down" (supposing that you are not
running olsrd on loopback interface)

I reproduced the problem with olsrd running under gdb, and here is the printout:

[New Thread 0x40184bc0 (LWP 612)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x40184bc0 (LWP 612)]
0x0806cb82 in netlink_process_link (h=0xbf96aed4)
    at src/linux/kernel_routes.c:112
112         OLSR_PRINTF(1,"interface %s is down! ", iface->int_name);

Szczepan says this was not happening in 0.5.6-r3 and r4 ... the r5 was
not tested

There is a bug ticketing system to fill the bug in ?


More information about the Olsr-dev mailing list