I have a HP ProBook 470 G2, 750GB disk. Formatted by manufacturer, then
repartioned by gparted 3.2 on Fedora 20 x86_64. The original windows
partitions have been resized and moved to make way for a Fedora 22 (TC4)
install.

During start of the Fedora installer (Anaconda), a backtrace occurs in
libparted.

I've created a live USB stick and booted that, which succeeds on the
machine.

Trying many parted commands fails with the same error. The information
from command just generates the same backtrace:
---
Backtrace has 19 calls on stack:
  19: /lib64/libparted.so.2(ped_assert+0x44) [0x7f8a48fda2f4]
  18: /lib64/libparted.so.2(+0x20506) [0x7f8a48fed506]
  17: /lib64/libparted.so.2(+0x11d5a) [0x7f8a48fded5a]
  16: /lib64/libparted.so.2(ped_disk_add_partition+0x263) [0x7f8a48fdf653]
  15: /lib64/libparted.so.2(+0x1fde5) [0x7f8a48fecde5]
  14: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  13: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  12: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  11: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  10: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  9: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  8: /lib64/libparted.so.2(+0x1fe1f) [0x7f8a48fece1f]
  7: /lib64/libparted.so.2(+0x20dd5) [0x7f8a48feddd5]
  6: /lib64/libparted.so.2(ped_disk_new+0x49) [0x7f8a48fdf279]
  5: parted() [0x407719]
  4: parted(interactive_mode+0xff) [0x40c9ef]
  3: parted(main+0x119f) [0x405f1f]
  2: /lib64/libc.so.6(__libc_start_main+0xf0) [0x7f8a487b9790]
  1: parted() [0x405f77]
---

I can post the MBR data somewhere if that is useful. (tell me what you
need).

Dave.
[root@localhost liveuser]# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Backtrace has 19 calls on stack:
  19: /lib64/libparted.so.2(ped_assert+0x44) [0x7f8a48fda2f4]
  18: /lib64/libparted.so.2(+0x20506) [0x7f8a48fed506]
  17: /lib64/libparted.so.2(+0x11d5a) [0x7f8a48fded5a]
  16: /lib64/libparted.so.2(ped_disk_add_partition+0x263) [0x7f8a48fdf653]
  15: /lib64/libparted.so.2(+0x1fde5) [0x7f8a48fecde5]
  14: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  13: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  12: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  11: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  10: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  9: /lib64/libparted.so.2(+0x1fe80) [0x7f8a48fece80]
  8: /lib64/libparted.so.2(+0x1fe1f) [0x7f8a48fece1f]
  7: /lib64/libparted.so.2(+0x20dd5) [0x7f8a48feddd5]
  6: /lib64/libparted.so.2(ped_disk_new+0x49) [0x7f8a48fdf279]
  5: parted() [0x407719]
  4: parted(interactive_mode+0xff) [0x40c9ef]
  3: parted(main+0x119f) [0x405f1f]
  2: /lib64/libc.so.6(__libc_start_main+0xf0) [0x7f8a487b9790]
  1: parted() [0x405f77]


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (3.2)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (metadata_length > 0) at dos.c:2305 in function
add_logical_part_metadata() failed.

Aborted (core dumped)                                                     
[root@localhost liveuser]# parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: USB Flash Disk (scsi)
Disk /dev/sdb: 4010MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  2005MB  2005MB  primary  fat16        boot

(parted) print devices                                                    
/dev/sdb (4010MB)
/dev/sda (750GB)
(parted) print free
Model: USB Flash Disk (scsi)
Disk /dev/sdb: 4010MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  2005MB  2005MB  primary  fat16        boot
        2005MB  4010MB  2005MB           Free Space

(parted) print list
Model: USB Flash Disk (scsi)
Disk /dev/sdb: 4010MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  2005MB  2005MB  primary  fat16        boot


