lorol / LITTLEFS

LittleFS library for arduino-esp32
GNU General Public License v2.0
167 stars 68 forks source link

crash on file upload #46

Open musapinar opened 2 years ago

musapinar commented 2 years ago

esp8266 hosts a webserver. LittleFS serves file "upload.html" client submits file to "/upload" LittleFS handles the file and writes it chunk by chunk but throws and exception at random progress. I use nothing more than example code (see screenshots below), yet it is not reliable and crashes 8 times out of 10. Why? Stack trace below + relevant sketch. Thanks

https://i.imgur.com/ccrifNo.png https://i.imgur.com/xXBFVf3.png

edit: same potatoe behavior occured with SPIFFS lib. Upgraded to LittleFS for this very reason but it's not any better.