Bug 32610 - drakrpm segfaulted installing gambas-3 on mga8
Summary: drakrpm segfaulted installing gambas-3 on mga8
Status: RESOLVED DUPLICATE of bug 32290
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
: 33192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-10 03:22 CET by Eric Gaboury
Modified: 2024-06-17 20:57 CEST (History)
2 users (show)

See Also:
Source RPM: rpmdrake-6.32-1.mga8
CVE:
Status comment:


Attachments

Description Eric Gaboury 2023-12-10 03:22:02 CET
The "drakrpm" program crashed. Drakbug-18.45 caught it.

Installing package gambas-3 3.15.2-5.mga8.x86_64

SEGV
Glibc's trace:
0: /usr/lib/libDrakX/auto/c/stuff/stuff.so(+0x95d5) [0x7f10d61715d5]
1: /lib64/libperl.so.5.32(Perl_pp_entersub+0x217) [0x7f10e118ba97]
2: /lib64/libperl.so.5.32(Perl_runops_standard+0x2e) [0x7f10e118204e]
3: /lib64/libperl.so.5.32(Perl_call_sv+0x364) [0x7f10e10e92e4]
4: /lib64/libperl.so.5.32(Perl_perly_sighandler+0x229) [0x7f10e11708c9]
5: /lib64/libc.so.6(+0x3b510) [0x7f10e0ee6510]
6: /lib64/libperl.so.5.32(Perl_hfree_next_entry+0xb1) [0x7f10e117b5c1]
7: /lib64/libperl.so.5.32(Perl_sv_clear+0x169) [0x7f10e118ff59]
8: /lib64/libperl.so.5.32(Perl_sv_free2+0x4e) [0x7f10e11907de]
9: /lib64/libperl.so.5.32(Perl_cv_undef_flags+0x2c0) [0x7f10e1124f10]
10: /lib64/libperl.so.5.32(Perl_sv_clear+0x47b) [0x7f10e119026b]
11: /lib64/libperl.so.5.32(Perl_sv_free2+0x4e) [0x7f10e11907de]
12: /usr/lib64/perl5/vendor_perl/auto/Glib/Glib.so(+0x24f6b) [0x7f10d3dfaf6b]
13: /lib/../lib64/libgobject-2.0.so.0(g_closure_invalidate+0x123) [0x7f10d3d91893]
14: /lib/../lib64/libgobject-2.0.so.0(g_closure_unref+0x2e0) [0x7f10d3d91740]
15: /lib/../lib64/libgobject-2.0.so.0(g_signal_handlers_destroy+0x1a8) [0x7f10d3da8498]
16: /lib/../lib64/libgobject-2.0.so.0(+0x1841d) [0x7f10d3d9641d]
17: /lib/../lib64/libgobject-2.0.so.0(g_object_run_dispose+0x55) [0x7f10d3d97f75]
18: /lib64/libgtk-3.so.0(+0x303cd0) [0x7f10d32b6cd0]
19: /lib64/libgtk-3.so.0(+0x2f42a4) [0x7f10d32a72a4]

Perl's trace:
drakbug::bug_handler() called from /usr/lib/libDrakX/drakbug.pm:41
drakbug::__ANON__() called from /usr/share/perl5/vendor_perl/Gtk3.pm:1716
(eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:1716
Gtk3::TextBuffer::set_text() called from /usr/lib/libDrakX/mygtk3.pm:1490
mygtk3::_text_insert() called from /usr/lib/libDrakX/ugtk3.pm:726
ugtk3::gtktext_insert() called from /usr/share/perl5/vendor_perl/Rpmdrake/gui.pm:945
Rpmdrake::gui::do_action__real() called from /usr/share/perl5/vendor_perl/Rpmdrake/gui.pm:952
(eval)() called from /usr/share/perl5/vendor_perl/Rpmdrake/gui.pm:952
Rpmdrake::gui::do_action() called from /usr/libexec/drakrpm:776
main::__ANON__() called from /usr/share/perl5/vendor_perl/Gtk3.pm:592
(eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:592
Gtk3::main() called from /usr/share/perl5/vendor_perl/Gtk3.pm:537
Gtk3::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1550
mygtk3::main() called from /usr/lib/libDrakX/ugtk3.pm:857
ugtk3::main() called from /usr/share/perl5/vendor_perl/Rpmdrake/gui.pm:609
Rpmdrake::gui::ask_browse_tree_given_widgets_for_rpmdrake() called from /usr/libexec/drakrpm:835
main::run_treeview_dialog() called from /usr/libexec/drakrpm:859

Theme name: Adwaita
Kernel version = 5.15.126-desktop-1.mga8
Distribution=Mageia release 8 (Official) for x86_64
CPU=12th Gen Intel(R) Core(TM) i5-12400
Comment 1 Eric Gaboury 2023-12-10 03:24:46 CET
I'm afraid my RPM database my be corrupted...
Comment 2 Morgan Leijström 2023-12-10 20:00:20 CET
Thank you for the report.

(In reply to Eric Gaboury from comment #1)
> I'm afraid my RPM database my be corrupted...

Apart from the listed error, 
is there something else that make you think the database is broken?

Have you tried to fix it?  As root issue:
 rpm --rebuilddb
(takes a little while, with normally no output in terminal)

If that goes well, do a full update.  (as root: urpmi --auto-up)

CC: (none) => fri

Comment 3 Lewis Smith 2023-12-10 20:11:21 CET
And please say also whether this was a one-off incident, or you have repeated occurrences.
Comment 4 Eric Gaboury 2023-12-10 22:41:23 CET
Hello,

This is a one-off incident, as I did not dare to try to install that package again.

All seems well now. Here's how I recovered from this:
- uninstalled package "gambas-3 3.15.2-5.mga8.x86_64" (it had missing dependencies)
- found out there was a task package and installed it (task-gambas3 3.15.2-5.mga8.noarch)

As far as I'm concerned, you can close this bug.

Thank you.
Comment 5 Morgan Leijström 2023-12-11 09:27:10 CET
Well mga8 is EOL, and Gambas is in mga9 in a new version and packaging seem to be slightly reworked: there is no plain gambas package, but gambas3-gui, gambas3-ide, gambas3-runtime, etc and yes best is to install the task-gambas3 package.

But I am reluctant to close the bug because it seem to reveal a bug in our tool which ought to be fixed.

Leaving to tools maintainers if they want to investigate or close.

---

@Eric, consider upgrading your system to mga9.

Assignee: bugsquad => mageiatools
Summary: drakrpm segfaulted => drakrpm segfaulted installing gambas-3 on mga8

Comment 6 sturmvogel 2024-05-12 10:47:56 CEST
*** Bug 33192 has been marked as a duplicate of this bug. ***

CC: (none) => surfzoid

Comment 7 Lewis Smith 2024-06-17 20:57:40 CEST
This itself is one of several similar bugs.

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

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


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