[Top][All Lists]

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

Re: [lwip-users] Assertion "memp sanity" failed at line 463 in ../lwip_1

From: Sylvain Rochet
Subject: Re: [lwip-users] Assertion "memp sanity" failed at line 463 in ../lwip_1_4_0/Src/core/memp.c
Date: Fri, 16 Nov 2012 10:31:10 +0100
User-agent: Mutt/1.5.21 (2010-09-15)


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.


Attachment: signature.asc
Description: Digital signature

reply via email to

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