> I hit an internal lwIP assertion when a TCP connection is accepted:
> 
> Assertion "sys_timeout: timeout != NULL" failed at line 188 
> in /pathtosource/lwip/core/sys.c
> 
> My sys_arch_timeouts function never returns NULL. What can 

That would print "sys_timeout: timeouts != NULL" (note the 's').

What you are facing is an empty MEMP_SYS_TIMEOUT pool!

> cause this? This assertion came up with my update to the 
> latest CVS revision. I didn't see it in 1.2.0
> 
> BTW:
> Is it the right approach to return a unique timeout structure 
> per thread in sys_arch_timeouts or have I misunderstood something. 

Yes, it is.



Simon


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

Reply via email to