Bug 18076 - Drakdisk crash (Can't call method "get_children" on an undefined value)
Summary: Drakdisk crash (Can't call method "get_children" on an undefined value)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-27 20:34 CEST by Adrien D
Modified: 2016-05-07 13:44 CEST (History)
4 users (show)

See Also:
Source RPM: drakxtools-17.24-1.mga6
CVE:
Status comment:


Attachments

Description Adrien D 2016-03-27 20:34:08 CEST
Hi Team Mageia,

diskrake crash when i lanched it in the MCC or in command line :

The "drakdisk" program has crashed with the following error:

  Can't call method "get_children" on an undefined value at /usr/lib/libDrakX/diskdrake/hd_gtk.pm line 244.
  Perl's trace:
  drakbug::bug_handler() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:244
  diskdrake::hd_gtk::per_entry_action_box() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:292
  diskdrake::hd_gtk::current_entry_changed() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:98
  diskdrake::hd_gtk::__ANON__() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:124
  diskdrake::hd_gtk::main() called from /usr/libexec/drakdisk:93

Used theme: oxygen-gtk

To submit a bug report, click on the report button.  
This will open a web browser window on Bugzilla where you'll find a form to fill in.  The information displayed above will be transferred to that server
It would be very useful to attach to your report the output of the following command: 'lspcidrake -v'.
Adrien D 2016-03-27 20:34:17 CEST

CC: (none) => ghbdtn
Source RPM: (none) => drakxtools-curses-17.24-1.mga6
Whiteboard: (none) => drakxtools-curses-17.24-1.mga6

Comment 1 Marja Van Waes 2016-03-28 10:58:56 CEST
The similar bug 17484 got fixed

Please attach the output of (as root) 

   fdisk -l

CC: (none) => marja11
Assignee: bugsquad => thierry.vignaud
Summary: Drakdisk crash => Drakdisk crash (Can't call method "get_children" on an undefined value)
Source RPM: drakxtools-curses-17.24-1.mga6 => drakxtools-17.24-1.mga6
Whiteboard: drakxtools-curses-17.24-1.mga6 => (none)

Marja Van Waes 2016-03-28 10:59:07 CEST

Keywords: (none) => NEEDINFO

Comment 2 Thierry Vignaud 2016-03-31 12:37:33 CEST
Reproductable on some machines

Keywords: NEEDINFO => (none)
Status: NEW => ASSIGNED

Thierry Vignaud 2016-03-31 12:50:21 CEST

CC: (none) => tmb

Comment 3 Mageia Robot 2016-04-01 10:34:20 CEST
commit e44a107c6d3465a5f3afc9a5c243be86b341c099
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Fri Apr 1 10:21:50 2016 +0200

    fix displaying partitions (mga#18076)
    
    when there's only one disk, just add a dummy disk tab, then remove it.
    this fixes the reported crash
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=e44a107c6d3465a5f3afc9a5c243be86b341c099
Comment 4 Thierry Vignaud 2016-04-01 10:41:12 CEST
Fixed

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

Comment 5 Marja Van Waes 2016-05-07 13:44:21 CEST
*** Bug 18383 has been marked as a duplicate of this bug. ***

CC: (none) => spam.1


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