On 07/10/2024 18.54, Frank wrote:
Good evening,

I'm trying to debug an issue with Evolution and the Gnome guys asked me
to use valgrind. However, when running this command I get an error I'm
stuck with:
valgrind --num-callers=30 --leak-check=no --track-origins=yes
/usr/lib/evolution-calendar-factory -w
==4915== Memcheck, a memory error detector
==4915== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et
al.
==4915== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright
info
==4915== Command: /usr/lib/evolution-calendar-factory -w
==4915==

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      strcmp
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing

The problem with valgrind on Arch is that you have to update your system first with pacman -Su for valgrind to work. If I remember correclty OS packages must be in sync with corresponding debuginfo packages provided by debuginfod.

I do not know the details - maybe there is a subset of packages that needs to be in sync with debuginfo, I just sync them all when I need to use valgrind.

Regards,
Ɓukasz

Reply via email to