[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Stability of master branch code

From: address@hidden
Subject: Re: [lwip-users] Stability of master branch code
Date: Mon, 04 May 2015 21:58:36 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Robert Deschambault wrote:
[..] We have noticed that when we use the v1.4.1 milestone release it runs as long as we care to test. When we use the sources from the lwip master branch, it runs for about 18 hours. What is odd is that it isn't apparent that anything bad has happened, the threads appear to be still running, and the code appears to be still working for other things like blinking leds, etc., but pings, echo requests, or custom service requests do not work. No response from the target.

That's bad. Out of my head, I'm not aware of a change that might trigger this. And I'm not aware of instable versions of master which might have had this.

I suspect your target is running out of pbufs (running out of PBUF_POOL -> no frames can be received any more; running out of heap memory -> no PBUF_RAM pbufs can be created for transmission any more). In either cases, the 'err' counter in lwip_stats.mem or .memp.X should increase. Can you check in the debugger if that's the case? You might have to enable the stats first if not already done.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]