~% parted /dev/sda unit co print unit s print Backtrace has 14 calls on stack: 14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7efee1995fc5] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x23b3f) [0x7efee19acb3f] 12: /lib/x86_64-linux-gnu/libparted.so.2(+0x119fa) [0x7efee199a9fa] 11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7efee199b313] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x233ec) [0x7efee19ac3ec] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7efee19ac480] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x23426) [0x7efee19ac426] 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24455) [0x7efee19ad455] 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7efee199af18] 5: parted(+0x73fe) [0x55e1c22293fe] 4: parted(non_interactive_mode+0x92) [0x55e1c222f1c2] 3: parted(main+0x12bf) [0x55e1c222807f] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7efee11932e1] 1: parted(_start+0x2a) [0x55e1c222824a]
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 ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.