f74f309ec7
Add `possible` to match-leak-kinds to prevent false positives caused by POSIX soc no cpu cleanup. The leak can be reproduced by adding CONFIG_NETWORKING=y to tests/lib/cpp/libcxx/prj.conf and run twister: twister -p native_sim -s tests/lib/cpp/libcxx/cpp.libcxx.host --enable-valgrind Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
49 lines
788 B
Plaintext
49 lines
788 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: reachable,possible
|
|
...
|
|
fun:posix_new_thread
|
|
fun:arch_new_thread
|
|
}
|
|
{
|
|
POSIX soc no cpu cleanup
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable,possible
|
|
...
|
|
fun:posix_boot_cpu
|
|
...
|
|
fun:main
|
|
}
|
|
{
|
|
POSIX arch no cpu cleanup
|
|
Memcheck:Leak
|
|
match-leak-kinds: reachable
|
|
...
|
|
fun:nct_init
|
|
fun:posix_arch_init
|
|
}
|
|
{
|
|
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
|
|
}
|