The crash can also be reproduced even without an real device, replace /dev/sdc with a normal file name, such as './block', can also reproduce it.
Here is the crash output from parted:
WARNING: you are attempting to use parted to operate on (mkpartfs) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs. We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Backtrace has 9 calls on stack:
9: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f9823b0b4b1]
8: /lib/x86_64-linux-gnu/libparted.so.0(+0x25cc3) [0x7f9823b21cc3]
7: /lib/x86_64-linux-gnu/libparted.so.0(fat_create+0x189) [0x7f9823b24f49]
6: /lib/x86_64-linux-gnu/libparted.so.0(ped_file_system_create+0x51) [0x7f9823b0cef1]
5: parted() [0x409cbc]
4: parted(non_interactive_mode+0x8f) [0x40dc5f]
3: parted(main+0x146d) [0x4064ed]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f98232e8ec5]
1: parted() [0x406617]
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:
The crash can also be reproduced even without an real device, replace /dev/sdc with a normal file name, such as './block', can also reproduce it.
Here is the crash output from parted:
WARNING: you are attempting to use parted to operate on (mkpartfs) a file system. specific packages like e2fsprogs. We recommend 64-linux- gnu/libparted. so.0(ped_ assert+ 0x31) [0x7f9823b0b4b1] 64-linux- gnu/libparted. so.0(+0x25cc3) [0x7f9823b21cc3] 64-linux- gnu/libparted. so.0(fat_ create+ 0x189) [0x7f9823b24f49] 64-linux- gnu/libparted. so.0(ped_ file_system_ create+ 0x51) [0x7f9823b0cef1] non_interactive _mode+0x8f) [0x40dc5f] 64-linux- gnu/libc. so.6(__ libc_start_ main+0xf5) [0x7f98232e8ec5]
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Backtrace has 9 calls on stack:
9: /lib/x86_
8: /lib/x86_
7: /lib/x86_
6: /lib/x86_
5: parted() [0x409cbc]
4: parted(
3: parted(main+0x146d) [0x4064ed]
2: /lib/x86_
1: parted() [0x406617]
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 (2.3)
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 (bs != NULL) at ../../. ./../libparted/ fs/fat/ bootsector. c:282 in function fat_boot_ sector_ set_boot_ code() failed.