Comment 1 for bug 1586923

Revision history for this message
Steven Shiau (stevenshiau) wrote :

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:

*** Error in `parted': realloc(): invalid next size: 0x00005586856ddbb0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x71fc5)[0x7f7346bcdfc5]
/lib/x86_64-linux-gnu/libc.so.6(+0x77966)[0x7f7346bd3966]
/lib/x86_64-linux-gnu/libc.so.6(+0x7a9d9)[0x7f7346bd69d9]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x139)[0x7f7346bd7d79]
/lib/x86_64-linux-gnu/libparted.so.2(xrealloc+0x16)[0x7f73473a5be6]
parted(table_render+0xb6)[0x558683ce1506]
parted(+0x790d)[0x558683cdb90d]
parted(non_interactive_mode+0x92)[0x558683ce1102]
parted(main+0x1238)[0x558683cda028]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f7346b7c5f0]
parted(_start+0x29)[0x558683cda1d9]

Steven