rare crashes with AsyncTCP 3.4.3 and 3.4.4 when there is other IP communication running #75
Closed
MichaelDvP
started this conversation in
Support
Replies: 2 comments 1 reply
-
AsyncTCP crashing, especially with other libs, does not necessary mean there is a bug. Most cases, this is a user programmation error in the way multi cores is handled or in the way callbacks are written. Without any stacktrace or MRE, there is nothing that can be done. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Fixed with AsyncTCP 3.4.7, thanks. Closing this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
IDE / Tooling
PlatformIO
What happened?
Running the project https://github.com/emsesp/EMS-ESP32 with asyncTCP/asyncWebSever (latest) and espMqttClient (https://github.com/bertmelis/espMqttClient) crashes randomly after some hours or some ten hours. Going back to AsyncTCP 3.4.2 it is stable.
IP communication is:
AsyncWebserver is stable when no oher service is enabled.
If i set asyncTCP to core 0, all the others (arduino and mqtt) to core 1 it is also stable (since 3 days now).
Seems to me that the new queue introduced in 3.4.3 sometimes conflicts with other lwip calls on the same core.
related issue in ems-esp: emsesp/EMS-ESP32#2581
Platform: [email protected] ; Arduino Core 2.0.17 / IDF 4.4.7
AsyncTCP 3.4.4
AsyncWebServer 4.7.8
espMqttClient 1.7.0
ArduinoJson 7.4.1
esp32 with PSRAM, all stack sizes checked (watermark)
Stack Trace
Sorry, difficult to catch.
Minimal Reproductible Example (MRE)
Very difficult to reproduce, it happens randomly in large time scale.
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions