[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: Mikael Eiman
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:28:17 +0100


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.


16 nov 2012 kl. 09:28 skrev "Barry Andrews" <address@hidden>:

Trying to get LWIP 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.
Barry Andrews
lwip-users mailing list

reply via email to

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