[Top][All Lists]

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

[lwip-users] tcp_active_pcbs got corrupted in LwIP 2.0.3

From: Yasir Arafat
Subject: [lwip-users] tcp_active_pcbs got corrupted in LwIP 2.0.3
Date: Thu, 9 May 2019 02:45:36 -0700 (MST)

I am using LwIP 2.0.3 with FreeRTOS version 10. There is separate
'ethernetif_input' task which handles Ethernet. We are running httpd.c
server over raw api as provided by LwIP stack. The priority of Ethernet task
is 2nd most among all threads. It is working fine but randomly somehow
'tcp_active_pcbs' got corrupted and becomes  circular linked list of 'pcb'.
The code got stuck in 'tcp_in.c' under loop 'for (pcb = tcp_active_pcbs; pcb
!= NULL; pcb = pcb->next) '.
This happens most of time when server(controller) is running and if the
controller get restart.
We are starting 'ethernetif_input' task only after all the initialization
takes place.   

I tried debugging hard but i don't see anything. That is why I am writing
for the help.

Thanks in advance.  

Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

reply via email to

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