[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Infinite hang in tcp_slowtmr()
From: |
Stephen Cowell |
Subject: |
[lwip-users] Infinite hang in tcp_slowtmr() |
Date: |
Mon, 12 Oct 2015 14:51:14 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Using 1.4.1, no OS, in a ftpd application.
Atmel SAM4E, based on THIRDPARTY_LWIP_RAW_BASIC_HTTP
example, ASF 3.25.
I find that I sometimes get an infinite loop when stepping to
pcb->next... if it is not a new pcb but the same old one, the
system hangs. In order to get out of this I put the following
two lines of 'if' code at the end:
<>
} else {
prev = pcb;
pcb = pcb->next;
if (prev == pcb)
pcb->next = NULL;// hack to escape infinite loop slc degub
}
}
}
</>
In talking on other forums I understand that this problem is
related to I/O stress. Has this issue been dealt with before?
Is there a better solution?
__
Steve
- [lwip-users] Is tcp_err()-callback optional?, Karl Karpfen, 2015/10/12
- Re: [lwip-users] Is tcp_err()-callback optional?, Simon Goldschmidt, 2015/10/15
- [lwip-users] Infinite hang in tcp_slowtmr(),
Stephen Cowell <=
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/12
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Stephen Cowell, 2015/10/15
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/13
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/13
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Enrico Murador - Research & Development - CET, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Stephen Cowell, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Enrico Murador - Research & Development - CET, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Dinesh Pandey, 2015/10/23
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Dinesh Pandey, 2015/10/29