[size=11.3333px]各位大神还请指导下,在STM32上面移植了LWIP协议,服务器端移植已经完成,但是突然发现,我定时向客户端发送报文,定时时间大概子在16ms,但是会不时的出现串口打印以下错误: Assertion "pbuf_free: p->ref > 0" failed at line 650 in LWIP\lwip-1.4.1\src\core\pbuf.c Assertion "tcp_write: arg == NULL (programmer violates API)" failed at line 382 in LWIP\lwip-1.4.1\src\core\tcp_out.c Assertion "mem_free: legal memory" failed at line 323 in LWIP\lwip-1.4.1\src\core\mem.c Assertion "pbuf_free: p->ref > 0" failed at line 650 in LWIP\lwip-1.4.1\src\core\pbuf.c [size=11.3333px]实在是不知道为什么,相信有很多人遇到这个现象,还请各位前辈指导下如何解决这个问题,小弟不胜感激!!!!
|