Bug 15094 - drakrpm segfaulted (Rpmdrake::pkg::get_installed_packages())
Summary: drakrpm segfaulted (Rpmdrake::pkg::get_installed_packages())
Status: RESOLVED DUPLICATE of bug 14503
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-20 13:00 CET by Markus Mertens
Modified: 2015-10-05 09:26 CEST (History)
0 users

See Also:
Source RPM: rpmdrake-6.10.3-1.mga4
CVE:
Status comment:


Attachments

Description Markus Mertens 2015-01-20 13:00:17 CET
The "drakrpm" program crashed. Drakbug-16.26.12 caught it.

I clicked on "Install / Remove Software" in mcc.

SEGV
Glibc's trace:
4: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(Perl_sighandler+0x20f) [0x7f57bfe5751f]
5: /lib64/libc.so.6(+0x349f0) [0x7f57bec9d9f0]
6: /lib/../lib64/librpm.so.3(+0x1c5e6) [0x7f57bc48e5e6]
7: /lib/../lib64/librpm.so.3(rpmdbInitIterator+0x258) [0x7f57bc48ea28]
8: /lib/../lib64/librpm.so.3(rpmtsInitIterator+0x113) [0x7f57bc4b3583]
9: /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/auto/URPM/URPM.so(+0x13a0d) [0x7f57bc6eda0d]
10: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x596) [0x7f57bfe6f836]
11: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x16) [0x7f57bfe67e46]
12: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(perl_run+0x254) [0x7f57bfe00394]
13: /usr/bin/perl(main+0x149) [0x400ea9]
14: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f57bec8ac85]
15: /usr/bin/perl() [0x400ee1]

Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/standalone.pm:226
standalone::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:341
(eval)() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:341
Rpmdrake::pkg::get_installed_packages() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:482
Rpmdrake::pkg::get_pkgs() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/gui.pm:642
Rpmdrake::gui::pkgs_provider() called from /usr/libexec/drakrpm:803
main::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/rpmdrake.pm:415
rpmdrake::slow_func() called from /usr/libexec/drakrpm:803
main::run_treeview_dialog() called from /usr/libexec/drakrpm:846

Theme name: oxygen-gtk
Kernel version = 3.14.27-server-1.mga4
Distribution=Mageia release 4 (Official) for x86_64
CPU=Intel(R) Xeon(R) CPU E5-2687W 0 @ 3.10GHz
Comment 1 Markus Mertens 2015-01-28 08:28:58 CET
The following rpm packages are installed:

----------------------------------------------------------
# rpm -qa | grep rpm
python-rpm-4.11.1-9.mga4
rpmlint-mageia-policy-0.2.28-3.mga4
lib64rpmbuild3-4.11.1-9.mga4
rpm-4.11.1-9.mga4
gurpmi-7.31-1.mga4
rpm-helper-0.24.11-5.mga4
lib64rpmsign3-4.11.1-9.mga4
qt4urpm-1.0.1-6.mga4
lib64rpm3-4.11.1-9.mga4
rpm-build-4.11.1-9.mga4
rpm-mageia-setup-build-1.197-1.1.mga4
rpmdrake-6.10.3-1.mga4
easyrpmbuilder-0.5.6-3.mga4
rpmlint-1.5-1.mga4
rpm-mageia-setup-1.197-1.1.mga4

# rpm -qa | grep RPM
perl-URPM-4.30-1.mga4
----------------------------------------------------------

The package urpmi-7.31-1.mga4.noarch.rpm seems to be missing and I cannot install it. Trying to do so will cause a segfault:

# rpm -hiv urpmi-7.31-1.mga4.noarch.rpm
Speicherzugriffsfehler
#
Markus Mertens 2015-01-28 08:29:23 CET

Priority: Normal => High

Comment 2 Samuel Verschelde 2015-09-21 13:20:36 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 3 Rémi Verschelde 2015-10-05 09:26:33 CEST
Likely a duplicate of bug 14503.

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

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE
Summary: drakrpm segfaulted => drakrpm segfaulted (Rpmdrake::pkg::get_installed_packages())


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