|
From: | Jonathan Larmour |
Subject: | Re: [lwip-users] TCP tmr endless loop |
Date: | Wed, 24 Oct 2007 12:26:53 +0100 |
User-agent: | Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515) |
Kieran Mansley wrote:
On Wed, 2007-10-24 at 13:11 +0200, Erik Ekman wrote:The problem is that sometimes it gets stuck in the tcp_slowtmr and tcp_fasttmr, just like described earlier in the list. The tcp_active_pcb has a pointer next which points to itself.That sort of list corruption very much points to two threads being active in the core of lwIP at the same time.
Specifically your lwip_tick() and signal_send() functions are probably being called overlapping each other, and each is making its own calls into lwIP.
Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["The best things in life aren't things."]------ Opinions==mine
[Prev in Thread] | Current Thread | [Next in Thread] |