Bug 2361571 - perl-RPM2-1.4-30.fc43 fails tests with rpm-5.99.90-3.fc43
Summary: perl-RPM2-1.4-30.fc43 fails tests with rpm-5.99.90-3.fc43
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-RPM2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-04-22 07:21 UTC by Petr Pisar
Modified: 2025-04-22 10:16 UTC (History)
4 users (show)

Fixed In Version: perl-RPM2-1.4-31.fc43
Clone Of:
Environment:
Last Closed: 2025-04-22 10:16:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github lkundrak perl-RPM2 pull 2 0 None open Adapt tests to RPM 6 2025-04-22 08:36:48 UTC
Github lkundrak perl-RPM2 pull 3 0 None open Fix a crash in RPM plugins on add_package() 2025-04-22 09:14:55 UTC

Description Petr Pisar 2025-04-22 07:21:48 UTC
perl-RPM2-1.4-30.fc43 crashes with rpm-5.99.90-3.fc43:

If rpm-plugin-fapolicyd-5.99.90-3.fc43.x86_64 is installed:

#  test.pl line 133 is: ok(RPM2->rpm_api_version =~ /4.\d+/);
ok 39
ok 40
ok 41

Program received signal SIGSEGV, Segmentation fault.
#0  0x00007ffff72789f0 in fapolicyd_init () from /usr/lib64/rpm-plugins/fapolicyd.so
#1  0x00007ffff75b3a2c in rpmtsSetupTransactionPlugins(rpmts_s*) () from /lib64/librpm.so.10
#2  0x00007ffff7585688 in rpmtsAddInstallElement () from /lib64/librpm.so.10
#3  0x00007ffff78893b8 in XS_RPM2__C__Transaction__add_install (my_perl=<optimized out>,
    cv=<optimized out>) at lib/RPM2.xs:523
#4  0x00007ffff7ce2622 in Perl_pp_entersub () from /lib64/libperl.so.5.40
#5  0x00007ffff7d62650 in Perl_runops_standard () from /lib64/libperl.so.5.40
#6  0x00007ffff7c2dfb6 in perl_run () from /lib64/libperl.so.5.40
#7  0x000055555555468e in main ()

If it isn't, then test 38 fails:

ok 37
not ok 38
# Failed test 38 in test.pl at line 133
#  test.pl line 133 is: ok(RPM2->rpm_api_version =~ /4.\d+/);
ok 39

Comment 1 Petr Pisar 2025-04-22 08:31:28 UTC
Actually the crash is independent from the new rpm.


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