[Olsr-dev] Bug #48

Henning Rogge (spam-protected)
Sun Dec 28 14:05:41 CET 2014


Hi,

I think I just managed to reproduce your bug (by hacking the olsrd
code a bit to force a failure in socket opening).

I pushed a fix, can you test the current commit in the master branch?

Henning

On Sun, Dec 28, 2014 at 12:57 PM, Henning Rogge <(spam-protected)> wrote:
> On Sat, Dec 27, 2014 at 10:59 PM, André Gaul <(spam-protected)> wrote:
>> Am 27.12.2014 um 09:20 schrieb Henning Rogge:
>>> Looking forward the hear about the results.
>>
>> unfortunately, this does not resolve the memory leak. I just reproduced
>> the issue on openwrt trunk with your patch. I simply added a wifi-iface
>> with station mode and an ssid that doesn't exist (so the interface
>> doesn't come up):
>>
>> config wifi-iface
>>         option device   radio1
>>         option network  wireless1
>>         option mode     sta
>>         option ssid     doesntexist
>>         option encryption none
>>
>> Adding this interface to the olsrd6 config then again results in the
>> memory leak and the messages
>>
>> Sat Dec 27 21:08:09 2014 daemon.info olsrd[1682]: Adding interface wlan1
>> Sat Dec 27 21:08:09 2014 daemon.err olsrd[1682]: bind: Cannot assign
>> requested address
>>
>> are logged roughly every second.
>>
>>> No, I will be not at the CCC...
>>
>> Too bad! Maybe you have another idea about solving this issue?
>
> I cannot use valgrind on openwrt (and I don't have wireless hardware
> on my desktop), so I am trying to replicate the problem with a few
> VMs.
>
> Can you give me the output of "ip addr" and "ip link" of wlan1?
>
> I have trouble to replicate the situation...
>
> Henning Rogge




More information about the Olsr-dev mailing list