Bug 2280697 - tests failing, crashing
Summary: tests failing, crashing
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-XML-LibXSLT
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-15 18:45 UTC by Don
Modified: 2024-05-16 10:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-16 10:32:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Don 2024-05-15 18:45:43 UTC
$ dnf info perl-XML-LibXSLT
Last metadata expiration check: 0:00:14 ago on Wed 15 May 2024 02:42:44 PM EDT.
Installed Packages
Name         : perl-XML-LibXSLT
Version      : 2.002.001
Release      : 5.fc40
Architecture : x86_64
Size         : 141 k
Source       : perl-XML-LibXSLT-2.002.001-5.fc40.src.rpm
Repository   : @System
From repo    : fedora
Summary      : Perl module for interfacing to GNOME's libxslt
URL          : https://metacpan.org/release/XML-LibXSLT
License      : ( GPL-1.0-or-later OR Artistic-1.0-Perl ) AND MIT
Description  : This module is a fast XSLT library, based on the Gnome libxslt engine
             : that you can find at http://www.xmlsoft.org/XSLT/


perl -MXML::LibXSLT -e 'print $INC{"XML/LibXSLT.pm"}'
/usr/lib64/perl5/vendor_perl/XML/LibXSLT.pm


$ perl 06output.t 
1..28
ok 1 -  TODO : Add test name
ok 2 -  TODO : Add test name
ok 3 -  TODO : Add test name
ok 4 -  TODO : Add test name
ok 5 -  TODO : Add test name
ok 6 -  TODO : Add test name
ok 7 -  TODO : Add test name
ok 8 -  TODO : Add test name
ok 9 -  TODO : Add test name
ok 10 -  TODO : Add test name
ok 11 -  TODO : Add test name
ok 12 -  TODO : Add test name
ok 13 -  TODO : Add test name
ok 14 -  TODO : Add test name
ok 15 -  TODO : Add test name
ok 16 -  TODO : Add test name
ok 17 -  TODO : Add test name
ok 18 -  TODO : Add test name
ok 19 -  TODO : Add test name
ok 20 -  TODO : Add test name
Segmentation fault (core dumped)



Tests run via cpan
Test Summary Report
-------------------
t/02dromeds.t           (Wstat: 134 (Signal: ABRT, dumped core) Tests: 6 Failed: 0)
  Non-zero wait status: 134
t/03input.t             (Wstat: 139 (Signal: SEGV, dumped core) Tests: 7 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 28 tests but ran 7.
t/04params.t            (Wstat: 139 (Signal: SEGV, dumped core) Tests: 5 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 7 tests but ran 5.
t/05quick.t             (Wstat: 134 (Signal: ABRT, dumped core) Tests: 4 Failed: 0)
  Non-zero wait status: 134
  Parse errors: Bad plan.  You planned 12 tests but ran 4.
t/06entities.t          (Wstat: 139 (Signal: SEGV, dumped core) Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/06output.t            (Wstat: 139 (Signal: SEGV, dumped core) Tests: 28 Failed: 0)
  Non-zero wait status: 139
t/09exslt.t             (Wstat: 139 (Signal: SEGV, dumped core) Tests: 6 Failed: 0)
  Non-zero wait status: 139
t/10functions.t         (Wstat: 139 (Signal: SEGV, dumped core) Tests: 15 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 39 tests but ran 15.
t/14security.t          (Wstat: 139 (Signal: SEGV, dumped core) Tests: 13 Failed: 1)
  Failed test:  9
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 26 tests but ran 13.
t/rt71345_b.t           (Wstat: 139 (Signal: SEGV, dumped core) Tests: 1 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 2 tests but ran 1.
t/using-quick-wrapper.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 3 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 29 tests but ran 3.
t/xml-grammar-failures.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 1 Failed: 0)
  Non-zero wait status: 139
Files=23, Tests=176,  2 wallclock secs ( 0.05 usr  0.02 sys +  0.98 cusr  0.22 csys =  1.27 CPU)
Result: FAIL
Failed 12/23 test programs. 1/176 subtests failed.

dmesg output:
[32906.679701] perl[306868]: segfault at f4fcca05 ip 00007f22818d7065 sp 00007fffc9d5bae0 error 4 in LibXML.so[7f228188f000+10d000] likely on CPU 9 (core 3, socket 0)

May 15 15:09:13 ldev systemd-coredump[309026]: [🡕] Process 309024 (perl) of user 1000 dumped core.
                                               
                                               Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64
                                               Module libxml2.so.2 from rpm libxml2-2.12.5-1.fc40.x86_64
                                               Module libz.so.1 from rpm zlib-ng-2.1.6-2.fc40.x86_64
                                               Module libcrypt.so.2 from rpm libxcrypt-4.4.36-5.fc40.x86_64
                                               Stack trace of thread 309024:
                                               #0  0x00007f482b794070 xmlDictFree (LibXML.so + 0x126070)
                                               #1  0x00007f482b6c480d PmmREFCNT_dec (LibXML.so + 0x5680d)
                                               #2  0x00007f482b6a5ab5 XS_XML__LibXML__Node_DESTROY (LibXML.so + 0x37ab5)
                                               #3  0x00007f483971288a Perl_pp_entersub (libperl.so.5.38 + 0x11288a)
                                               #4  0x00007f4839703718 Perl_runops_standard (libperl.so.5.38 + 0x103718)
                                               #5  0x00007f48396484da Perl_call_sv (libperl.so.5.38 + 0x484da)
                                               #6  0x00007f483971b9cf S_curse.lto_priv.0 (libperl.so.5.38 + 0x11b9cf)
                                               #7  0x00007f483971c1c0 Perl_sv_clear (libperl.so.5.38 + 0x11c1c0)
                                               #8  0x00007f4839716482 Perl_sv_free2 (libperl.so.5.38 + 0x116482)
                                               #9  0x00007f483974d025 Perl_leave_scope (libperl.so.5.38 + 0x14d025)
                                               #10 0x00007f4839704a60 Perl_pp_unstack (libperl.so.5.38 + 0x104a60)
                                               #11 0x00007f4839703718 Perl_runops_standard (libperl.so.5.38 + 0x103718)
                                               #12 0x00007f4839647c56 perl_run (libperl.so.5.38 + 0x47c56)
                                               #13 0x000056540bac5342 main (perl + 0x1342)
                                               #14 0x00007f483943d088 __libc_start_call_main (libc.so.6 + 0x2a088)
                                               #15 0x00007f483943d14b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a14b)
                                               #16 0x000056540bac5385 _start (perl + 0x1385)
                                               ELF object binary architecture: AMD x86-64

Reproducible: Always

Comment 1 Don 2024-05-15 19:30:15 UTC
Alight, I had XML::LibXML installed via cpan. After uninstalling that and installing libXML perl module from fedora, the problem goes away.


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