lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP - TCP receive assert failed


From: Simon Goldschmidt
Subject: Re: [lwip-users] LWIP - TCP receive assert failed
Date: Thu, 22 Jan 2015 17:25:12 +0100

 Jackie wrote:

> After re-examining the code, finally I got more understanding of what can 
> cause this problem. Instead of more than one threads are calling 
> tcp_output(), there is only one thread tcpip_thread(), but in which 
> tcp_output() is called recursively. 
> 
> The case happens when the lower-layer protocol (PPP) uses sys_sem_wait(). In 
> this function, it is not only waiting a semaphore, but it also gives the 
> timer chances to run.


This was a known bug which should be fixed for a long time. Are you using an 
old version of lwIP?

Simon



reply via email to

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