Comment 9 for bug 1543704

Revision history for this message
Nishihama Kenkowo (hitobashira) wrote : Re: Gparted crashed on loading

I had similar, before 4Weeks, in ubuntu 16.04 beta.

Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.

----
libparted : 3.2
======================
Backtrace has 15 calls on stack:
  15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f23bb7fdea4]
  14: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e45f) [0x7f23bb81145f]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7f23bb8028ba]
  12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x25f) [0x7f23bb8031af]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd4f) [0x7f23bb810d4f]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dde0) [0x7f23bb810de0]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd89) [0x7f23bb810d89]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ed75) [0x7f23bb811d75]
  7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f23bb802dd8]
  6: /usr/sbin/gpartedbin() [0x466c0e]
  5: /usr/sbin/gpartedbin() [0x47555e]
  4: /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1(+0x4e67d) [0x7f23bcd0e67d]
  3: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x70b45) [0x7f23bbcc6b45]
  2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76fa) [0x7f23bab376fa]
  1: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f23ba86d2dd]
Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.
Aborted (core dumped)

----
$ sudo fdisk -l /dev/sda
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 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: 0x50632122

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 14336 209728574 209714239 100G 7 HPFS/NTFS/exFAT
/dev/sda2 209729536 250689535 40960000 19.5G 3 XENIX usr
/dev/sda3 250689536 291650473 40960938 19.5G 3 XENIX usr
/dev/sda4 291651583 500100343 208448761 99.4G f W95 Ext'd (LBA)
/dev/sda5 291651646 332625887 40974242 19.6G 83 Linux
/dev/sda6 332625888 353108699 20482812 9.8G 7 HPFS/NTFS/exFAT
/dev/sda7 353112064 500100343 146988280 70.1G 83 Linux