lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Embedded lwIP application stops working after 4-5 days


From: Gisle Vanem
Subject: Re: [lwip-users] Embedded lwIP application stops working after 4-5 days
Date: Fri, 17 Jun 2016 12:03:47 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

address@hidden wrote:

> In the lwIP log file, I see that around the time when it stops working, the 
> fields "max" and "err" in the MEM UDP_PCB
> section contains the number 4294967295 (2^32 - 1) which is strange, since 
> these fields are 0, 1 or 2 in the long period
> where there is no problems. This indicates to me that some kind of overflow 
> is happening in the memory allocated to
> lwIP? Or could it be something else?
...

> I originally posted a similar question on the TI-E2E Community since I am 
> using the Texas Instruments TM4C129XL
> LaunchPad Evaluation Kit (which is an ARM Cortex M4F based microcontroller 
> with Ethernet PHY and other stuff on board).
> I got some responses to my question -- including the suggestion that I turn 
> off UDP in lwipopts.h. I cannot do that,
> since I am using DHCP.

Just an idea, you could try:
  #define LWIP_DNS_SECURE 0

in your lwipopts.h. But I've really no idea if that leak is happening
in dns.c or somewhere else. Put in some trace-code?


-- 
--gv



reply via email to

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