realloc() crashes when CONFIG_HEAP_TASK_TRACKING enabled: current && "free list cannot have a null entry" (IDFGH-11348) #12498
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.2-dev-3775-gb4268c874a
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.1)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-WROOM-1
Power Supply used.
USB
What is the expected behavior?
Provided this trivial code:
And the following configuration:
CONFIG_HEAP_TASK_TRACKING=y
Realloc should not crash.
What is the actual behavior?
Realloc crashes with the following backtrace:
Steps to reproduce.
Attached an example:
[1] example.zip
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: