https://bugs.kde.org/show_bug.cgi?id=488379
Bug ID: 488379 Summary: --track-fds=yes generates errors that cannot be suppressed Classification: Developer tools Product: valgrind Version: 3.23.0 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: arnaud.desit...@gmail.com Target Milestone: --- Using valgrind 3.23 built from source on Linux: $ /usr/local/bin/valgrind --version valgrind-3.23.0 # testing /usr/bin/true without --track-fds=yes $ /usr/local/bin/valgrind --xml=yes --xml-file=xxx --gen-suppressions=all --error-exitcode=111 /usr/bin/true && echo ok || echo fail ok # testing /usr/bin/true with --track-fds=yes $ /usr/local/bin/valgrind --track-fds=yes --xml=yes --xml-file=xxx --gen-suppressions=all --error-exitcode=111 /usr/bin/true && echo ok || echo fail ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) ==21042== (No origin, error cannot be suppressed) fail xxx contains most notably: <error> <unique>0x4</unique> <tid>1</tid> <threadname>true</threadname> <kind>FdNotClosed</kind> <fd>3</fd> <path>.../xxx</path> <what>Open file descriptor 3: ../xxx</what> </error> This relates to the file opened by valgrind itself. So using "--track-fds=yes --xml=yes --xml-file=xxx --error-exitcode=111" results in a non zero error code returned. There is no way I can see to suppress the error using a suppression file. "--gen-suppressions=all" results in "==xxxx== (No origin, error cannot be suppressed)" The new feature added in valgrind 3.23 by https://bugs.kde.org/show_bug.cgi?id=328563 does not work properly when using "--xml=yes --xml-file=filename" and "--error-exitcode=non-zero-error-code". -- You are receiving this mail because: You are watching all bug changes.