X-Loop: help-debbugs@HIDDEN Subject: bug#29051: Error in `parted': realloc(): invalid next size Resent-From: Seth Finkelstein <sethf@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Sun, 29 Oct 2017 03:47:02 +0000 Resent-Message-ID: <handler.29051.B.1509248772613 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 29051 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 29051 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.1509248772613 (code B ref -1); Sun, 29 Oct 2017 03:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2017 03:46:12 +0000 Received: from localhost ([127.0.0.1]:39651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1e8eY7-00009o-FN for submit <at> debbugs.gnu.org; Sat, 28 Oct 2017 23:46:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sethf@HIDDEN>) id 1e8eOH-0008LL-Qd for submit <at> debbugs.gnu.org; Sat, 28 Oct 2017 23:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <sethf@HIDDEN>) id 1e8eOB-0004Y6-CW for submit <at> debbugs.gnu.org; Sat, 28 Oct 2017 23:35:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <sethf@HIDDEN>) id 1e8eOB-0004Xt-91 for submit <at> debbugs.gnu.org; Sat, 28 Oct 2017 23:35:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <sethf@HIDDEN>) id 1e8eO9-0000EK-Pf for bug-parted@HIDDEN; Sat, 28 Oct 2017 23:35:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <sethf@HIDDEN>) id 1e8eO6-0004Vz-MH for bug-parted@HIDDEN; Sat, 28 Oct 2017 23:35:53 -0400 Received: from sethf.com ([96.126.106.28]:34490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <sethf@HIDDEN>) id 1e8eO6-0004VW-I6 for bug-parted@HIDDEN; Sat, 28 Oct 2017 23:35:50 -0400 Received: by sethf.com (Postfix, from userid 3607) id 718E4C38E; Sat, 28 Oct 2017 23:35:48 -0400 (EDT) Date: Sat, 28 Oct 2017 23:35:48 -0400 From: Seth Finkelstein <sethf@HIDDEN> Message-ID: <20171029033548.GB12288@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Sat, 28 Oct 2017 23:46:09 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Seth Finkelstein <sethf@HIDDEN> Subject: bug#29051: Acknowledgement (Error in `parted': realloc(): invalid next size) Message-ID: <handler.29051.B.1509248772613.ack <at> debbugs.gnu.org> References: <20171029033548.GB12288@HIDDEN> X-Gnu-PR-Message: ack 29051 X-Gnu-PR-Package: parted Reply-To: 29051 <at> debbugs.gnu.org Date: Sun, 29 Oct 2017 03:47:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 29051 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 29051: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29051 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#29051: Error in `parted': realloc(): invalid next size Resent-From: Phil Susi <psusi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 03 Nov 2017 13:20:02 +0000 Resent-Message-ID: <handler.29051.B29051.15097151662728 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 29051 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Seth Finkelstein <sethf@HIDDEN>, 29051 <at> debbugs.gnu.org Received: via spool by 29051-submit <at> debbugs.gnu.org id=B29051.15097151662728 (code B ref 29051); Fri, 03 Nov 2017 13:20:02 +0000 Received: (at 29051) by debbugs.gnu.org; 3 Nov 2017 13:19:26 +0000 Received: from localhost ([127.0.0.1]:48882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eAbsc-0000hw-Cp for submit <at> debbugs.gnu.org; Fri, 03 Nov 2017 09:19:26 -0400 Received: from ec2-34-202-238-73.compute-1.amazonaws.com ([34.202.238.73]:43816 helo=vps.thesusis.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <psusi@HIDDEN>) id 1eAbsa-0000hj-Mo for 29051 <at> debbugs.gnu.org; Fri, 03 Nov 2017 09:19:24 -0400 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id A4BC524157; Fri, 3 Nov 2017 08:43:24 -0400 (EDT) Received: from vps.thesusis.net ([IPv6:::1]) by localhost (vps.thesusis.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 2zaay8Nsj4XO; Fri, 3 Nov 2017 08:43:24 -0400 (EDT) Received: from [10.1.1.181] (unknown [97.68.109.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: psusi) by vps.thesusis.net (Postfix) with ESMTPSA id 4AC7424155; Fri, 3 Nov 2017 08:43:24 -0400 (EDT) References: <20171029033548.GB12288@HIDDEN> From: Phil Susi <psusi@HIDDEN> Message-ID: <41138548-eb15-1396-a6b9-d9cb26ec8242@HIDDEN> Date: Fri, 3 Nov 2017 08:43:22 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171029033548.GB12288@HIDDEN> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iVgLDUTxEPGJeLOpOCw5bJaHQmBXqkSkP" X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.4 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iVgLDUTxEPGJeLOpOCw5bJaHQmBXqkSkP Content-Type: multipart/mixed; boundary="090OWcj6sVku36BQrfDUQRUeQlIkdv7vx"; protected-headers="v1" From: Phil Susi <psusi@HIDDEN> To: Seth Finkelstein <sethf@HIDDEN>, 29051 <at> debbugs.gnu.org Message-ID: <41138548-eb15-1396-a6b9-d9cb26ec8242@HIDDEN> Subject: Re: bug#29051: Error in `parted': realloc(): invalid next size References: <20171029033548.GB12288@HIDDEN> In-Reply-To: <20171029033548.GB12288@HIDDEN> --090OWcj6sVku36BQrfDUQRUeQlIkdv7vx Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 10/28/2017 11:35 PM, Seth Finkelstein wrote: > On the Samsung Galaxy TabPro S tablet, "parted /dev/sda print" crashes > with an error such as: >=20 > *** Error in `parted': realloc(): invalid next size: 0x000055cf7d3f3200= *** Can you run dd if=3D/dev/sda of=3Ddump count=3D64, then gzip dump, and po= st the resulting dump.gz file for analysis? --090OWcj6sVku36BQrfDUQRUeQlIkdv7vx-- --iVgLDUTxEPGJeLOpOCw5bJaHQmBXqkSkP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJZ/GRrAAoJENsuw7lhAP6E48oIAJzieesF5AqRD4TJ2HlWAZK/ bbcF8MWsOqo+/h6Z8rvMfwY8Cij22fNywoLATMQrOPx909fBGKgPW8+49Q1X1bk1 xQdSoX4WwlAuTlE6yMP+5bRtkAuqxXlzramvhA6XXVBx0irf2sLiNCZlM97DV6r7 tiNB8IsDR6IjW7g1SUOu6la3q89lbY61UZ5a4knfY+4nGCljo8+7F3+YoCkLMr3h WMySpQH/eXx/mNIE8AMb3/IIRshnmi3nbv3m5mD4jblOCd3bUMnyk4oyzQp7eDVS hN2GXRI3vDjPRqB8upEmFpLpiokBjkWPTYDzr5qjXfS4nMS9LBxesi2rkdEz1dI= =vKUC -----END PGP SIGNATURE----- --iVgLDUTxEPGJeLOpOCw5bJaHQmBXqkSkP--
X-Loop: help-debbugs@HIDDEN Subject: bug#29051: Error in `parted': realloc(): invalid next size References: <20171029033548.GB12288@HIDDEN> Resent-From: Seth Finkelstein <sethf@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 17 Nov 2017 16:28:02 +0000 Resent-Message-ID: <handler.29051.B29051.151093604112121 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 29051 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Phil Susi <psusi@HIDDEN> Cc: 29051 <at> debbugs.gnu.org Received: via spool by 29051-submit <at> debbugs.gnu.org id=B29051.151093604112121 (code B ref 29051); Fri, 17 Nov 2017 16:28:02 +0000 Received: (at 29051) by debbugs.gnu.org; 17 Nov 2017 16:27:21 +0000 Received: from localhost ([127.0.0.1]:45194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eFjU8-00039R-T6 for submit <at> debbugs.gnu.org; Fri, 17 Nov 2017 11:27:21 -0500 Received: from sethf.com ([96.126.106.28]:56540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sethf@HIDDEN>) id 1eFciE-0007nU-Bn for 29051 <at> debbugs.gnu.org; Fri, 17 Nov 2017 04:13:26 -0500 Received: by sethf.com (Postfix, from userid 3607) id D39F1C759; Fri, 17 Nov 2017 04:13:25 -0500 (EST) Date: Fri, 17 Nov 2017 04:13:25 -0500 From: Seth Finkelstein <sethf@HIDDEN> Message-ID: <20171117091325.GA30499@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41138548-eb15-1396-a6b9-d9cb26ec8242@HIDDEN> User-Agent: Mutt/1.5.20 (2009-12-10) X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Fri, 17 Nov 2017 11:27:20 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On Fri, Nov 03, 2017 at 08:43:22AM -0400, Phil Susi wrote: > On 10/28/2017 11:35 PM, Seth Finkelstein wrote: > > 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 *** > > Can you run dd if=/dev/sda of=dump count=64, then gzip dump, and post > the resulting dump.gz file for analysis? Here it is, in base64 format: H4sICPekDloCA2R1bXAA7dxdSFNhHMfxZ5PekA16j248FtgqugoiELLZJtgaDV8YhUSHOdeiNvMs bRfWoqAXQqGkEomWdCVlVJA2xZdAZHRTgV5EFCRhFIrgRenN6dl2LpYEZS9g8P3Ac57zP885z++c 83BujxD4H9mvfipI9WYxqeu6Se7JTp/vLJUdzpJSxWMvqxDCJKrkkd7RvJWpEZNxxoNn49ZUv8Go m4x6Z34kEr3pK748vSp4YLaozWyMx4x2+uOgi1Va+GzalsG8r6+WJ1wintyVLExYDvc9bnjt6mws LP/Sc/2GWJo5T9+Uk31ZzClKRKlQhCaiskWEXxyXVa1QRZ2sgukWFqGf5q8ZS45V5Xa7zzbObJsy r+6MNVt3bF32fG97RfnFR4t6W4Utx8hf8l2+W87vk1lhmR4WNTJPkZVfVn7Z18tt9S/dT3v8xecP T7c7LgwcedJV0Do8svlUdCj/nCs+u+edY8XBS8KWydXXXrFkX1csZ9bS96DIJFXOr/7W89/taXn7 cvFu952j/SOm6Oi9fUO5RbqpxXVtamL9+eJok1iXydW72ixZ32XMGwxVhxs0pcz5Z+s/Nz/0fuOb iUMN+x9am6u99mmL6M7k6v3D1uz8Mr8vXO+viyoONaL+xXzXicT9mVtxt13zHfPXBk+KgUyu3j9u /dHze5x8wwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYH5KHOUV2XXg9pnJ9I7x36N/q7LDXRNw BNWAR9U0FgMAAAAAAAAAAAAAAAAAAACYw+vhHQBYGL4Bgh7gGQCAAAA= Also, here is a crash from a different system, Mageia 6 live x86_64: # uname -a Linux localhost 4.9.35-desktop-1.mga6 #1 SMP Thu Jun 29 19:27:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux # parted /dev/sda 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: 0x0000000001aaa370 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x72435)[0x7fa721459435] /lib64/libc.so.6(+0x7e0a1)[0x7fa7214650a1] /lib64/libc.so.6(realloc+0x184)[0x7fa7214660a4] /lib64/libparted.so.2(xrealloc+0x16)[0x7fa721c4e096] parted(table_render+0xac)[0x40cf6c] parted[0x4076cd] parted(non_interactive_mode+0x92)[0x40cb82] parted(main+0x106f)[0x405fbf] /lib64/libc.so.6(__libc_start_main+0xf0)[0x7fa721407600] parted(_start+0x29)[0x406149] ======= Memory map: ======== 00400000-00412000 r-xp 00000000 07:00 56556 /usr/sbin/parted 00611000-00612000 r--p 00011000 07:00 56556 /usr/sbin/parted 00612000-00613000 rw-p 00012000 07:00 56556 /usr/sbin/parted 00613000-00614000 rw-p 00000000 00:00 0 01a84000-01b4f000 rw-p 00000000 00:00 0 [heap] 7fa714000000-7fa714021000 rw-p 00000000 00:00 0 7fa714021000-7fa718000000 ---p 00000000 00:00 0 7fa71a0fd000-7fa71a113000 r-xp 00000000 07:00 31121 /usr/lib64/libgcc_s-5.4.0.so.1 7fa71a113000-7fa71a312000 ---p 00016000 07:00 31121 /usr/lib64/libgcc_s-5.4.0.so.1 7fa71a312000-7fa71a313000 r--p 00015000 07:00 31121 /usr/lib64/libgcc_s-5.4.0.so.1 7fa71a313000-7fa71a314000 rw-p 00016000 07:00 31121 /usr/lib64/libgcc_s-5.4.0.so.1 7fa71a314000-7fa7201eb000 r--p 00000000 07:00 164673 /usr/share/locale/locale-archive 7fa7201eb000-7fa7201ee000 r-xp 00000000 07:00 30935 /usr/lib64/libdl-2.22.so 7fa7201ee000-7fa7203ed000 ---p 00003000 07:00 30935 /usr/lib64/libdl-2.22.so 7fa7203ed000-7fa7203ee000 r--p 00002000 07:00 30935 /usr/lib64/libdl-2.22.so 7fa7203ee000-7fa7203ef000 rw-p 00003000 07:00 30935 /usr/lib64/libdl-2.22.so 7fa7203ef000-7fa7204ee000 r-xp 00000000 07:00 31704 /usr/lib64/libm-2.22.so 7fa7204ee000-7fa7206ed000 ---p 000ff000 07:00 31704 /usr/lib64/libm-2.22.so 7fa7206ed000-7fa7206ee000 r--p 000fe000 07:00 31704 /usr/lib64/libm-2.22.so 7fa7206ee000-7fa7206ef000 rw-p 000ff000 07:00 31704 /usr/lib64/libm-2.22.so 7fa7206ef000-7fa720707000 r-xp 00000000 07:00 32065 /usr/lib64/libpthread-2.22.so 7fa720707000-7fa720906000 ---p 00018000 07:00 32065 /usr/lib64/libpthread-2.22.so 7fa720906000-7fa720907000 r--p 00017000 07:00 32065 /usr/lib64/libpthread-2.22.so 7fa720907000-7fa720908000 rw-p 00018000 07:00 32065 /usr/lib64/libpthread-2.22.so 7fa720908000-7fa72090c000 rw-p 00000000 00:00 0 7fa72090c000-7fa720913000 r-xp 00000000 07:00 45346 /usr/lib64/librt-2.22.so 7fa720913000-7fa720b12000 ---p 00007000 07:00 45346 /usr/lib64/librt-2.22.so 7fa720b12000-7fa720b13000 r--p 00006000 07:00 45346 /usr/lib64/librt-2.22.so 7fa720b13000-7fa720b14000 rw-p 00007000 07:00 45346 /usr/lib64/librt-2.22.so 7fa720b14000-7fa720b4d000 r-xp 00000000 07:00 31787 /usr/lib64/libncursesw.so.6.0 7fa720b4d000-7fa720d4c000 ---p 00039000 07:00 31787 /usr/lib64/libncursesw.so.6.0 7fa720d4c000-7fa720d4d000 r--p 00038000 07:00 31787 /usr/lib64/libncursesw.so.6.0 7fa720d4d000-7fa720d4e000 rw-p 00039000 07:00 31787 /usr/lib64/libncursesw.so.6.0 7fa720d4e000-7fa720d52000 r-xp 00000000 07:00 45531 /usr/lib64/libuuid.so.1.3.0 7fa720d52000-7fa720f51000 ---p 00004000 07:00 45531 /usr/lib64/libuuid.so.1.3.0 7fa720f51000-7fa720f52000 r--p 00003000 07:00 45531 /usr/lib64/libuuid.so.1.3.0 7fa720f52000-7fa720f53000 rw-p 00004000 07:00 45531 /usr/lib64/libuuid.so.1.3.0 7fa720f53000-7fa720f8e000 r-xp 00000000 07:00 30724 /usr/lib64/libblkid.so.1.1.0 7fa720f8e000-7fa72118d000 ---p 0003b000 07:00 30724 /usr/lib64/libblkid.so.1.1.0 7fa72118d000-7fa721191000 r--p 0003a000 07:00 30724 /usr/lib64/libblkid.so.1.1.0 7fa721191000-7fa721192000 rw-p 0003e000 07:00 30724 /usr/lib64/libblkid.so.1.1.0 7fa721192000-7fa721193000 rw-p 00000000 00:00 0 7fa721193000-7fa7211e2000 r-xp 00000000 07:00 30920 /usr/lib64/libdevmapper.so.1.02 7fa7211e2000-7fa7213e2000 ---p 0004f000 07:00 30920 /usr/lib64/libdevmapper.so.1.02 7fa7213e2000-7fa7213e3000 r--p 0004f000 07:00 30920 /usr/lib64/libdevmapper.so.1.02 7fa7213e3000-7fa7213e6000 rw-p 00050000 07:00 30920 /usr/lib64/libdevmapper.so.1.02 7fa7213e6000-7fa7213e7000 rw-p 00000000 00:00 0 7fa7213e7000-7fa721590000 r-xp 00000000 07:00 30755 /usr/lib64/libc-2.22.so 7fa721590000-7fa721790000 ---p 001a9000 07:00 30755 /usr/lib64/libc-2.22.so 7fa721790000-7fa721794000 r--p 001a9000 07:00 30755 /usr/lib64/libc-2.22.so 7fa721794000-7fa721796000 rw-p 001ad000 07:00 30755 /usr/lib64/libc-2.22.so 7fa721796000-7fa72179a000 rw-p 00000000 00:00 0 7fa72179a000-7fa7217cd000 r-xp 00000000 07:00 45486 /usr/lib64/libtinfo.so.6.0 7fa7217cd000-7fa7219cd000 ---p 00033000 07:00 45486 /usr/lib64/libtinfo.so.6.0 7fa7219cd000-7fa7219d1000 r--p 00033000 07:00 45486 /usr/lib64/libtinfo.so.6.0 7fa7219d1000-7fa7219d2000 rw-p 00037000 07:00 45486 /usr/lib64/libtinfo.so.6.0 7fa7219d2000-7fa7219d3000 rw-p 00000000 00:00 0 7fa7219d3000-7fa721a13000 r-xp 00000000 07:00 32110 /usr/lib64/libreadline.so.6.3 7fa721a13000-7fa721c13000 ---p 00040000 07:00 32110 /usr/lib64/libreadline.so.6.3 7fa721c13000-7fa721c15000 r--p 00040000 07:00 32110 /usr/lib64/libreadline.so.6.3 7fa721c15000-7fa721c1b000 rw-p 00042000 07:00 32110 /usr/lib64/libreadline.so.6.3 7fa721c1b000-7fa721c1d000 rw-p 00000000 00:00 0 7fa721c1d000-7fa721c61000 r-xp 00000000 07:00 31969 /usr/lib64/libparted.so.2.0.1 7fa721c61000-7fa721e61000 ---p 00044000 07:00 31969 /usr/lib64/libparted.so.2.0.1 7fa721e61000-7fa721e63000 r--p 00044000 07:00 31969 /usr/lib64/libparted.so.2.0.1 7fa721e63000-7fa721e65000 rw-p 00046000 07:00 31969 /usr/lib64/libparted.so.2.0.1 7fa721e65000-7fa721e69000 rw-p 00000000 00:00 0 7fa721e69000-7fa721e89000 r-xp 00000000 07:00 30423 /usr/lib64/ld-2.22.so 7fa72204b000-7fa722050000 rw-p 00000000 00:00 0 7fa722050000-7fa72206d000 r-xp 00000000 07:00 45502 /usr/lib64/libudev.so.1.6.4 7fa72206d000-7fa72206e000 ---p 0001d000 07:00 45502 /usr/lib64/libudev.so.1.6.4 7fa72206e000-7fa72206f000 r--p 0001d000 07:00 45502 /usr/lib64/libudev.so.1.6.4 7fa72206f000-7fa722070000 rw-p 0001e000 07:00 45502 /usr/lib64/libudev.so.1.6.4 7fa722070000-7fa722073000 rw-p 00000000 00:00 0 7fa72207e000-7fa722080000 rw-p 00000000 00:00 0 7fa722080000-7fa722087000 r--s 00000000 07:00 29289 /usr/lib64/gconv/gconv-modules.cache 7fa722087000-7fa722088000 rw-p 00000000 00:00 0 7fa722088000-7fa722089000 r--p 0001f000 07:00 30423 /usr/lib64/ld-2.22.so 7fa722089000-7fa72208a000 rw-p 00020000 07:00 30423 /usr/lib64/ld-2.22.so 7fa72208a000-7fa72208b000 rw-p 00000000 00:00 0 7ffc0fe3e000-7ffc0fe5f000 rw-p 00000000 00:00 0 [stack] 7ffc0ff75000-7ffc0ff77000 r--p 00000000 00:00 0 [vvar] 7ffc0ff77000-7ffc0ff79000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped)
X-Loop: help-debbugs@HIDDEN Subject: bug#29051: Error in `parted': realloc(): invalid next size Resent-From: Phil Susi <psusi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Fri, 08 Dec 2017 19:17:02 +0000 Resent-Message-ID: <handler.29051.B29051.151276056816699 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 29051 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Seth Finkelstein <sethf@HIDDEN> Cc: 29051 <at> debbugs.gnu.org Received: via spool by 29051-submit <at> debbugs.gnu.org id=B29051.151276056816699 (code B ref 29051); Fri, 08 Dec 2017 19:17:02 +0000 Received: (at 29051) by debbugs.gnu.org; 8 Dec 2017 19:16:08 +0000 Received: from localhost ([127.0.0.1]:52890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eNO80-0004LH-5J for submit <at> debbugs.gnu.org; Fri, 08 Dec 2017 14:16:08 -0500 Received: from ec2-34-202-238-73.compute-1.amazonaws.com ([34.202.238.73]:54386 helo=vps.thesusis.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <psusi@HIDDEN>) id 1eNO7y-0004Kd-Ol for 29051 <at> debbugs.gnu.org; Fri, 08 Dec 2017 14:16:07 -0500 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id 3E3C022E5B; Fri, 8 Dec 2017 14:16:01 -0500 (EST) Received: from vps.thesusis.net ([IPv6:::1]) by localhost (vps.thesusis.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id HuP-C9AodfvR; Fri, 8 Dec 2017 14:16:01 -0500 (EST) Received: from [10.1.1.181] (unknown [97.68.109.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: psusi) by vps.thesusis.net (Postfix) with ESMTPSA id CF8A822E59; Fri, 8 Dec 2017 14:16:00 -0500 (EST) References: <20171029033548.GB12288@HIDDEN> <20171117091325.GA30499@HIDDEN> From: Phil Susi <psusi@HIDDEN> Message-ID: <a9cd0642-9ba4-6263-0f67-0656975eea7b@HIDDEN> Date: Fri, 8 Dec 2017 14:15:56 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171117091325.GA30499@HIDDEN> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xn85RV5bEu2lqcNO3n21ObV3V9MTJ2mQH" X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.4 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xn85RV5bEu2lqcNO3n21ObV3V9MTJ2mQH Content-Type: multipart/mixed; boundary="HOQ1v1uIwajWsp00Bk2lhJUMOiLpueOst"; protected-headers="v1" From: Phil Susi <psusi@HIDDEN> To: Seth Finkelstein <sethf@HIDDEN> Cc: 29051 <at> debbugs.gnu.org Message-ID: <a9cd0642-9ba4-6263-0f67-0656975eea7b@HIDDEN> Subject: Re: bug#29051: Error in `parted': realloc(): invalid next size References: <20171029033548.GB12288@HIDDEN> <20171117091325.GA30499@HIDDEN> In-Reply-To: <20171117091325.GA30499@HIDDEN> --HOQ1v1uIwajWsp00Bk2lhJUMOiLpueOst Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/17/2017 4:13 AM, Seth Finkelstein wrote: > Here it is, in base64 format: Thanks. It appears that you have some non printing characters in your partition names. parted/table.c was using wcswidth() to check the width of the name in characters, but this function returns -1 if there are non printable characters, and that causes parted to add one extra space of padding and overflow the string buffer. I'll post a patch to fix that momentarily. On a related note, after fixing it I noticed that the columns in the table still do not line up right. It looks like these kanji? characters are extra wide so they push the next column over more than parted expects and pads for. Isn't that not supposed to happen when you are using a fixed width font? --HOQ1v1uIwajWsp00Bk2lhJUMOiLpueOst-- --xn85RV5bEu2lqcNO3n21ObV3V9MTJ2mQH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJaKuTvAAoJENsuw7lhAP6Ey1cIAM8DePeMxlnjDYgWYNRlTfvf HWUhTt80yxMl2GvrnYSuxazi5+nzAHb+8g0k5/a/EQlDg9qE9uUjDDVNeBBYSqBC MWD6gh0SKWoyWtfF38lcDlJOxARmyXcTA2lwS+rGtCZU2NFjtfKjQrI/LBsOnNU+ iw9Unj4g9TNCm+veOziRz4wepnMN0k/pCv6IYiTpZ/mtqb/v9OJWQvtyhCAxCNrJ VT1OfPVG++JKbLzxhOUx09Rqjxt29PcyyFQSSl5m6+ju0GHBRhr2uzbVTSqnBcmf RLFT9170VIimjLR94O0HSAPtJunAHMGupGHw6hAEWLWso1XJgEJUvk0AZ33vpUA= =V8Lu -----END PGP SIGNATURE----- --xn85RV5bEu2lqcNO3n21ObV3V9MTJ2mQH--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.