Backtrace has 15 calls on stack:
15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f58e0393644]
14: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7f58e03a6b26]
13: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7f58e03980aa]
12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) [0x7f58e03989a3]
11: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7f58e03a6405]
10: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f58e03a64a0]
9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f58e03a64a0]
8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7f58e03a643f]
7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7f58e03a7555]
6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f58e03985c8]
5: parted() [0x407769]
4: parted() [0x4069cf]
3: parted(main+0x11b2) [0x405f82]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f58dfb88b45]
1: parted() [0x405fc7]
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:
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:
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.
As much as I found searching aroud mentioned about partitions needing at least a sector in between eachother for metadata - is that it? Weird thing is that everything worked before I removed my Windows partition from the gap in between sda1 and sda3.