Backtrace has 20 calls on stack:
  20: /lib64/libparted.so.2(ped_assert+0x44) [0x7f4cad7ea2f4]
  19: /lib64/libparted.so.2(+0x20506) [0x7f4cad7fd506]
  18: /lib64/libparted.so.2(+0x11d5a) [0x7f4cad7eed5a]
  17: /lib64/libparted.so.2(ped_disk_add_partition+0x263) [0x7f4cad7ef653]
  16: /lib64/libparted.so.2(+0x1fde5) [0x7f4cad7fcde5]
  15: /lib64/libparted.so.2(+0x1fe80) [0x7f4cad7fce80]
  14: /lib64/libparted.so.2(+0x1fe80) [0x7f4cad7fce80]
  13: /lib64/libparted.so.2(+0x1fe80) [0x7f4cad7fce80]
  12: /lib64/libparted.so.2(+0x1fe80) [0x7f4cad7fce80]
  11: /lib64/libparted.so.2(+0x1fe80) [0x7f4cad7fce80]
  10: /lib64/libparted.so.2(+0x1fe80) [0x7f4cad7fce80]
  9: /lib64/libparted.so.2(+0x1fe1f) [0x7f4cad7fce1f]
  8: /lib64/libparted.so.2(+0x20dd5) [0x7f4cad7fddd5]
  7: /lib64/libparted.so.2(ped_disk_new+0x49) [0x7f4cad7ef279]
  6: parted() [0x407719]
  5: parted() [0x40697f]
  4: parted() [0x4070b7]
  3: parted(interactive_mode+0xff) [0x40c9ef]
  2: parted(main+0x119f) [0x405f1f]
  1: /lib64/libc.so.6(__libc_start_main+0xf0) [0x7f4cacfc9790]


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (3.2)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (metadata_length > 0) at dos.c:2305 in function
add_logical_part_metadata() failed.

Aborted (core dumped)                                                     

---- trying with fdisk:

[root@localhost liveuser]# fdisk -l
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 1465149168 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
Disklabel type: dos
Disk identifier: 0x25eceef1

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048    2101247    2099200     1G  7 HPFS/NTFS/exFAT
/dev/sda2          2101248  237621247  235520000 112.3G  7 HPFS/NTFS/exFAT
/dev/sda3        237621248  442419199  204797952  97.7G  7 HPFS/NTFS/exFAT
/dev/sda4        442421248 1465147391 1022726144 487.7G  5 Extended
/dev/sda5        442423296  444518399    2095104  1023M 83 Linux
/dev/sda6        444520448  530536447   86016000    41G 83 Linux
/dev/sda7        530538496  608362495   77824000  37.1G 83 Linux
/dev/sda8        608364544  948332543  339968000 162.1G  7 HPFS/NTFS/exFAT
/dev/sda9        948334592 1077358591  129024000  61.5G  7 HPFS/NTFS/exFAT
/dev/sda10      1077360640 1462691839  385331200 183.8G  7 HPFS/NTFS/exFAT
/dev/sda11      1462691840 1465147391    2455552   1.2G  b W95 FAT32




Disk /dev/sdb: 3.8 GiB, 4009754624 bytes, 7831552 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: 0xc3072e18

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *       32 3915775 3915744  1.9G  6 FAT16


Disk /dev/loop0: 12 KiB, 12288 bytes, 24 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


Disk /dev/loop1: 1.8 MiB, 1875968 bytes, 3664 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


Disk /dev/loop2: 1.3 GiB, 1350864896 bytes, 2638408 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


Disk /dev/loop3: 6 GiB, 6442450944 bytes, 12582912 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


Disk /dev/loop4: 512 MiB, 536870912 bytes, 1048576 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


Disk /dev/mapper/live-rw: 6 GiB, 6442450944 bytes, 12582912 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


Disk /dev/mapper/live-base: 6 GiB, 6442450944 bytes, 12582912 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


Disk /dev/mapper/live-osimg-min: 6 GiB, 6442450944 bytes, 12582912 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

Reply via email to