@theatrus
Since you seem to have some knowledge about stack issues on these platforms (I'm grateful for every scrap here ^^): I have read that Arduino Strings can cause heap fragmentation when rapidly calling string concatenations (e.g. "+=").
If you look at the decoded backtraces
I have posted, it always seems to occur on WebRequests and including some "std_function". Maybe the latter has something to do with string handling ?
Could it be that by parsing the http strings "incorrectly" the heap works up fragmentation, causing this issue ?
If one looks at the library file "
ESPAsyncWebServer/src/WebRequest.cpp" at line 365, or searches for "_temp +=" you will see that there are quite a lot of these concatenations going on and the definition "_temp = String();"
Also
@Ranjib: On my ESP32 system I had quite a high request rate, e.g. something like every 10s on 5 channels, e.g. pH, floweter, AnalogInput and 2 lights. With this I had infrequent crashes, but at a very consistent rate of 12 per hour. If that hypothesis of heap fragmentation is correct one should get a change in crash rate, depending on how often ReefPi does requests, right ?