You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
esp_ping_new_session does not work together with CONFIG_LWIP_CHECK_THREAD_SAFETY
esp_ping_new_session does not work together with CONFIG_LWIP_CHECK_THREAD_SAFETY (IDFGH-14183)
Dec 5, 2024
There's a bug in the ping component, it calls potentially unsafe lwip API from the (user/esp_ping_new_session()) calling thread.
I'm attaching a possible fix:
Answers checklist.
IDF version.
v5.3 a0f798c
Espressif SoC revision.
ESP32-D0WD-V3 (revision v3.0)
Operating System used.
Windows
How did you build your project?
Other (please specify in More Information)
If you are using Windows, please specify command line type.
CMD
Development Kit.
custom board
Power Supply used.
USB
What is the expected behavior?
esp_ping_new_session starts a new session
What is the actual behavior?
Panic reason: assert failed: netif_get_by_index /IDF/components/lwip/lwip/src/core/netif.c:1706 (Required to lock TCPIP core functionality!)
Steps to reproduce.
select LWIP_TCPIP_CORE_LOCKING
select LWIP_CHECK_THREAD_SAFETY
start new ping session
Debug Logs.
More Information.
related issue espressif/arduino-esp32#10526
The text was updated successfully, but these errors were encountered: