https://bugs.kde.org/show_bug.cgi?id=467714
Bug ID: 467714 Summary: fdleak_* and rlimit tests fail when parent process has more than 64 descriptors opened. Classification: Developer tools Product: valgrind Version: 3.19.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: jch...@redhat.com Target Milestone: --- We found out that none/tests/fdleak_* and note/tests/rlimit{,64}_nofile tests fail if the parent process has more than 64 opened file descriptors. These tests starts by closing all the inherited descriptors to have a known state at start/end of the test by calling. However this macro only closes the range [3,64] as defined in none/tests/fdleak.h: #define CLOSE_INHERITED_FDS { int i; for (i = 3; i < 64; i++) close(i); } It would be great to close up to MAXFDS instead. -- You are receiving this mail because: You are watching all bug changes.