RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1766698 - perl crash in 90threads.t of XML::LibXML
Summary: perl crash in 90threads.t of XML::LibXML
Keywords:
Status: CLOSED DUPLICATE of bug 1615923
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl-XML-LibXML
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact: RHEL Stacks Subsystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-29 16:58 UTC by Martin Kyral
Modified: 2019-11-21 15:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-21 15:16:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Kyral 2019-10-29 16:58:56 UTC
Description of problem:
/distribution/rebuild test failed for perl-XML-LibXML on ppc64le due to the following crash in the 90threads.t test of the package in question. Subsequent rerun of the test on ppc64le passed.
I noticed the crash on the ppc64le architecture only, but given the random nature of the crash I can not exclude the possibility of of it on other architectures as well.

t/71overloads.t ...................... ok
t/72destruction.t .................... ok
t/80registryleak.t ................... ok
PmmREFCNT_dec: REFCNT decremented below 0 for 1000ab533c0! at t/90threads.t line 137.
*** Error in `/usr/bin/perl': corrupted size vs. prev_size: 0x000001000ab532d0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x937a8)[0x3fff7aef37a8]
/lib64/libc.so.6(cfree+0x8f0)[0x3fff7aefa050]
/usr/lib64/perl5/vendor_perl/auto/threads/threads.so(+0x2f24)[0x3fff7ae02f24]
/usr/lib64/perl5/vendor_perl/auto/threads/threads.so(ithread_mg_free+0x44)[0x3fff7ae030d4]
/usr/lib64/perl5/CORE/libperl.so(+0xe7bc8)[0x3fff7b3a7bc8]
/usr/lib64/perl5/CORE/libperl.so(Perl_sv_unmagic+0x38)[0x3fff7b3a7db8]
/usr/lib64/perl5/vendor_perl/auto/threads/threads.so(+0x3f34)[0x3fff7ae03f34]
/usr/lib64/perl5/CORE/libperl.so(Perl_pp_entersub+0x654)[0x3fff7b39bdb4]
/usr/lib64/perl5/CORE/libperl.so(Perl_call_sv+0x738)[0x3fff7b315d78]
/usr/lib64/perl5/CORE/libperl.so(+0xe5e04)[0x3fff7b3a5e04]
/usr/lib64/perl5/CORE/libperl.so(Perl_sv_clear+0x610)[0x3fff7b3a6a00]
/usr/lib64/perl5/CORE/libperl.so(Perl_sv_free2+0x70)[0x3fff7b3a70f0]
/usr/lib64/perl5/CORE/libperl.so(Perl_free_tmps+0xac)[0x3fff7b3d2d4c]
/usr/lib64/perl5/CORE/libperl.so(Perl_pp_nextstate+0xb4)[0x3fff7b393534]
/usr/lib64/perl5/CORE/libperl.so(Perl_runops_standard+0x38)[0x3fff7b392c58]
/usr/lib64/perl5/CORE/libperl.so(perl_run+0x32c)[0x3fff7b31bb4c]
/usr/bin/perl[0x10000e58]
/lib64/libc.so.6(+0x25100)[0x3fff7ae85100]
/lib64/libc.so.6(__libc_start_main+0xc4)[0x3fff7ae852f4]
======= Memory map: ========
10000000-10010000 r-xp 00000000 fd:00 100664548                          /usr/bin/perl
10010000-10020000 r--p 00000000 fd:00 100664548                          /usr/bin/perl
10020000-10030000 rw-p 00010000 fd:00 100664548                          /usr/bin/perl
100082f0000-10010c30000 rw-p 00000000 00:00 0                            [heap]
3ffec0000000-3ffec0030000 rw-p 00000000 00:00 0 
3ffec0030000-3ffec4000000 ---p 00000000 00:00 0 
3ffec8000000-3ffec8030000 rw-p 00000000 00:00 0 
3ffec8030000-3ffecc000000 ---p 00000000 00:00 0 
3ffecc000000-3ffecc030000 rw-p 00000000 00:00 0 
3ffecc030000-3ffed0000000 ---p 00000000 00:00 0 
3ffed0000000-3ffed0030000 rw-p 00000000 00:00 0 
3ffed0030000-3ffed4000000 ---p 00000000 00:00 0 
3ffed4000000-3ffed4030000 rw-p 00000000 00:00 0 
3ffed4030000-3ffed8000000 ---p 00000000 00:00 0 
3ffed8000000-3ffed8030000 rw-p 00000000 00:00 0 
3ffed8030000-3ffedc000000 ---p 00000000 00:00 0 
3ffedefe0000-3ffedeff0000 ---p 00000000 00:00 0 
3ffedeff0000-3ffedf7f0000 rw-p 00000000 00:00 0 
3ffedf7f0000-3ffedf800000 ---p 00000000 00:00 0 
3ffedf800000-3ffee0000000 rw-p 00000000 00:00 0 
3ffee0000000-3ffee0030000 rw-p 00000000 00:00 0 
3ffee0030000-3ffee4000000 ---p 00000000 00:00 0 
3ffee4000000-3ffee4030000 rw-p 00000000 00:00 0 
3ffee4030000-3ffee8000000 ---p 00000000 00:00 0 
3ffee8000000-3ffee8030000 rw-p 00000000 00:00 0 
3ffee8030000-3ffeec000000 ---p 00000000 00:00 0 
3ffeec000000-3ffeec030000 rw-p 00000000 00:00 0 
3ffeec030000-3ffef0000000 ---p 00000000 00:00 0 
3ffef0000000-3ffef0030000 rw-p 00000000 00:00 0 
3ffef0030000-3ffef4000000 ---p 00000000 00:00 0 
3ffef4000000-3ffef4030000 rw-p 00000000 00:00 0 
3ffef4030000-3ffef8000000 ---p 00000000 00:00 0 
3ffef8000000-3ffef8030000 rw-p 00000000 00:00 0 
3ffef8030000-3ffefc000000 ---p 00000000 00:00 0 
3ffefc000000-3ffefc030000 rw-p 00000000 00:00 0 
3ffefc030000-3fff00000000 ---p 00000000 00:00 0 
3fff00790000-3fff007a0000 ---p 00000000 00:00 0 
3fff007a0000-3fff00fa0000 rw-p 00000000 00:00 0 
3fff00fa0000-3fff00fb0000 ---p 00000000 00:00 0 
3fff00fb0000-3fff017b0000 rw-p 00000000 00:00 0 
3fff04000000-3fff04030000 rw-p 00000000 00:00 0 
3fff04030000-3fff08000000 ---p 00000000 00:00 0 
3fff08000000-3fff08030000 rw-p 00000000 00:00 0 
3fff08030000-3fff0c000000 ---p 00000000 00:00 0 
3fff0c000000-3fff0c030000 rw-p 00000000 00:00 0 
3fff0c030000-3fff10000000 ---p 00000000 00:00 0 
3fff10000000-3fff10030000 rw-p 00000000 00:00 0 
3fff10030000-3fff14000000 ---p 00000000 00:00 0 
3fff14000000-3fff14030000 rw-p 00000000 00:00 0 
3fff14030000-3fff18000000 ---p 00000000 00:00 0 
3fff18000000-3fff18030000 rw-p 00000000 00:00 0 
3fff18030000-3fff1c000000 ---p 00000000 00:00 0 
3fff1c000000-3fff1c030000 rw-p 00000000 00:00 0 
3fff1c030000-3fff20000000 ---p 00000000 00:00 0 
3fff20000000-3fff20030000 rw-p 00000000 00:00 0 
3fff20030000-3fff24000000 ---p 00000000 00:00 0 
3fff28000000-3fff28030000 rw-p 00000000 00:00 0 
3fff28030000-3fff2c000000 ---p 00000000 00:00 0 
3fff2c000000-3fff2c030000 rw-p 00000000 00:00 0 
3fff2c030000-3fff30000000 ---p 00000000 00:00 0 
3fff30000000-3fff30030000 rw-p 00000000 00:00 0 
3fff30030000-3fff34000000 ---p 00000000 00:00 0 
3fff34000000-3fff34030000 rw-p 00000000 00:00 0 
3fff34030000-3fff38000000 ---p 00000000 00:00 0 
3fff38000000-3fff38030000 rw-p 00000000 00:00 0 
3fff38030000-3fff3c000000 ---p 00000000 00:00 0 
3fff40000000-3fff40030000 rw-p 00000000 00:00 0 
3fff40030000-3fff44000000 ---p 00000000 00:00 0 
3fff44000000-3fff44030000 rw-p 00000000 00:00 0 
3fff44030000-3fff48000000 ---p 00000000 00:00 0 
3fff48000000-3fff48030000 rw-p 00000000 00:00 0 
3fff48030000-3fff4c000000 ---p 00000000 00:00 0 
3fff4c000000-3fff4c030000 rw-p 00000000 00:00 0 
3fff4c030000-3fff50000000 ---p 00000000 00:00 0 
3fff50000000-3fff50030000 rw-p 00000000 00:00 0 
3fff50030000-3fff54000000 ---p 00000000 00:00 0 
3fff54000000-3fff54030000 rw-p 00000000 00:00 0 
3fff54030000-3fff58000000 ---p 00000000 00:00 0 
3fff58000000-3fff58030000 rw-p 00000000 00:00 0 
3fff58030000-3fff5c000000 ---p 00000000 00:00 0 
3fff5c000000-3fff5c030000 rw-p 00000000 00:00 0 
3fff5c030000-3fff60000000 ---p 00000000 00:00 0 
3fff60000000-3fff60030000 rw-p 00000000 00:00 0 
3fff60030000-3fff64000000 ---p 00000000 00:00 0 
3fff64000000-3fff64030000 rw-p 00000000 00:00 0 
3fff64030000-3fff68000000 ---p 00000000 00:00 0 
3fff68000000-3fff68030000 rw-p 00000000 00:00 0 
3fff68030000-3fff6c000000 ---p 00000000 00:00 0 
3fff6c000000-3fff6c030000 rw-p 00000000 00:00 0 
3fff6c030000-3fff70000000 ---p 00000000 00:00 0 
3fff70000000-3fff70030000 rw-p 00000000 00:00 0 
3fff70030000-3fff74000000 ---p 00000000 00:00 0 
3fff7a930000-3fff7a940000 r-xp 00000000 fd:00 33591091                   /usr/lib64/perl5/auto/Fcntl/Fcntl.so
3fff7a940000-3fff7a950000 r--p 00000000 fd:00 33591091                   /usr/lib64/perl5/auto/Fcntl/Fcntl.so
3fff7a950000-3fff7a960000 rw-p 00000000 00:00 0 
3fff7a960000-3fff7a970000 r-xp 00000000 fd:00 48287                      /usr/lib64/perl5/auto/attributes/attributes.so
3fff7a970000-3fff7a980000 r--p 00000000 fd:00 48287                      /usr/lib64/perl5/auto/attributes/attributes.so
3fff7a980000-3fff7a990000 rw-p 00000000 00:00 0 
3fff7a990000-3fff7a9d0000 r-xp 00000000 fd:00 45967                      /usr/lib64/liblzma.so.5.2.2
3fff7a9d0000-3fff7a9e0000 r--p 00030000 fd:00 45967                      /usr/lib64/liblzma.so.5.2.2
3fff7a9e0000-3fff7a9f0000 rw-p 00000000 00:00 0 
3fff7a9f0000-3fff7aa10000 r-xp 00000000 fd:00 45961                      /usr/lib64/libz.so.1.2.7
3fff7aa10000-3fff7aa20000 r--p 00010000 fd:00 45961                      /usr/lib64/libz.so.1.2.7
3fff7aa20000-3fff7aa30000 rw-p 00020000 fd:00 45961                      /usr/lib64/libz.so.1.2.7
3fff7aa30000-3fff7ac50000 r-xp 00000000 fd:00 46005                      /usr/lib64/libxml2.so.2.9.1
3fff7ac50000-3fff7ac60000 r--p 00210000 fd:00 46005                      /usr/lib64/libxml2.so.2.9.1
3fff7ac60000-3fff7ac70000 rw-p 00220000 fd:00 46005                      /usr/lib64/libxml2.so.2.9.1
3fff7ac70000-3fff7acf0000 r-xp 00000000 fd:00 34661324                   /home/rebuild-perl-XML-LibXML/rpmbuild/BUILD/XML-LibXML-2.0018/blib/arch/auto/XML/LibXML/LibXML.so
3fff7acf0000-3fff7ad00000 r--p 00070000 fd:00 34661324                   /home/rebuild-perl-XML-LibXML/rpmbuild/BUILD/XML-LibXML-2.0018/blib/arch/auto/XML/LibXML/LibXML.so
3fff7ad00000-3fff7ad10000 rw-p 00000000 00:00 0 
3fff7ad10000-3fff7ad20000 r-xp 00000000 fd:00 100682726                  /usr/lib64/perl5/auto/IO/IO.so
3fff7ad20000-3fff7ad30000 r--p 00000000 fd:00 100682726                  /usr/lib64/perl5/auto/IO/IO.so
3fff7ad30000-3fff7ad40000 rw-p 00000000 00:00 0 
3fff7ad40000-3fff7ad50000 r-xp 00000000 fd:00 67366502                   /usr/lib64/perl5/vendor_perl/auto/Data/Dumper/Dumper.so
3fff7ad50000-3fff7ad60000 r--p 00000000 fd:00 67366502                   /usr/lib64/perl5/vendor_perl/auto/Data/Dumper/Dumper.so
3fff7ad60000-3fff7ad70000 rw-p 00000000 00:00 0 
3fff7ad70000-3fff7ad80000 r-xp 00000000 fd:00 67201591                   /usr/lib64/perl5/vendor_perl/auto/Encode/Encode.so
3fff7ad80000-3fff7ad90000 r--p 00000000 fd:00 67201591                   /usr/lib64/perl5/vendor_perl/auto/Encode/Encode.so
3fff7ad90000-3fff7ada0000 rw-p 00000000 00:00 0 
3fff7ada0000-3fff7adb0000 r-xp 00000000 fd:00 67201615                   /usr/lib64/perl5/vendor_perl/auto/threads/shared/shared.so
3fff7adb0000-3fff7adc0000 r--p 00000000 fd:00 67201615                   /usr/lib64/perl5/vendor_perl/auto/threads/shared/shared.so
3fff7adc0000-3fff7add0000 rw-p 00010000 fd:00 67201615                   /usr/lib64/perl5/vendor_perl/auto/threads/shared/shared.so
3fff7add0000-3fff7ade0000 r-xp 00000000 fd:00 33591024                   /usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so
3fff7ade0000-3fff7adf0000 r--p 00000000 fd:00 33591024                   /usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so
3fff7adf0000-3fff7ae00000 rw-p 00000000 00:00 0 
3fff7ae00000-3fff7ae10000 r-xp 00000000 fd:00 67201597                   /usr/lib64/perl5/vendor_perl/auto/threads/threads.so
3fff7ae10000-3fff7ae20000 r--p 00000000 fd:00 67201597                   /usr/lib64/perl5/vendor_perl/auto/threads/threads.so
3fff7ae20000-3fff7ae30000 rw-p 00010000 fd:00 67201597                   /usr/lib64/perl5/vendor_perl/auto/threads/threads.so
3fff7ae30000-3fff7ae40000 r-xp 00000000 fd:00 45525                      /usr/lib64/libfreebl3.so
3fff7ae40000-3fff7ae50000 r--p 00000000 fd:00 45525                      /usr/lib64/libfreebl3.so
3fff7ae50000-3fff7ae60000 rw-p 00000000 00:00 0 
3fff7ae60000-3fff7b030000 r-xp 00000000 fd:00 45803                      /usr/lib64/libc-2.17.so
3fff7b030000-3fff7b040000 r--p 001c0000 fd:00 45803                      /usr/lib64/libc-2.17.so
3fff7b040000-3fff7b050000 rw-p 001d0000 fd:00 45803                      /usr/lib64/libc-2.17.so
3fff7b050000-3fff7b070000 r-xp 00000000 fd:00 45829                      /usr/lib64/libpthread-2.17.so
3fff7b070000-3fff7b080000 r--p 00010000 fd:00 45829                      /usr/lib64/libpthread-2.17.so
3fff7b080000-3fff7b090000 rw-p 00020000 fd:00 45829                      /usr/lib64/libpthread-2.17.so
3fff7b090000-3fff7b0a0000 r-xp 00000000 fd:00 45837                      /usr/lib64/libutil-2.17.so
3fff7b0a0000-3fff7b0b0000 r--p 00000000 fd:00 45837                      /usr/lib64/libutil-2.17.so
3fff7b0b0000-3fff7b0c0000 rw-p 00000000 00:00 0 
3fff7b0c0000-3fff7b0d0000 r-xp 00000000 fd:00 45807                      /usr/lib64/libcrypt-2.17.so
3fff7b0d0000-3fff7b0e0000 r--p 00000000 fd:00 45807                      /usr/lib64/libcrypt-2.17.so
3fff7b0e0000-3fff7b110000 rw-p 00000000 00:00 0 
3fff7b110000-3fff7b1e0000 r-xp 00000000 fd:00 45811                      /usr/lib64/libm-2.17.so
3fff7b1e0000-3fff7b1f0000 r--p 000c0000 fd:00 45811                      /usr/lib64/libm-2.17.so
3fff7b1f0000-3fff7b200000 rw-p 000d0000 fd:00 45811                      /usr/lib64/libm-2.17.so
3fff7b200000-3fff7b210000 r-xp 00000000 fd:00 45809                      /usr/lib64/libdl-2.17.so
3fff7b210000-3fff7b220000 r--p 00000000 fd:00 45809                      /usr/lib64/libdl-2.17.so
3fff7b220000-3fff7b230000 rw-p 00000000 00:00 0 
3fff7b230000-3fff7b250000 r-xp 00000000 fd:00 45813                      /usr/lib64/libnsl-2.17.so
3fff7b250000-3fff7b260000 r--p 00010000 fd:00 45813                      /usr/lib64/libnsl-2.17.so
3fff7b260000-3fff7b270000 rw-p 00000000 00:00 0 
3fff7b270000-3fff7b290000 r-xp 00000000 fd:00 45831                      /usr/lib64/libresolv-2.17.so
3fff7b290000-3fff7b2a0000 r--p 00010000 fd:00 45831                      /usr/lib64/libresolv-2.17.so
3fff7b2a0000-3fff7b2b0000 rw-p 00020000 fd:00 45831                      /usr/lib64/libresolv-2.17.so
3fff7b2b0000-3fff7b2c0000 rw-p 00000000 00:00 0 
3fff7b2c0000-3fff7b480000 r-xp 00000000 fd:00 33555057                   /usr/lib64/perl5/CORE/libperl.so
3fff7b480000-3fff7b490000 ---p 001c0000 fd:00 33555057                   /usr/lib64/perl5/CORE/libperl.so
3fff7b490000-3fff7b4a0000 r--p 001c0000 fd:00 33555057                   /usr/lib64/perl5/CORE/libperl.so
3fff7b4a0000-3fff7b4b0000 rw-p 001d0000 fd:00 33555057                   /usr/lib64/perl5/CORE/libperl.so
3fff7b4b0000-3fff7b4d0000 r-xp 00000000 00:00 0                          [vdso]
3fff7b4d0000-3fff7b500000 r-xp 00000000 fd:00 45796                      /usr/lib64/ld-2.17.so
3fff7b500000-3fff7b510000 r--p 00020000 fd:00 45796                      /usr/lib64/ld-2.17.so
3fff7b510000-3fff7b520000 rw-p 00030000 fd:00 45796                      /usr/lib64/ld-2.17.so
3fffe7e00000-3fffe7e30000 rw-p 00000000 00:00 0                          [stack]
t/90threads.t ........................ 
Failed 17/24 subtests 
t/pod.t .............................. ok
t/style-trailing-space.t ............. skipped: Test::TrailingSpace required for trailing space test.

Test Summary Report
-------------------
t/90threads.t                      (Wstat: 6 Tests: 7 Failed: 0)
  Non-zero wait status: 6
  Parse errors: Bad plan.  You planned 24 tests but ran 7.
Files=60, Tests=2471, 51 wallclock secs ( 0.36 usr  0.07 sys + 54.10 cusr 20.88 csys = 75.41 CPU)
Result: FAIL
Failed 1/60 test programs.


Version-Release number of selected component (if applicable):
perl-5.16.3-295.el7

How reproducible:
randomly

Steps to Reproduce:
1. rebuild perl-XML-LibXML package
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Petr Pisar 2019-10-30 11:14:24 UTC
This is a known bug #1224731. The test crashes randomly because the module is not thread-safe. A correct fix is to remove the t/90threads.t test because thread-safeness is not a supported feature by the upstream.

Comment 4 Petr Pisar 2019-11-21 15:16:21 UTC

*** This bug has been marked as a duplicate of bug 1615923 ***


Note You need to log in before you can comment on or make changes to this bug.