Bug 27328 - drakrpm segfaulted when choosing directory to add a local repository
Summary: drakrpm segfaulted when choosing directory to add a local repository
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2020-09-26 12:58 CEST by Piotr Pikuta
Modified: 2021-03-06 12:50 CET (History)
3 users (show)

See Also:
Source RPM: rpmdrake-6.30-1.mga7
CVE:
Status comment:


Attachments

Description Piotr Pikuta 2020-09-26 12:58:38 CEST
The "drakrpm" program crashed. Drakbug-18.21 caught it.

Tried to add a local repository with rpm packages. The crash occurred when clicked on a button to choose a directory.

SEGV
Glibc's trace:
4: /lib64/libperl.so.5.28(Perl_sighandler+0x226) [0x7fd3a9c91ef6]
5: /lib64/libc.so.6(+0x3caf0) [0x7fd3a9a2caf0]
6: /lib64/libperl.so.5.28(Perl_hv_common+0x87) [0x7fd3a9c9de27]
7: /lib64/libperl.so.5.28(Perl_mro_isa_changed_in+0x3dc) [0x7fd3a9c95edc]
8: /lib64/libperl.so.5.28(Perl_magic_clearisa+0x138) [0x7fd3a9c8d878]
9: /lib64/libperl.so.5.28(Perl_mg_set+0x86) [0x7fd3a9c8b8d6]
10: /lib64/libperl.so.5.28(Perl_av_store+0x28b) [0x7fd3a9ca1e4b]
11: /usr/lib64/perl5/vendor_perl/auto/Glib/Glib.so(+0x22323) [0x7fd3a7467323]
12: /usr/lib64/perl5/vendor_perl/auto/Glib/Glib.so(gperl_object_package_from_type+0x1a0) [0x7fd3a7467170]
13: /usr/lib64/perl5/vendor_perl/auto/Glib/Glib.so(gperl_object_stash_from_type+0x6) [0x7fd3a7467826]
14: /usr/lib64/perl5/vendor_perl/auto/Glib/Glib.so(gperl_new_object+0x1c3) [0x7fd3a7467a83]
15: /usr/lib64/perl5/vendor_perl/auto/Glib/Object/Introspection/Introspection.so(+0xe2a5) [0x7fd3a72242a5]
16: /usr/lib64/perl5/vendor_perl/auto/Glib/Object/Introspection/Introspection.so(+0x1091c) [0x7fd3a722691c]
17: /usr/lib64/perl5/vendor_perl/auto/Glib/Object/Introspection/Introspection.so(+0x10ddd) [0x7fd3a7226ddd]
18: /lib64/libperl.so.5.28(Perl_pp_entersub+0x1f1) [0x7fd3a9cad161]
19: /lib64/libperl.so.5.28(Perl_runops_standard+0x16) [0x7fd3a9ca3456]

Perl's trace:
drakbug::bug_handler() called from /usr/lib/libDrakX/drakbug.pm:41
drakbug::__ANON__() called from /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm:67
(eval)() called from /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm:67
Glib::Object::Introspection::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1101
mygtk3::_gtk__FileChooser() called from /usr/lib/libDrakX/mygtk3.pm:122
mygtk3::_gtk() called from /usr/lib/libDrakX/mygtk3.pm:59
mygtk3::gtknew() called from /usr/lib/libDrakX/ugtk3.pm:955
ugtk3::create_file_selector() called from /usr/lib/libDrakX/ugtk3.pm:989
ugtk3::_ask_dir() called from /usr/lib/libDrakX/ugtk3.pm:908
ugtk3::ask_dir() called from /usr/share/perl5/vendor_perl/Rpmdrake/edit_urpm_sources.pm:196
Rpmdrake::edit_urpm_sources::__ANON__() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
(eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
Gtk3::main() called from /usr/share/perl5/vendor_perl/Gtk3.pm:523
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/edit_urpm_sources.pm:315
Rpmdrake::edit_urpm_sources::add_callback() called from /usr/share/perl5/vendor_perl/Rpmdrake/edit_urpm_sources.pm:989
Rpmdrake::edit_urpm_sources::__ANON__() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
(eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
Gtk3::main() called from /usr/share/perl5/vendor_perl/Gtk3.pm:523
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/edit_urpm_sources.pm:1215
Rpmdrake::edit_urpm_sources::mainwindow() called from /usr/share/perl5/vendor_perl/Rpmdrake/edit_urpm_sources.pm:1244
Rpmdrake::edit_urpm_sources::run() called from /usr/libexec/drakrpm:620
main::__ANON__() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
(eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
Gtk3::main() called from /usr/share/perl5/vendor_perl/Gtk3.pm:523
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.7.19-desktop-1.mga7
Distribution=Mageia release 7 (Official) for x86_64
CPU=Intel(R) Core(TM) i5-9600KF CPU @ 3.70GHz

How reproducible:

Every time I attempt to add a local repository.
Comment 1 Aurelien Oudelet 2020-09-26 23:25:19 CEST
Hi, thanks reporting this.

I can't reproduce the bug on my current M7 install with Plasma as DE.
As this seems DE independent, I wonder to know if your system was up-to-date before this occur.

Also, what type of local repository do you attempt to add?

Leaving this in Bugsquad for now, waiting reporter's answer.
Reducing severity to normal as it not a security bug and not reproduced.

Keywords: (none) => NEEDINFO
Severity: critical => normal
CC: (none) => ouaurelien

Lewis Smith 2020-09-27 21:24:17 CEST

Summary: drakrpm segfaulted => drakrpm segfaulted when choosing directory to add a local repository

Comment 2 Lewis Smith 2020-09-28 10:21:48 CEST
Also trying this under Mageia 7 (Xfce) made me wish for a finer description of "Tried to add a local repository" & "Every time I attempt to add a local repository".
This is what I found, obscure (there must be an easier way):
- Start rpmdrake; Choices-Manage media raises the on-line media list window.
- File-Add custom medium; already shows "Type of medium" = "Local files";
- against "Path of medium" click the 'Browse' button;
 [This is where the crash is supposed to happen].
clicking it raises a file chooser window, correct.

@Piotr
Can you please describe the exact steps you do to cause the fault.
And a screenshot just before "The crash occurred when clicked on a button to choose a directory" so we can see exactly where you are.

CC: (none) => lewyssmith

Comment 3 Aurelien Oudelet 2020-12-27 17:54:59 CET
Reporter, could you please reply to the previous question? If you don't reply within two weeks from now, I will have to close this bug as OLD. Thank you.
Comment 4 Marja Van Waes 2021-03-06 12:50:27 CET
(In reply to Aurelien Oudelet from comment #3)
> Reporter, could you please reply to the previous question? If you don't
> reply within two weeks from now, I will have to close this bug as OLD. Thank
> you.

There was no reply, so closing

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


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