[Bug 1157450] New: perl-XML-LibXSLT-1.96 fails to build in i586
http://bugzilla.suse.com/show_bug.cgi?id=1157450 Bug ID: 1157450 Summary: perl-XML-LibXSLT-1.96 fails to build in i586 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: 32bit OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: pmonrealgonzalez@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The libxml2-2.9.10 update breaks perl-XML-LibXSLT-1.96 build in i586: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... Removing this commit in libxml2 builds fine: https://github.com/GNOME/libxml2/commit/0762c9b69ba01628f72eada1c64ff3d361fb... ===== Test failing: [ 60s] free(): invalid pointer [ 60s] t/10functions.t ........... [ 60s] Failed 32/39 subtests -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1157450 http://bugzilla.suse.com/show_bug.cgi?id=1157450#c1 Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmonrealgonzalez@suse.com Assignee|gnome-bugs@suse.de |pmonrealgonzalez@suse.com --- Comment #1 from Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> --- ===== GDB backtrace: gdb --args perl ./BUILD/XML-LibXSLT-1.96/t/10functions.t (gdb) run Starting program: /usr/bin/perl ./BUILD/XML-LibXSLT-1.96/t/10functions.t Missing separate debuginfos, use: zypper install glibc-debuginfo-2.30-1.2.i586 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". 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. free(): invalid pointer Program received signal SIGABRT, Aborted. 0xf7ce3499 in raise () from /lib/libc.so.6 (gdb) bt #0 0xf7ce3499 in raise () from /lib/libc.so.6 #1 0xf7ccb2c6 in abort () from /lib/libc.so.6 #2 0xf7d27c6c in __libc_message () from /lib/libc.so.6 #3 0xf7d2fe2f in malloc_printerr () from /lib/libc.so.6 #4 0xf7d33c8a in free_check () from /lib/libc.so.6 #5 0xf7d34afa in free () from /lib/libc.so.6 #6 0xf7b0e3a3 in xmlFreeNodeList () from /usr/lib/libxml2.so.2 #7 0xf799a681 in xsltReleaseRVT (RVT=0x56f32c90, ctxt=0x56f2ef70) at variables.c:367 #8 xsltReleaseRVT (ctxt=0x56f2ef70, RVT=0x56f32c90) at variables.c:347 #9 0xf7982f2f in xsltReleaseLocalRVTs (ctxt=ctxt@entry=0x56f2ef70, base=0x0) at transform.c:2315 #10 0xf79835b4 in xsltApplySequenceConstructor (ctxt=ctxt@entry=0x56f2ef70, contextNode=contextNode@entry=0x56f2c630, list=list@entry=0x56856c40, templ=0x568595a0) at transform.c:2915 #11 0xf79862d8 in xsltApplyXSLTTemplate (ctxt=ctxt@entry=0x56f2ef70, contextNode=contextNode@entry=0x56f2c630, list=0x56856c40, templ=0x568595a0, withParams=0x0) at transform.c:3231 #12 0xf7987296 in xsltProcessOneNode (ctxt=0x56f2ef70, contextNode=0x56f2c630, withParams=0x0) at transform.c:2204 #13 0xf79887ef in xsltApplyStylesheetInternal (style=0x568584f0, doc=0x56f2c630, params=0xffffd400, output=<optimized out>, profile=<optimized out>, userCtxt=<optimized out>) at transform.c:6052 #14 0xf79c9d32 in ?? () from /usr/lib/perl5/vendor_perl/5.30.1/i586-linux-thread-multi/auto/XML/LibXSLT/LibXSLT.so #15 0x566435a8 in Perl_pp_entersub (my_perl=0x56834010) at pp_hot.c:5237 #16 0x56639dc9 in Perl_runops_standard (my_perl=0x56834010) at run.c:42 #17 0x565a9ec1 in S_run_body (oldscope=<optimized out>, my_perl=<optimized out>) at perl.c:2716 #18 perl_run (my_perl=0x56834010) at perl.c:2639 #19 0x56580444 in main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>) at perlmain.c:127 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1157450 http://bugzilla.suse.com/show_bug.cgi?id=1157450#c2 --- Comment #2 from Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> --- ===== 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: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1157450 http://bugzilla.suse.com/show_bug.cgi?id=1157450#c3 --- Comment #3 from Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> --- Reported upstream: https://github.com/shlomif/perl-XML-LibXSLT/issues/2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1157450 http://bugzilla.suse.com/show_bug.cgi?id=1157450#c4 Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> --- Fixed in the update to XML-LibXSLT-1.96. Closing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1157450 http://bugzilla.suse.com/show_bug.cgi?id=1157450#c5 --- Comment #5 from Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> --- (In reply to Pedro Monreal Gonzalez from comment #4)
Fixed in the update to XML-LibXSLT-1.96. Closing.
I wanted to say in XML-LibXSLT-1.99. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com