Bug 7125

Summary: rpmdrake segfaulted (Rpmdrake::gurpm::label())
Product: Mageia Reporter: jiuming luo <luojiuming>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED OLD QA Contact:
Severity: critical    
Priority: Normal    
Version: 2   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: rpmdrake-5.34-1.mga2 CVE:
Status comment:

Description jiuming luo 2012-08-20 20:43:02 CEST
The "rpmdrake" program crashed. Drakbug-14.21 caught it.

I am installing a large set of Qt on x86_64.
It warned a package failed to download and ask me to retry.
I retried sevral times and it then successfully downloaded the package and also installed
 it with success. But it soon crashed while it continued to install another package
 of the series. My Mageia(Chinese Language) was up-to-date.

Also note that I was also building another large software BRL-CAD at the same time.

It is a netbook, AMD Brazos APU, 2GB memory. No swap partitions.
The root partition has 60GB in total space. it is ext4.

[mag@localhost ~]$ lspcidrake -v
atl1c           : Atheros Communications Inc.|AR8152 v2.0 Fast Ethernet [NETWORK_ETHERNET] (vendor:1969 device:2062 subv:1043 subd:8468) (rev: c1)
wl              : Broadcom Corporation|BCM4313 802.11b/g/n Wireless LAN Controller [NETWORK_OTHER] (vendor:14e4 device:4727 subv:1a3b subd:2047) (rev: 01)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 7 [BRIDGE_HOST] (vendor:1022 device:1719)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 5 [BRIDGE_HOST] (vendor:1022 device:1716)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 6 [BRIDGE_HOST] (vendor:1022 device:1718)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 4 [BRIDGE_HOST] (vendor:1022 device:1704)
k10temp         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 3 [BRIDGE_HOST] (vendor:1022 device:1703)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 2 [BRIDGE_HOST] (vendor:1022 device:1702)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 1 [BRIDGE_HOST] (vendor:1022 device:1701)
unknown         : Advanced Micro Devices [AMD]|Family 12h/14h Processor Function 0 [BRIDGE_HOST] (vendor:1022 device:1700) (rev: 43)
shpchp          : ATI Technologies Inc|SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) [BRIDGE_PCI] (vendor:1002 device:43a0)
unknown         : ATI Technologies Inc|SBx00 PCI to PCI Bridge [BRIDGE_PCI] (vendor:1002 device:4384) (rev: 40)
unknown         : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 LPC host controller [BRIDGE_ISA] (vendor:1002 device:439d) (rev: 40)
snd_hda_intel   : ATI Technologies Inc|SBx00 Azalia (Intel HDA) (vendor:1002 device:4383 subv:1043 subd:841c) (rev: 40)
sp5100_tco      : ATI Technologies Inc|SBx00 SMBus Controller [SERIAL_SMBUS] (vendor:1002 device:4385) (rev: 42)
ehci_hcd        : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 USB EHCI Controller [SERIAL_USB] (vendor:1002 device:4396)
ohci_hcd        : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [SERIAL_USB] (vendor:1002 device:4397)
ehci_hcd        : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 USB EHCI Controller [SERIAL_USB] (vendor:1002 device:4396)
ohci_hcd        : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [SERIAL_USB] (vendor:1002 device:4397)
ahci            : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1002 device:4391 subv:1002 subd:4390)
shpchp          : Advanced Micro Devices [AMD]|Family 14h Processor Root Port [BRIDGE_PCI] (vendor:1022 device:1513)
shpchp          : Advanced Micro Devices [AMD]|Family 14h Processor Root Port [BRIDGE_PCI] (vendor:1022 device:1512)
snd_hda_intel   : ATI Technologies Inc|Wrestler HDMI Audio [Radeon HD 6250/6310] (vendor:1002 device:1314 subv:1043 subd:84a4)
Card:ATI Radeon HD 2000 to HD 6300 (radeon/fglrx): ATI Technologies Inc|Wrestler [Radeon HD 6250] [DISPLAY_VGA] (vendor:1002 device:9804 subv:1043 subd:84a4)
unknown         : Advanced Micro Devices [AMD]|Family 14h Processor Root Complex [BRIDGE_HOST] (vendor:1022 device:1510)
hub             : Linux 3.3.6-desktop-2.mga2 ohci_hcd|OHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.3.6-desktop-2.mga2 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
uvcvideo        : Azurewave|USB 2.0 UVC VGA WebCam [Video|Video Control] (vendor:13d3 device:5711)
hub             : Linux 3.3.6-desktop-2.mga2 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 3.3.6-desktop-2.mga2 ohci_hcd|OHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
usbhid          : PIXART|USB OPTICAL MOUSE [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:093a device:2510)
btusb           : Broadcom Corp|Bluetooth module [Wireless|Radio Frequency|Bluetooth] (vendor:13d3 device:3315)
[mag@localhost ~]$ 



