-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
(VFS) recent fix of malloc to heap_caps_malloc causes a LoadStoreError (IDFGH-11654) #12767
Comments
Thanks, that worked for me... |
Yeah, the flag |
Hello this bug is also present in v5.2 release, which as of today is the latest version. Would it be possible to patch it there, as v5.2 includes small changes to ULP on ESP32C6 and such staying on v5.1 is not preferred. |
Answers checklist.
IDF version.
master
Espressif SoC revision.
ESP32 30.
Operating System used.
Linux
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32 DevkitC v4
Power Supply used.
USB
What is the expected behavior?
A private application with several function blocks like
wifi, http, provisioning, vfs, uart, etc
used startup properly until recently, updating to master causes a LoadStoreError in
esp_vfs_register_common at /mnt/work/esp-idf-v5.1.1/components/vfs/vfs.c:109
, so very early in startup.
What is the actual behavior?
crashes suppsedly with a memory corruption due to mem allocation returning NULL, cause IRAM heap might be exhausted.
introduced in my personal application by upstream master branch commit
7409f41
changing the
#define VFS_MALLOC_FLAGS MALLOC_CAP_INTERNAL
back to #define VFS_MALLOC_FLAGS MALLOC_CAP_DEFAULT
lets my application boot again.
I am not quite sure what the root of the problem is hence my intent to report it here.
Steps to reproduce.
...
private application with quite some suff in it :)
I provide the
it might already be enough to judge what happened
Debug Logs.
More Information.
sdkconfig.txt
gen_app.map.txt
The text was updated successfully, but these errors were encountered: