forked from espressif/esp-idf
feat(heap): Add runtime hint on tlsf assert trigger
Catch all tlsf assertion failure and display a hint for out of bound writing since all assertion failure are triggered when the tlsf metadata structure has been corrupted.
This commit is contained in:
@ -388,3 +388,7 @@
|
||||
-
|
||||
re: "intr_alloc: No free interrupt inputs for [_\\w]+ interrupt"
|
||||
hint: "For troubleshooting instructions related to interrupt allocation, run 'idf.py docs -sp api-reference/system/intr_alloc.html'"
|
||||
|
||||
-
|
||||
re: "assert failed: [\\w]+ tlsf.c:[\\d]+"
|
||||
hint: "CORRUPT HEAP: heap metadata corrupted resulting in TLSF malfunction.\nMake sure you are not making out of bound writing on the memory you allocate in your application.\nMake sure you are not writing on freed memory.\nFor more information run 'idf.py docs -sp api-reference/system/heap_debug.html'."
|
||||
|
Reference in New Issue
Block a user