Bug 17484 - drakdisk crashed (Can't call method "get_children" on an undefined value)
Summary: drakdisk crashed (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: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Pascal Terjan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17564
  Show dependency treegraph
 
Reported: 2016-01-13 02:40 CET by Nic Baxter
Modified: 2016-01-22 09:33 CET (History)
2 users (show)

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


Attachments

Description Nic Baxter 2016-01-13 02:40:21 CET
The "drakdisk" program crashed. Drakbug-17.12 caught it.

Upgraded Mga5 running in vm to Cauldron
In MCC clicked on Manage disk partitions

Can't call method "get_children" on an undefined value at /usr/lib/libDrakX/diskdrake/hd_gtk.pm line 279.
Perl's trace:
drakbug::bug_handler() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:279
diskdrake::hd_gtk::current_kind_changed() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:97
diskdrake::hd_gtk::__ANON__() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:121
diskdrake::hd_gtk::main() called from /usr/libexec/drakdisk:93

Theme name: Adwaita
Kernel version = 4.4.0-desktop-1.mga6
Distribution=Mageia release 6 (Cauldron) for x86_64
CPU=Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
Marja Van Waes 2016-01-13 09:23:33 CET

CC: (none) => marja11, thierry.vignaud
Assignee: bugsquad => pterjan
Summary: drakdisk crashed => drakdisk crashed (Can't call method "get_children" on an undefined value)
Source RPM: drakxtools-curses-17.12-1.mga6 => drakxtools-17.12-1.mga6

Comment 1 Thierry Vignaud 2016-01-14 15:16:38 CET
Did you have something unusual? RAID? LVM?

Keywords: (none) => NEEDINFO

Comment 2 Nic Baxter 2016-01-15 01:14:27 CET
sudo fdisk -l
[sudo] password for nic: 
Disk /dev/ram0: 31.3 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 31.3 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

--snip --

Disk /dev/ram15: 31.3 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot    Start      End  Sectors Size Id Type
/dev/sda1  *        2048 35567909 35565862  17G 83 Linux
/dev/sda2       35571690 41929649  6357960   3G  5 Extended
/dev/sda5       35571712 41929649  6357938   3G 82 Linux swap / Solaris


# Entry for /dev/sda1 :
UUID=f3153e85-af8c-4593-8c94-440b1ecf09e1 / ext4 relatime,acl 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=1d785a73-3895-448f-bf5d-c277840f46c4 swap swap defaults 0 0

I will create a new Mga5 vm and upgrade it to see if it is reproducible.
Comment 3 Nic Baxter 2016-01-16 04:11:46 CET
I create a new vm from Mageia-5-x86_64-DVD.iso and updated to latest. Then did upgrade to cauldron. Report reproduced. Anything else I can check?

Nic

Keywords: NEEDINFO => (none)

Comment 4 Nic Baxter 2016-01-16 08:35:27 CET
just to make it more interesting. I added another drive to the vm and restartec. Running mcc then manage local disks works. I partitioned and formatted the new drive. drakdisk in terminal gives the same get children error. 

Any idea what might be happening. I thought they were the same command just launched differently.

I then shutdown the vm, removed the extra drive and restarted. Now mcc and drakdisk both fail again with the 'get children error'
Comment 5 Mageia Robot 2016-01-16 09:33:00 CET
commit f11b3b7e50d03d9cf435bc9ec7532947ee95204f
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Sat Jan 16 09:32:13 2016 +0100

    fix crash (mga#17484)
    
    it looks like newer gtk+ fires some signals too early
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=f11b3b7e50d03d9cf435bc9ec7532947ee95204f
Comment 6 Thierry Vignaud 2016-01-16 09:36:19 CET
Closing

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

Thierry Vignaud 2016-01-22 09:33:40 CET

Blocks: (none) => 17564


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