LPC1769 LWIP stack assert pbuf->ref=1 fail

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by guc on Mon Jul 22 12:58:14 MST 2013
I am running LWIP stack on LPC1769, compiler is IAR, source code is from LPCOpen 1.03 echo sample without RTOS. board is LPCXpresso board. I modified the sample to open 6 tcp server and 6 tcp client socket. the stack assert fail at pbuf->ref==1 (ip.c ln 865 ) after running a while. the timing is random, sometime after send/receive several thousand packet, sometime after several 10K packet. Is there anybody know the reason of it? attached is the opt.h and lwipopts.h Thanks.