lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Crash when doing stresstest with ppp and sockets/UDP


From: Simon Goldschmidt
Subject: Re: [lwip-users] Crash when doing stresstest with ppp and sockets/UDP
Date: Thu, 21 Dec 2017 06:52:49 +0100

zulu4711 wrote:
> [..]
> The crash happens always when the line is dropped and PPP reports
> PPP_PHASE_ESTABLISH (6) or thereabouts. I get a protection violation in the
> socket send function (I have a feeling that the send function is in the
> middle "of its thing" when the connection is ripped away.
> [..]
> Attached some stuff from the problem
> <http://lwip.100.n7.nabble.com/file/t1962/Udklip.jpg>
> <http://lwip.100.n7.nabble.com/file/t1962/Udklip1.jpg[http://lwip.100.n7.nabble.com/file/t1962/Udklip1.jpg]>
> <http://lwip.100.n7.nabble.com/file/t1962/Udklip2.jpg[http://lwip.100.n7.nabble.com/file/t1962/Udklip2.jpg]>

>From those screenshots, I tend to think there's again something violating 
>lwIP's threading requirements, just like the last time when PPP was called 
>from the main loop. I don't have the time to debug your code though :-/

I always wanted to have assertions to help detecting these threading 
violations. I've just filed a task so maybe I can find the time to do that one 
day...

Simon



reply via email to

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