https://bugs.kde.org/show_bug.cgi?id=470713
--- Comment #4 from Paul Floyd <pjfl...@wanadoo.fr> --- commit 840ccb9915c675fd7db527107e6b38343fafdf86 (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd <pjfl...@wanadoo.fr> Date: Wed Jun 7 22:27:08 2023 +0200 Bug 470713 - Failure on the Yosys project: valgrind: m_libcfile.c:1802 (Bool vgPlain_realpath(const HChar *, HChar *)): Assertion 'resolved' failed When using sysctl kern proc pathname with the pid of the guest or -1 we need to intercept the call otherwise the syscall will return the path of the memcheck tool and not the path of the guest. This uses VG_(realpath), which asserts if it doesn't get valid input pointers. sysctl kern proc pathname can use a NULL pointer in order to determine the length of the path (so users can allocate the minumum necessary). The NULL pointer was being passed on to VG_(realpath) without being checked, resulting in an assert. -- You are receiving this mail because: You are watching all bug changes.