Your picture of the threads running suggests you are using some form of
an OS... have you tested the port with a known good application so you
know for sure that everything is running fine ?
If so, in what part of memp_overflow_check_element_overflow() you see
the loop and how is it occurring ? What do you see, what variable values ?
Have you enabled statistics ? What do you see ?
My bet is that you don't have a problem with freeing tcp_segments but a
memory problem. You would probably attract someone with knowledge on
this subject if you label the subject accordingly. Please describe your
Also, your web server... how do you know it is not trashing memory ? and
your Modbus TCP app ?
lwip-users mailing list