Hello, On my system, parted crashes with:
# parted /dev/sdb GNU Parted 3.2 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Backtrace has 15 calls on stack: 15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f638abdafc5] 14: /lib/x86_64-linux-gnu/libparted.so.2(+0x23b3f) [0x7f638abf1b3f] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x119fa) [0x7f638abdf9fa] 12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7f638abe0313] 11: /lib/x86_64-linux-gnu/libparted.so.2(+0x233ec) [0x7f638abf13ec] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7f638abf1480] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7f638abf1480] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x23426) [0x7f638abf1426] 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24455) [0x7f638abf2455] 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f638abdff18] 5: parted(+0x73fe) [0x55d13304c3fe] 4: parted(interactive_mode+0x120) [0x55d1330520b0] 3: parted(main+0x142b) [0x55d13304b1eb] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f638a3d82e1] 1: parted(_start+0x2a) [0x55d13304b24a] 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: [...] 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. Aborted # parted /dev/sdb unit co print unit s print Backtrace has 15 calls on stack: 15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f7887268fc5] [same as above] Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«