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

Henning Rogge (spam-protected)
Fri Oct 16 17:50:20 CEST 2009

Am Freitag 16 Oktober 2009 16:52:20 schrieb ZioPRoTo (Saverio Proto):
> 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
Damned... seems to be me and Markus missed a bug in the "interface down" 
detector. Fix is already in the stable repository, a 0.5.6-r7 might follow 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20091016/8a634704/attachment.sig>

More information about the Olsr-dev mailing list