Displaying 3 results from an estimated 3 matches for "eb50108".
Did you mean:
750108
2018 Dec 02
0
[PATCH nbdkit 1/4] valgrind: Remove --child-silent-after-fork.
...e subprocess leaks memory because
we would need to properly ‘wait -n’ for the subprocess, which
tests/functions.sh does not do. However a message about the leak will
still get printed in the log.
---
wrapper.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/wrapper.c b/wrapper.c
index e5f74a2..eb50108 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -133,7 +133,6 @@ main (int argc, char *argv[])
passthru ("--error-exitcode=119");
passthru_format ("--suppressions=%s/valgrind-suppressions", srcdir);
passthru ("--trace-children=no");
- passthru ("--chil...
2018 Dec 02
0
[PATCH nbdkit 2/4] valgrind: Add --show-leak-kinds=all and comprehensive list of suppressions.
...LUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+
+# Perl leaks lots of memory by design.
+{
+ perl_1
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:perl_construct
+}
diff --git a/wrapper.c b/wrapper.c
index eb50108..3fd499b 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -130,8 +130,9 @@ main (int argc, char *argv[])
passthru (VALGRIND);
passthru ("--vgdb=no");
passthru ("--leak-check=full");
+ passthru ("--show-leak-kinds=all");
passthru ("--error-exitcode=...
2018 Dec 02
10
[PATCH nbdkit 0/4] Multiple valgrind improvements and possible security fix.
I worked out why valgrind wasn't being applied to nbdkit when run by
many of the tests (patches 1-2). Unfortunately I'm not able to make
it actually fail tests when valgrind fails. Although the situation is
marginally improved in that you can now manually examine the *.log
files and find valgrind failures that way. Also adds valgrinding of
the Python plugin (patch 3).
Along the way I