lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] sys_mbox_free error when SYN retries reached


From: nikolas.karakotas
Subject: Re: [lwip-users] sys_mbox_free error when SYN retries reached
Date: Fri, 8 Apr 2022 13:46:45 +1000

Hi,

 

Just to update this was an issue with lwip_sys_arch.c implementation and CMSIS-RTOS2 using dynamic allocation.

 

If you are using Keil RTX version 5 (RTX5) there is a cmsis-pack available:

 

https://developer.arm.com/tools-and-software/embedded/cmsis/cmsis-packs

lwIP.lwIP.2.1.2.pack

 

 

Nikolas

 

From: nikolas.karakotas@sofihub.com <nikolas.karakotas@sofihub.com>
Sent: Monday, 14 March 2022 4:02 PM
To: lwip-users@nongnu.org
Subject: sys_mbox_free error when SYN retries reached

 

Hi,

 

I’m using LWIP-2.1.3 and NETCONN api.

 

I’m using a single thread to do a http request that works well until I noticed an error when it was unable to connect to the server.

 

I replicated the issue by using a wrong port number and this triggers the tcp_slowtmr: max SYN retries reached.

 

Attached is a log.

 

I noticed when I call netconn_delete it throws a:

sys_mbox_free error

at line 76 ../Application/User/Src/lwip_sys_arch.c

 

I’m unsure if there is an error in the mailboxing or LWIP and how to approach this error.

 

 

Nikolas


reply via email to

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