SEGV
Glibc's trace:
4: /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/libperl.so(Perl_sighandler+0x1f0) [0x7f037ee094f0]
5: /lib64/libpthread.so.0(+0xef70) [0x7f037e070f70]
6: /usr/lib/../lib64/librpmio.so.2(rpmsqAction+0xcd) [0x7f037a364ccd]
7: /lib64/libpthread.so.0(+0xef70) [0x7f037e070f70]
8: /lib64/libc.so.6(__select+0x13) [0x7f037dda95c3]
9: /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/libperl.so(Perl_pp_sselect+0x1d5) [0x7f037ee63b25]
10: /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x16) [0x7f037ee197c6]
11: /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/libperl.so(Perl_call_sv+0x47e) [0x7f037edb50ce]
12: /usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi/auto/Glib/Glib.so(+0x27f6c) [0x7f0375cfef6c]
13: /lib/../lib64/libgobject-2.0.so.0(g_closure_invoke+0x132) [0x7f0375a98ca2]
14: /lib/../lib64/libgobject-2.0.so.0(+0x20d71) [0x7f0375aa9d71]
15: /lib/../lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xd79) [0x7f0375ab2099]
16: /lib/../lib64/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f0375ab2242]
17: /usr/lib/../lib64/libgtk-x11-2.0.so.0(+0x8d605) [0x7f03714bc605]
18: /lib/../lib64/libgobject-2.0.so.0(+0xfeca) [0x7f0375a98eca]
19: /lib/../lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x421) [0x7f0375ab1741]

Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/standalone.pm:224
standalone::__ANON__() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/gurpm.pm:60
(eval)() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/gurpm.pm:60
Rpmdrake::gurpm::label() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/pkg.pm:205
Rpmdrake::pkg::download_callback() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/pkg.pm:803
Rpmdrake::pkg::__ANON__() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/download.pm:298
urpm::download::propagate_sync_callback() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/download.pm:741
urpm::download::_parse_aria2_output() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/download.pm:704
urpm::download::sync_aria2() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/download.pm:965
urpm::download::_sync_webfetch_raw() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/download.pm:889
(eval)() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/download.pm:889
urpm::download::sync_rel() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/get_pkgs.pm:254
urpm::get_pkgs::_download_packages_of_distant_media() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/get_pkgs.pm:226
urpm::get_pkgs::download_packages_of_distant_media() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/main_loop.pm:80
::urpm::main_loop::__ANON__() called from /usr/lib/perl5/vendor_perl/5.14.2/urpm/main_loop.pm:167
::urpm::main_loop::run() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/pkg.pm:895
Rpmdrake::pkg::perform_installation() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/gui.pm:923
Rpmdrake::gui::do_action__real() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/gui.pm:938
(eval)() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/gui.pm:938
Rpmdrake::gui::do_action() called from /usr/sbin/rpmdrake:722
main::__ANON__() called from /usr/lib/libDrakX/mygtk2.pm:1424
(eval)() called from /usr/lib/libDrakX/mygtk2.pm:1424
mygtk2::main() called from /usr/lib/libDrakX/ugtk2.pm:767
ugtk2::main() called from /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/gui.pm:596
Rpmdrake::gui::ask_browse_tree_given_widgets_for_rpmdrake() called from /usr/sbin/rpmdrake:780
main::run_treeview_dialog() called from /usr/sbin/rpmdrake:804

Theme name: oxygen-gtk
Kernel version = 3.3.6-desktop-2.mga2
Distribution=Mageia release 2 (Official) for x86_64
CPU=AMD C-50 Processor
Manuel Hiebel 2012-09-16 12:01:33 CEST

Assignee: bugsquad => thierry.vignaud
Summary: rpmdrake segfaulted => rpmdrake segfaulted (Rpmdrake::gurpm::label())

Comment 1 Manuel Hiebel 2013-10-22 12:20:50 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

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 prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and 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.

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.

-- 
The Mageia Bugsquad
Comment 2 Manuel Hiebel 2013-11-23 16:16:22 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD