arduino / arduino/ArduinoCore-renesas
Network Related Crash on Long Running MQTT connections
- Dominant language
- C
- Stars
- 193
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
I am seeing a crash on the Portenta C33 when using an MQTT client for a long duration (~15 minutes). The crash occurs within the delay call and occurs within the lwip_task of CNetIF.cpp. It certainly looks like we are seeing a memory management issue with the networking code.
We are using an SSL Client and certificates for our server authentication.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with CNetIF.cpp and trace the lwip_task path reached during delay on the Portenta C33. Reproduce the crash using a long-running MQTT connection with an SSL client and server certificates, then identify the networking memory-management failure. Done means the connection runs beyond the reported duration without crashing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100