bug#29051: Error in `parted': realloc(): invalid next size

Seth Finkelstein <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
On the Samsung Galaxy TabPro S tablet, "parted /dev/sda print" crashes
with an error such as:

*** Error in `parted': realloc(): invalid next size: 0x000055cf7d3f3200 ***

This is using clonezilla-live-20171024-artful-amd64.iso
http://clonezilla.org/downloads.php

root@artful:~# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA LITEON CV1-8B128 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

*** Error in `parted': realloc(): invalid next size: 0x00005590d5252c00 ***
Aborted

	I hope the following information helps:

root@artful:~# uname -a
Linux artful 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

root@artful:~# fdisk -l /dev/sda
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 74742138-9879-4263-8AF3-146959FA3F9B

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    468991    262144   128M Microsoft reserved
/dev/sda3     468992 227284991 226816000 108.2G Microsoft basic data
/dev/sda4  227284992 228308991   1024000   500M Windows recovery environment
/dev/sda5  228308992 247971839  19662848   9.4G Windows recovery environment
/dev/sda6  247971840 250068991   2097152     1G Windows recovery environment

root@artful:~# smartctl -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.13.0-16-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     LITEON CV1-8B128
Serial Number:    002603102KU6
Firmware Version: G872002
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Oct 28 22:48:09 2017 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Thanks for any help,
-- 
Seth Finkelstein
sethf put-at-sign-here sethf.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.