The short story: We have really too much leaks, everywhere:

Failed 33/57 test scripts, 42.11% okay. 291/903 subtests failed, 67.77% okay.

(A test is considered failing above, when it has more then 3 leaks (which are known to leak currently - the stdio handles))

The longer story:

Parrot has sice some time the command line option "--leak-test", which explicitely cleans (or should to) up all allocated interpreter structures.

I ran testyamd (available in Parrot root), which calls run-yamd:
  YAMD is Yet Another Malloc Debugger.
  It can be found at http://www3.hmc.edu/~neldredge/yamd/.
(this at least states the README)

$ valgrind --leak-check=yes --show-reachable=yes parrot ...
shows similar results, though there is currently no test wrapper available.

Here is the full report
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/op/conv.t 8 2048 12 8 66.67% 5-12
t/op/globals.t 1 256 2 1 50.00% 2
t/op/ifunless.t 2 512 6 2 33.33% 3 6
t/op/interp.t 4 1024 7 4 57.14% 1 4-6
t/op/lexicals.t 1 256 6 1 16.67% 5
t/op/macro.t 15 3840 16 15 93.75% 1-4 6-16
t/op/rx.t 7 1792 23 7 30.43% 8-9 12-14 21-22
t/op/stacks.t 18 4608 56 18 32.14% 6 12 17 23-24 26-28 40-41 43
45 51-56
t/op/string.t 24 6144 119 24 20.17% 12-13 20 24 28-29 33 59-63
71-72 77 81 83 87 94-95 98
110 113 116
t/op/time.t 1 256 4 1 25.00% 4
t/op/trans.t 18 4608 18 18 100.00% 1-18
t/op/types.t 1 256 2 1 50.00% 1
t/pmc/array.t 6 1536 12 6 50.00% 4-5 8-11
t/pmc/boolean.t 1 256 6 1 16.67% 3
t/pmc/env.t 3 768 5 3 60.00% 3-5
t/pmc/eval.t 3 768 3 3 100.00% 1-3
t/pmc/exception.t 17 4352 22 17 77.27% 3-4 6-14 16-17 19-22
t/pmc/intlist.t 2 512 9 2 22.22% 3-4
t/pmc/io.t 14 3584 20 14 70.00% 1-6 8-11 13 15 19-20
t/pmc/iter.t 8 2048 10 8 80.00% 2-9
t/pmc/multiarray.t 2 512 3 2 66.67% 2-3
t/pmc/nci.t 11 2816 11 11 100.00% 1-11
t/pmc/orderedhash.t 6 1536 10 6 60.00% 2-3 5-8
t/pmc/perlarray.t 6 1536 26 6 23.08% 5 15 22-25
t/pmc/perlhash.t 30 7680 30 30 100.00% 1-30
t/pmc/perlint.t 4 1024 18 4 22.22% 13-15 17
t/pmc/perlnum.t 27 6912 32 27 84.38% 1-16 21-22 24-32
t/pmc/perlstring.t 7 1792 17 7 41.18% 1-3 9 11 13-14
t/pmc/pmc.t 33 8448 75 33 44.00% 2-3 8 12 18-20 23-26 29-33
38 41-43 45-50 53 55 57 59
71 73 75
t/pmc/prop.t 1 256 6 1 16.67% 6
t/pmc/sarray.t 2 512 14 2 14.29% 2 11
t/pmc/scratchpad.t 5 1280 5 5 100.00% 1-5
t/pmc/timer.t 3 768 3 3 100.00% 1-3
14 subtests skipped.
Failed 33/57 test scripts, 42.11% okay. 291/903 subtests failed, 67.77% okay.


leo



Reply via email to