When stracing processes of those commands, both are stuck printing couple of strings over and over again:
"Error: Can't have a partition outside the disk!\nnew_size=7962886144 but resulting size, 7961022464, smaller than requested\n"
I'll be happy to provide more information if needed.
I stumbled upon this bug when erasing USB-key with Startup Disk Creator, and found out following:
These commands consume 100% CPU: udisks/ udisks- daemon helper- modify- partition /dev/sdb 1048576 7962886144 0x0c boot
/usr/lib/
udisks-
When stracing processes of those commands, both are stuck printing couple of strings over and over again: size=7962886144 but resulting size, 7961022464, smaller than requested\n"
"Error: Can't have a partition outside the disk!\nnew_
I'll be happy to provide more information if needed.