double free detected in bfree_recombine
I am running zephyr 2.2.0 on my board and while developing a multi-threading application, running into a double free at ZEPHY_BASE/lib/os/mempool.c:163.
/*Detect common double-free occurrences */
__ASSERT(alloc_bit_is_set(p, level, bn),
"mempool double free detected at %p", block);
My question is does Zephyr have any tools like valgrind that can help me pinpoint the issue.