Comment # 2 on bug 1157450 from
===== Valgrind output:

valgrind perl ./BUILD/XML-LibXSLT-1.96/t/10functions.t
==30986== Memcheck, a memory error detector
==30986== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30986== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==30986== Command: perl ./BUILD/XML-LibXSLT-1.96/t/10functions.t
==30986== 
1..39
ok 1 - $parser was initted
ok 2 - $xslt was initted
ok 3 - $style is true
ok 4 - urn:foo was reached.
ok 5 - urn:foo was reached.
ok 6 - urn:foo was reached.
ok 7 - urn:foo was reached.
==30986== Invalid free() / delete / delete[] / realloc()
==30986==    at 0x48368CC: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==30986==    by 0x61423A2: UnknownInlinedFun (tree.c:3710)
==30986==    by 0x61423A2: xmlFreeNodeList (tree.c:3665)
==30986==    by 0x6679680: UnknownInlinedFun (variables.c:367)
==30986==    by 0x6679680: xsltReleaseRVT (variables.c:347)
==30986==    by 0x6661F2E: xsltReleaseLocalRVTs (transform.c:2315)
==30986==    by 0x66625B3: xsltApplySequenceConstructor (transform.c:2915)
==30986==    by 0x66652D7: xsltApplyXSLTTemplate (transform.c:3231)
==30986==    by 0x6666295: xsltProcessOneNode (transform.c:2204)
==30986==    by 0x66677EE: xsltApplyStylesheetInternal (transform.c:6052)
==30986==    by 0x6649D31: XS_XML__LibXSLT__Stylesheet_transform
(LibXSLT.xs:1087)
==30986==    by 0x1F65A7: Perl_pp_entersub (pp_hot.c:5237)
==30986==    by 0x1ECDC8: Perl_runops_standard (run.c:41)
==30986==    by 0x15CEC0: S_run_body (perl.c:2716)
==30986==    by 0x15CEC0: perl_run (perl.c:2639)
==30986==  Address 0xffffffff is not stack'd, malloc'd or (recently) free'd
==30986== 
ok 8 - First argument is a NodeList
ok 9 - First argument is a NodeList
ok 10 - No arguments were received.
ok 11 - No arguments were received.
ok 12 - $results is true.
ok 13 - Matches Foo!
ok 14 - Matches NodeList
ok 15 - $style is true - 2
ok 16 - $results is true - 2 (1)
ok 17 - Matches li-one - 1
ok 18 - Output matches multiple lis - 1
ok 19 - $results is true - 2 (2)
ok 20 - Matches li-one - 2
ok 21 - Output matches multiple lis - 2
ok 22 - $results is true - 2 (3)
ok 23 - Matches li-one - 3
ok 24 - Output matches multiple lis - 3
ok 25 - $results is true - 2 (4)
ok 26 - Matches li-one - 4
ok 27 - Output matches multiple lis - 4
ok 28 - $results is true - 2 (5)
ok 29 - Matches li-one - 5
ok 30 - Output matches multiple lis - 5
ok 31 - Results serialize matches text.
ok 32 - Results serialize matches text - 2.
ok 33 - result is right.
ok 34 - val is true.
ok 35 - val has the right value.
ok 36 - contextual register_function
ok 37 - contextual register_element
==30986== Invalid free() / delete / delete[] / realloc()
==30986==    at 0x48368CC: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==30986==    by 0x61423A2: UnknownInlinedFun (tree.c:3710)
==30986==    by 0x61423A2: xmlFreeNodeList (tree.c:3665)
==30986==    by 0x6141F6E: xmlFreeDoc (tree.c:1253)
==30986==    by 0x666D5D8: xsltFreeRVTs (variables.c:484)
==30986==    by 0x6666E67: UnknownInlinedFun (transform.c:754)
==30986==    by 0x6666E67: xsltFreeTransformContext (transform.c:721)
==30986==    by 0x6649D7E: XS_XML__LibXSLT__Stylesheet_transform
(LibXSLT.xs:1105)
==30986==    by 0x1F65A7: Perl_pp_entersub (pp_hot.c:5237)
==30986==    by 0x1ECDC8: Perl_runops_standard (run.c:41)
==30986==    by 0x15CEC0: S_run_body (perl.c:2716)
==30986==    by 0x15CEC0: perl_run (perl.c:2639)
==30986==    by 0x133443: main (perlmain.c:127)
==30986==  Address 0xffffffff is not stack'd, malloc'd or (recently) free'd
==30986== 
ok 38 - GNOME Bugzilla bug \#562302
ok 39 - Reached here.
==30986== 
==30986== HEAP SUMMARY:
==30986==     in use at exit: 6,610,890 bytes in 45,654 blocks
==30986==   total heap usage: 135,571 allocs, 89,919 frees, 16,741,719 bytes
allocated
==30986== 
==30986== LEAK SUMMARY:
==30986==    definitely lost: 13,618 bytes in 36 blocks
==30986==    indirectly lost: 67,784 bytes in 38 blocks
==30986==      possibly lost: 6,511,953 bytes in 45,513 blocks
==30986==    still reachable: 17,535 bytes in 67 blocks
==30986==                       of which reachable via heuristic:
==30986==                         newarray           : 27,272 bytes in 1,668
blocks
==30986==         suppressed: 0 bytes in 0 blocks
==30986== Rerun with --leak-check=full to see details of leaked memory
==30986== 
==30986== For lists of detected and suppressed errors, rerun with: -s
==30986== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)


You are receiving this mail because: