Bug 32290

Summary: drakrpm-update segfaulted
Product: Mageia Reporter: Christoph Eser <ch.eser>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: minor    
Priority: Low CC: davidwhodgins, gaboury.e, gramo.gnu, wrw105
Version: 9   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: rpmdrake-6.32-2.mga9 CVE:
Status comment:

Description Christoph Eser 2023-09-16 07:47:39 CEST
The "drakrpm-update" program crashed. Drakbug-18.65 caught it.

Start of update after showing that new updates are available. Restart of the update worked.

SEGV
Glibc's trace:
0: /usr/lib/libDrakX/auto/c/stuff/stuff.so(+0x6d2a) [0xb7361d2a]
1: /lib/libperl.so.5.36(Perl_pp_entersub+0x21b) [0xb7cbd31b]
2: /lib/libperl.so.5.36(Perl_runops_standard+0x3f) [0xb7cb2f2f]
3: /lib/libperl.so.5.36(Perl_call_sv+0x3d1) [0xb7c00081]
4: /lib/libperl.so.5.36(Perl_perly_sighandler+0x205) [0xb7c9eb15]
5: /lib/libperl.so.5.36(Perl_csighandler3+0x94) [0xb7c9f304]
6: /lib/libperl.so.5.36(Perl_csighandler+0x1c) [0xb7c9f36c]
7: linux-gate.so.1(__kernel_sigreturn+0) [0xb7f99580]
8: /usr/lib/perl5/vendor_perl/auto/URPM/URPM.so(+0x47f8) [0xb70997f8]
9: /usr/lib/perl5/vendor_perl/auto/URPM/URPM.so(+0x13144) [0xb70a8144]
10: /usr/lib/perl5/vendor_perl/auto/URPM/URPM.so(+0x14aa6) [0xb70a9aa6]
11: /usr/lib/perl5/vendor_perl/auto/URPM/URPM.so(+0x15175) [0xb70aa175]
12: /lib/libperl.so.5.36(Perl_pp_entersub+0x21b) [0xb7cbd31b]
13: /lib/libperl.so.5.36(Perl_runops_standard+0x3f) [0xb7cb2f2f]
14: /lib/libperl.so.5.36(perl_run+0x33b) [0xb7c08c0b]
15: /usr/bin/perl() [0x8049284]
16: /lib/libc.so.6(+0x1f7a9) [0xb79eb7a9]
17: /lib/libc.so.6(__libc_start_main+0x88) [0xb79eb878]
18: /usr/bin/perl() [0x80492c8]

Perl's trace:
drakbug::bug_handler() called from /usr/lib/libDrakX/drakbug.pm:41
drakbug::__ANON__() called from /usr/lib/perl5/vendor_perl/URPM.pm:204
(eval)() called from /usr/lib/perl5/vendor_perl/URPM.pm:204
URPM::_parse_hdlist_or_synthesis() called from /usr/lib/perl5/vendor_perl/URPM.pm:220
URPM::parse_synthesis() called from /usr/share/perl5/vendor_perl/urpm/media.pm:1532
urpm::media::_parse_synthesis() called from /usr/share/perl5/vendor_perl/urpm/media.pm:1538
urpm::media::_parse_synthesis_or_ignore() called from /usr/share/perl5/vendor_perl/urpm/media.pm:840
urpm::media::parse_media() called from /usr/share/perl5/vendor_perl/urpm/media.pm:742
urpm::media::configure() called from /usr/share/perl5/vendor_perl/Rpmdrake/open_db.pm:157
Rpmdrake::open_db::open_urpmi_db() called from /usr/share/perl5/vendor_perl/Rpmdrake/pkg.pm:444
Rpmdrake::pkg::get_pkgs() called from /usr/share/perl5/vendor_perl/Rpmdrake/gui.pm:642
Rpmdrake::gui::pkgs_provider() called from /usr/libexec/drakrpm-update:266
main::run_treeview_dialog() called from /usr/libexec/drakrpm-update:293

Theme name: Adwaita
Kernel version = 6.4.9-desktop586-4.mga9
Distribution=Mageia release 9 (Official) for i586
CPU=Intel(R) Atom(TM) CPU N270   @ 1.60GHz
Comment 1 Dave Hodgins 2023-09-16 22:55:57 CEST
The problem appears to be caused by the download of the hdlist or
synthesis.hdlist file not having been completed properly, likely
leaving a corrupt or partial file.

This is the 11th time it's been reported since it was first reported in
Mageia 1.

All prior bug reports for it have been closed as old, or as duplicates,
with one report closed as invalid since it was reported after a release
had reached it's end of support date.

Assigning to tv.

Priority: Normal => Low
CC: (none) => davidwhodgins
Assignee: bugsquad => thierry.vignaud

Comment 2 Lewis Smith 2024-06-17 20:56:17 CEST
*** Bug 32515 has been marked as a duplicate of this bug. ***

CC: (none) => gramo.gnu

Comment 3 Lewis Smith 2024-06-17 20:57:40 CEST
*** Bug 32610 has been marked as a duplicate of this bug. ***

CC: (none) => gaboury.e

Comment 4 Lewis Smith 2024-06-17 20:58:58 CEST
*** Bug 33268 has been marked as a duplicate of this bug. ***

CC: (none) => wrw105

Comment 5 Lewis Smith 2024-06-17 21:02:22 CEST
This is the first of several bugs reporting the same basic issue: "drakrpm-update segfaulted|crashed". I have marked the others as duplicates of this one.