You are not logged in.
Pages: 1
Valgrind is giving me this error message all of the sudden:
==21276== Memcheck, a memory error detector
==21276== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==21276== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==21276== Command: ls
==21276==
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: strlen
valgrind: in an object with soname matching: ld-linux-x86-64.so.2
valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld-linux-x86-64.so.2
valgrind:
I have tried editing environment variables in .bashrc, .bash_profile, .profile. I also tried updating my packages and rebooting multiple times. I also added the debug stuff in the/etc/pacman.conf file according to the Arch wiki.
Just a couple of days ago I had no issues, but all of the sudden I do.
Offline
Your are not retrieving glibc debug symbols. You should have this set:
$ echo $DEBUGINFOD_URLS
https://debuginfod.archlinux.org
Offline
I already tried setting this according to another post with no luck. I just decided to reinstall Arch because I have noticed many problems along with this one. I will post an update if there are issues after the reinstall.
Offline
I had the same problem, even with
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
Only when using gdb did I find that debuginfod worked for most libraries, but logged
Download failed: Connection reset by peer.
for /lib64/ld-linux-x86-64.so.2, system-supplied DSO, /usr/lib/libc.so.6 and /usr/lib/libm.so.6.
Adding https://debuginfod.elfutils.org/ to my DEBUGINFOD_URLS (space-separated) fixed this, and memcheck works now. Why the hell does debuginfod.archlinux.org not provide symbols for the libc? My system is fully up to date!
Last edited by Interplanetary (2024-05-03 09:32:20)
Offline
Pages: 1