Rene Hensel writes:

> 

>i got an error using Nios2 and lwip.

> 

>i try to get data via tcp and this works but after getting the data i get
the error

> 

>
>Assertion "pbuf_free: p->ref > 0" failed at line 563 in src/core/pbuf.c
from pbuf_free(p)

> 

> 

>I dont find any solutions in the internet how to fix it except there are
multithread accesses to the pbuf but i dont know how to prevent this.

 

To follow up since the solution to this was posted on Altera Forums:

 

tcp_recved returned -1 instead of ERR_OK.

 

Bill

 

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

Reply via email to