-
Notifications
You must be signed in to change notification settings - Fork 13.3k
HttpUpload crashes since version 2.4.0 #4115
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
Comments
Hey girls/guys, Rgds |
@drschlaumeier and those 3K left were likely fragmented. |
And there is a new debug option called OOM that may help in case of short memory. |
Great, many thanks both for the hints. |
NodeMCU 1.0 (ESP12-E), 4M (1M SPIFFS)
Hi, I'm using ESP8266WebServer and http POST to update my firmware and my spiffs files.
It took a while to find the problem: Since update to 2.4.0 its crashing in Parsing.cpp in _parseForm in _currentUpload.reset(new HTTPUpload()):
Obviously, the std::unique_ptr reset method is not working. I dont know why.
According to Parsing.cpp history and to #3721 the code has been massively changed for dynamic allocation. But it seems not to work for me.
All was working in 2.3.0.
Please help to fix.
Here the crash dump from Exception Decoder .. which was not very helpfull:
The text was updated successfully, but these errors were encountered: