This issue is able to be reproduced on Debian Sid. I used the same version of parted on Debian Sid to test on my Macmini, and encountered the same problem. Therefore it's not specific to Ubuntu xenial only. The details:
# uname -r
4.5.0-2-amd64
# dpkg -l |grep -i parted
ii libparted-fs-resize0:amd64 3.2-15.drbl1 amd64 disk partition manipulator - shared FS resizing library
ii libparted2:amd64 3.2-15.drbl1 amd64 disk partition manipulator - shared library
ii parted 3.2-15.drbl1 amd64 disk partition manipulator
# parted -s /dev/sda print
Model: ATA APPLE HDD HTS541 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
This issue is able to be reproduced on Debian Sid. I used the same version of parted on Debian Sid to test on my Macmini, and encountered the same problem. Therefore it's not specific to Ubuntu xenial only. The details:
# uname -r
4.5.0-2-amd64
# dpkg -l |grep -i parted fs-resize0: amd64 3.2-15.drbl1 amd64 disk partition manipulator - shared FS resizing library
ii libparted-
ii libparted2:amd64 3.2-15.drbl1 amd64 disk partition manipulator - shared library
ii parted 3.2-15.drbl1 amd64 disk partition manipulator
# parted -s /dev/sda print
Model: ATA APPLE HDD HTS541 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
*** Error in `parted': realloc(): invalid next size: 0x00005586856ddbb0 *** 64-linux- gnu/libc. so.6(+0x71fc5) [0x7f7346bcdfc5 ] 64-linux- gnu/libc. so.6(+0x77966) [0x7f7346bd3966 ] 64-linux- gnu/libc. so.6(+0x7a9d9) [0x7f7346bd69d9 ] 64-linux- gnu/libc. so.6(realloc+ 0x139)[ 0x7f7346bd7d79] 64-linux- gnu/libparted. so.2(xrealloc+ 0x16)[0x7f73473 a5be6] table_render+ 0xb6)[0x558683c e1506] +0x790d) [0x558683cdb90d ] non_interactive _mode+0x92) [0x558683ce1102 ] main+0x1238) [0x558683cda028 ] 64-linux- gnu/libc. so.6(__ libc_start_ main+0xf0) [0x7f7346b7c5f0 ] _start+ 0x29)[0x558683c da1d9]
======= Backtrace: =========
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
parted(
parted(
parted(
parted(
/lib/x86_
parted(
Steven