Hi,

On Fri, Nov 16, 2012 at 10:28:17AM +0100, Mikael Eiman wrote:
> Hi,
> 
> I had a similar problem recently, and in my case I was first using 
> lwIP functions from multiple threads (it's not thread safe, don't do 
> that), and then causing a double free() by calling essentially 
> tcp_close() twice on the same handle. My guess: you're corrupting 
> memory somewhere, somehow.

Another hint, SYS_LIGHTWEIGHT_PROT must be set if you are allocating 
memory from threads other than the lwIP core "TCPIP" thread.

Sylvain

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to