LITTLEFS icon indicating copy to clipboard operation
LITTLEFS copied to clipboard

crash on file upload

Open musapinar opened this issue 3 years ago • 0 comments

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.

musapinar avatar Jan 07 '22 12:01 musapinar