Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on file upload #46

Open
musapinar opened this issue Jan 7, 2022 · 0 comments
Open

crash on file upload #46

musapinar opened this issue Jan 7, 2022 · 0 comments

Comments

@musapinar
Copy link

musapinar commented Jan 7, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant