Replies: 4 comments 5 replies
-
Thought it was fixed in mathieucarbou/AsyncTCP#27 |
Beta Was this translation helpful? Give feedback.
-
I think I figured out how to decode the stack trace? Here's the raw output from the crash: assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!) Backtrace: 0x40376646:0x3fcab730 0x4037e49d:0x3fcab750 0x40384fd5:0x3fcab770 0x4202f133:0x3fcab8a0 0x4202f29d:0x3fcab8c0 0x420064a8:0x3fcab8e0 0x420135fd:0x3fcab930 0x420056b9:0x3fcab950 0x42018b07:0x3fcab9f0 0x4037f1b2:0x3fcaba10 And here's the decoder output: Decoding stack results |
Beta Was this translation helpful? Give feedback.
-
@elaw01887 : please make you you use the right dependencies before opening an issue. |
Beta Was this translation helpful? Give feedback.
-
The link is not working... |
Beta Was this translation helpful? Give feedback.
-
Are you folks aware that the library seems to have a crashing issue with newer versions of the ESP32 board package (> 3.0.7) and at least some of the newer ESP boards (I'm using the ESP32S3)?
It's discussed here: https://forum.arduino.cc/t/esp32-rebooting-loop-with-espasyncwebserver/1334275
Here's a snippet of my code:
` //ASYNC web server stuff:
ws.onEvent(onAsycnWSEvent); //onAsycnWSEvent is in WebServerStuff.ino
server.addHandler(&ws);
`
The crash happens when server.begin() is executed, and will happen even if I comment out the code above it. It also happens with the "Simple server" example sketch.
I've tested with version 3.3.22 of the web server library and all newer versions and all seem to have the problem.
I'm using this board: https://www.amazon.com/gp/product/B0D9W4Y3F3/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1, but the folks discussing the issue in the Arduino forum thread I think are using different ones.
I don't know how to capture a stack trace but will research it and post back if I can figure it out!
Beta Was this translation helpful? Give feedback.
All reactions