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.

regards,
    Mikael


16 nov 2012 kl. 09:28 skrev "Barry Andrews" <[email protected]>:

> Hello
>  
> Trying to get LWIP 1.4.1.1 working with FreeRTOS 7.1.1  runs for a while then 
> gives me the following assertion.
>  
> Assertion "memp sanity" failed at line 463 in ../lwip_1_4_0/Src/core/memp.c
>  
> This happens while thrash testing by bulk pinging from a Linux machine to 
> test capabilities.
>  
> Comments in the file say this means pointers form a circle.
> What normally causes this?
> What is best approach to debug and fix?
>  
> My heap should be plenty big enough and no other errors received from memory 
> diags.
>  
>  
> Regards
>  
> Barry Andrews
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users

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

Reply via email to