https://bugs.kde.org/show_bug.cgi?id=513403

--- Comment #2 from Paul Floyd <[email protected]> ---
Reproduced the error.

For me, I see plenty of kevent syscall param errors on FreeBSD. Need to check
that the wrapper is doing its job.

For the error itself, the problem is that cwd has changed to the pgdata
directory.

-61399:0:    main Getting the working directory at startup
--61399:0:    main ... /tmp/vg_repro/pgdata
==61399== Memcheck, a memory error detector
==61399== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==61399== Using Valgrind-3.27.0.GIT and LibVEX; rerun with -h for copyright
info
==61399== Command: /bin/sh -c /usr/bin/true
==61399== 
==61399== FATAL: can't open suppressions file
"postgresql/src/tools/valgrind.supp"

Looking at the potgresql code I see several calls to ChangeToDataDir().

If it is doing a fork(), ChangeToDataDir(), exec() then that would explain what
we are seeing.

I'm not sure that we can do much. Possibly change the suppressions path to
absolute before any exec?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to