Bug 10674 - MageiaUpdate crashed (can't use an undefined value as a HASH reference at Rpmdrake/gui.pm line 361)
Summary: MageiaUpdate crashed (can't use an undefined value as a HASH reference at Rpm...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 10695 10704 10712 10787 10851 10945 10959 11052 11076 11160 11241 11396 11520 11522 11667 11739 12105 12134 12272 12283 12938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-02 01:01 CEST by aderito dias
Modified: 2014-06-27 18:52 CEST (History)
22 users (show)

See Also:
Source RPM: rpmdrake-5.49-1.mga3
CVE:
Status comment:


Attachments
try to fix (1.39 KB, patch)
2013-10-08 08:14 CEST, Thierry Vignaud
Details | Diff

Description aderito dias 2013-07-02 01:01:42 CEST
The "MageiaUpdate" program crashed. Drakbug-15.54.1 caught it.

an't use an undefined value as a HASH reference at /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm line 361.
  Perl's trace:
  standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm:361
  Rpmdrake::gui::warn_if_no_pkg() called from /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm:387
  Rpmdrake::gui::node_state() called from /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm:883
  Rpmdrake::gui::toggle_nodes() called from /usr/sbin/MageiaUpdate:122
  main::toggle() called from /usr/sbin/MageiaUpdate:82
  main::refresh_packages_list() called from /usr/sbin/MageiaUpdate:261
  main::run_treeview_dialog() called from /usr/sbin/MageiaUpdate:286

Tema usado: oxygen-gtk


Can't use an undefined value as a HASH reference at /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm line 361.
Perl's trace:
standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm:361
Rpmdrake::gui::warn_if_no_pkg() called from /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm:387
Rpmdrake::gui::node_state() called from /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake/gui.pm:883
Rpmdrake::gui::toggle_nodes() called from /usr/sbin/MageiaUpdate:122
main::toggle() called from /usr/sbin/MageiaUpdate:82
main::refresh_packages_list() called from /usr/sbin/MageiaUpdate:261
main::run_treeview_dialog() called from /usr/sbin/MageiaUpdate:286

Theme name: oxygen-gtk
Kernel version = 3.8.13-desktop586-1.mga3
Distribution=Mageia release 3 (Official) for i586
CPU=Intel(R) Pentium(R) Dual  CPU  T2390  @ 1.86GHz
Comment 1 aderito dias 2013-07-02 01:02:39 CEST
last update to fmpeg
Comment 2 Manuel Hiebel 2013-07-03 09:36:51 CEST
*** Bug 10680 has been marked as a duplicate of this bug. ***

CC: (none) => agnikaethoiz

Manuel Hiebel 2013-07-03 09:40:26 CEST

CC: (none) => thierry.vignaud

Thierry Vignaud 2013-07-03 11:32:56 CEST

Summary: MageiaUpdate crashed => MageiaUpdate crashed (can't use an undefined value as a HASH reference at Rpmdrake/gui.pm line 361)

Comment 3 Manuel Hiebel 2013-07-04 21:52:42 CEST
*** Bug 10695 has been marked as a duplicate of this bug. ***

CC: (none) => mageiasv

Comment 4 Manuel Hiebel 2013-07-05 11:49:53 CEST
*** Bug 10704 has been marked as a duplicate of this bug. ***

CC: (none) => email

Comment 5 Zenec Smith 2013-07-06 21:23:26 CEST
*** Bug 10712 has been marked as a duplicate of this bug. ***

CC: (none) => valters1

Comment 6 Manuel Hiebel 2013-07-17 19:31:44 CEST
*** Bug 10787 has been marked as a duplicate of this bug. ***

CC: (none) => crissc.linux

Comment 7 Thierry Vignaud 2013-07-19 14:03:41 CEST
_IF_ you can reproduce, please attach the file bug10674.tar.xz you got after running the following commands as root:
echo n|urpmi --auto-select --bug bug10674
tar cfa bug10674{.tar.xz,}

Keywords: (none) => NEEDINFO

Comment 8 Christophe Schleicher 2013-07-20 08:16:53 CEST
(In reply to Manuel Hiebel from comment #6)
> *** Bug 10787 has been marked as a duplicate of this bug. ***

The file bug10674.tar.xz is oversized (4.9 Mo) I can't transmit it !
Comment 9 Manuel Hiebel 2013-07-20 11:42:14 CEST
you can use something like http://dl.free.fr/ or send to thierry email
Comment 10 Thierry Vignaud 2013-07-20 17:25:53 CEST
Indeed mail it to me.
Comment 11 Christophe Schleicher 2013-07-21 00:20:43 CEST
Done
Comment 12 Manuel Hiebel 2013-07-29 20:29:05 CEST
*** Bug 10851 has been marked as a duplicate of this bug. ***

CC: (none) => twist3r95a

Comment 13 Manuel Hiebel 2013-08-07 19:15:46 CEST
*** Bug 10945 has been marked as a duplicate of this bug. ***

CC: (none) => hrbutt90

Manuel Hiebel 2013-08-07 19:16:11 CEST

Keywords: NEEDINFO => (none)
Hardware: i586 => All

Comment 14 Manuel Hiebel 2013-08-07 22:12:46 CEST
*** Bug 10959 has been marked as a duplicate of this bug. ***

CC: (none) => michel.debernard

Comment 15 Manuel Hiebel 2013-08-24 12:30:44 CEST
*** Bug 11052 has been marked as a duplicate of this bug. ***

CC: (none) => sfarza

Comment 16 Manuel Hiebel 2013-08-26 19:01:05 CEST
*** Bug 11076 has been marked as a duplicate of this bug. ***

CC: (none) => mattadkins1

Comment 17 Manuel Hiebel 2013-09-06 18:53:41 CEST
*** Bug 11160 has been marked as a duplicate of this bug. ***

CC: (none) => jahadi.hamid

Comment 18 Manuel Hiebel 2013-09-18 11:55:07 CEST
*** Bug 11241 has been marked as a duplicate of this bug. ***

CC: (none) => jws000

Comment 19 Manuel Hiebel 2013-10-07 13:03:07 CEST
*** Bug 11396 has been marked as a duplicate of this bug. ***

CC: (none) => AndrewL733

Comment 20 Thierry Vignaud 2013-10-08 08:11:10 CEST
I still need an environment to reproduce (see Comment #7).
I got one from Christophe Schleicher but I couldn't reproduce.

Keywords: (none) => NEEDINFO

Comment 21 Thierry Vignaud 2013-10-08 08:14:13 CEST
Created attachment 4413 [details]
try to fix

Please try this patch.
As root, in a terminal, run the following commands:

urpmi patch
cd /usr/lib/perl5/vendor_perl/5.16.3/Rpmdrake
patch -p2 </where/it/was/downloaded/10674.diff
MageiaUpdate 2>&1 | tee -a /tmp/log.txt

Then attach your /tmp/log.txt to this bug report.

At least I could understand where the undef value happen (whether when getting the medium name or when getting the package name)
Comment 22 Thierry Vignaud 2013-10-26 09:40:18 CEST
*** Bug 11520 has been marked as a duplicate of this bug. ***

CC: (none) => laurentcliff

Comment 23 Manuel Hiebel 2013-10-26 18:50:54 CEST
*** Bug 11522 has been marked as a duplicate of this bug. ***

CC: (none) => jgtesseraud

Comment 24 Thierry Vignaud 2013-11-14 18:20:41 CET
*** Bug 11667 has been marked as a duplicate of this bug. ***

CC: (none) => jmvanham

Comment 25 Thierry Vignaud 2013-11-22 21:06:25 CET
*** Bug 11739 has been marked as a duplicate of this bug. ***

CC: (none) => ujl

Comment 26 Thierry Vignaud 2013-12-26 18:56:02 CET
*** Bug 12105 has been marked as a duplicate of this bug. ***

CC: (none) => saroyan77

Comment 27 Thierry Vignaud 2013-12-28 19:06:23 CET
*** Bug 12134 has been marked as a duplicate of this bug. ***

CC: (none) => dmi.alishev

Comment 28 Manuel Hiebel 2014-01-12 23:34:13 CET
*** Bug 12272 has been marked as a duplicate of this bug. ***

CC: (none) => omasouri

Comment 29 Thierry Vignaud 2014-01-14 01:10:13 CET
*** Bug 12283 has been marked as a duplicate of this bug. ***
Comment 30 Manuel Hiebel 2014-03-06 00:48:07 CET
*** Bug 12938 has been marked as a duplicate of this bug. ***

CC: (none) => phdeniau

Comment 31 Thierry Vignaud 2014-06-27 16:09:55 CEST
I think this one was fixed in rpmdrake-6.8 along bug #8967.
I'll backport it to mga3
Comment 32 Thierry Vignaud 2014-06-27 18:52:31 CEST
And it's fixed in 5.49.1 released in January

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


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