2092645736
The lvgl library is configured in some tests to use the libC malloc to allocate heap. In native_posix this ends up in the underlying OS heap, which cannot be safely freed in general when the program finnishes, and ends up being reported by valgrind as leaked on exit. See https://github.com/zephyrproject-rtos/zephyr/pull/18471 for a longer discussion. Instead of trying to fix the leak, let's just accept it but suppress the errors so it does not confuse other developers Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
41 lines
658 B
Plaintext
41 lines
658 B
Plaintext
{
|
|
getpwuid() libC issue
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
fun:malloc
|
|
fun:realloc
|
|
fun:load_blacklist
|
|
fun:bindresvport
|
|
}
|
|
{
|
|
POSIX arch no thread cleanup
|
|
Memcheck:Leak
|
|
match-leak-kinds: possible
|
|
...
|
|
fun:pthread_create*
|
|
fun:posix_new_thread
|
|
}
|
|
{
|
|
POSIX arch no cpu cleanup
|
|
Memcheck:Leak
|
|
match-leak-kinds: possible
|
|
...
|
|
fun:pthread_create*
|
|
fun:posix_boot_cpu
|
|
fun:main
|
|
}
|
|
{
|
|
lvgl no cleanup
|
|
Memcheck:Leak
|
|
match-leak-kinds: possible
|
|
fun:malloc
|
|
fun:lv_mem_alloc
|
|
}
|
|
{
|
|
lvgl no cleanup 2
|
|
Memcheck:Leak
|
|
match-leak-kinds: possible
|
|
fun:malloc
|
|
fun:lvgl_allocate_rendering_buffers
|
|
}
|