From: Paul Floyd Date: Sat, 17 Jan 2026 20:43:36 +0000 (+0100) Subject: Bug 514762 - Many "Bad file descriptor" messages when using --track-fds=yes and ... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed41469979c674ef8229cd7cf818fc3c27ead23c;p=thirdparty%2Fvalgrind.git Bug 514762 - Many "Bad file descriptor" messages when using --track-fds=yes and -d on systems without /proc Just a one-line deletion in the end. --- diff --git a/NEWS b/NEWS index 06ef1c82c..1c93e1345 100644 --- a/NEWS +++ b/NEWS @@ -71,6 +71,8 @@ are not entered into bugzilla tend to get forgotten about or ignored. 514094 readlink("/proc/self/exe") overwrites buffer beyond its return value 514613 Unclosed leak_summary/still_reachable tag in xml output 514659 ltp 20250930 vs linux 6.18.3 doesn't build +514762 Many "Bad file descriptor" messages when using --track-fds=yes and + -d on systems without /proc To see details of a given bug, visit https://bugs.kde.org/show_bug.cgi?id=XXXXXX diff --git a/coregrind/m_libcfile.c b/coregrind/m_libcfile.c index aecc5404b..49abe4c17 100644 --- a/coregrind/m_libcfile.c +++ b/coregrind/m_libcfile.c @@ -808,7 +808,6 @@ Int VG_(fcntl) ( Int fd, Int cmd, Addr arg ) # error "Unknown OS" # endif if (sr_isError(res)) { - VG_(debugLog)(1, "VG_(fcntl)", "fcntl cmd %d error %lu %s\n", cmd, sr_Err(res), VG_(strerror)(sr_Err(res))); return -1; } return (Int)sr_Res(res);