From unknown Fri Jun 20 20:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38620: parted: invalid pointer Resent-From: frederik@ofb.net Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Sun, 15 Dec 2019 07:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38620 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 38620@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Reply-To: frederik@ofb.net Received: via spool by submit@debbugs.gnu.org id=B.157639652223037 (code B ref -1); Sun, 15 Dec 2019 07:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2019 07:55:22 +0000 Received: from localhost ([127.0.0.1]:35969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igOkL-0005zV-LS for submit@debbugs.gnu.org; Sun, 15 Dec 2019 02:55:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:54341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igOkJ-0005zJ-Kc for submit@debbugs.gnu.org; Sun, 15 Dec 2019 02:55:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55232) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igOkI-0005vJ-2k for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:19 -0500 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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igOkG-0006Tj-Mp for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:17 -0500 Received: from egnor-li.ofb.net ([2600:3c01:e000:283::1]:43970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igOkG-0006QP-90 for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:16 -0500 Received: from ofb.net (163.242.197.104.bc.googleusercontent.com [104.197.242.163]) by egnor-li.ofb.net (Postfix) with ESMTP id 5852F117F5F for ; Sun, 15 Dec 2019 07:55:14 +0000 (UTC) Received: from localhost.localdomain (unknown [135.180.116.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ofb.net (Postfix) with ESMTPSA id 1916C3E892; Sat, 14 Dec 2019 23:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ofb.net; s=ofb; t=1576396514; bh=vxN+ohHxELZ5eHGtIj+f8NH+bqDYZrB7Cxh0coCx1Bo=; h=Date:From:To:Subject:Reply-To:From; b=K+YIoWHLTFHgJTlPhYFa8YqAGpCTVrpZKxlrNXYwmMfrPazqHAXC6lEEfOVUBOmEr hKN/+or7KgSgjoo4HnuQiRkZSnIf6pA3avWmNRojD2s44zJmNVBhIRRdN1aEIyeLZX vQHOvHbrXOoXrUbLuoYzyITCeYmx5KEE3Oz586vTAb2Y72lmaWNwxn9UdzuELDtSi9 VZRFqmIq7k2vd92Id5CDiCI3yu9aw5txWxShQWSU7YRzzm89fr1dIeWZ/S5b1zhnnh zdX3OPPym5fs4gkZZj3/f6gn19+goE1/FB536OY+kalnAwzKIWk1sjogDGBfNMwV4y rKFVV62Eystsw== Received: from frederik by localhost.localdomain with local (Exim 4.92.3) (envelope-from ) id 1igOkD-000hm1-GT; Sat, 14 Dec 2019 23:55:13 -0800 Date: Sat, 14 Dec 2019 23:55:13 -0800 From: frederik@ofb.net Message-ID: <20191215075513.pffgtk4jdmnbglja@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01:e000:283::1 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'm running Arch and get a "free(): invalid pointer": $ parted -v parted (GNU parted) 3.3 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by . I just hit "enter" when it prompts me for the end of the partition: $ sudo parted /dev/sdc GNU Parted 3.3 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Model: RICOH R5U880FlashMedia (scsi) Disk /dev/sdc: 63.9GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 273MB 268MB primary fat32 lba 2 273MB 15.9GB 15.7GB primary ext4 (parted) resizepart 2 End? [15.9GB]? free(): invalid pointer zsh: abort sudo parted /dev/sdc Thanks. From unknown Fri Jun 20 20:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38620: parted: invalid pointer Resent-From: "Brian C. Lane" Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Mon, 16 Dec 2019 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38620 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 38620-done@debbugs.gnu.org Cc: 38620@debbugs.gnu.org Received: via spool by 38620-submit@debbugs.gnu.org id=B38620.15765238332790 (code B ref 38620); Mon, 16 Dec 2019 19:18:01 +0000 Received: (at 38620) by debbugs.gnu.org; 16 Dec 2019 19:17:13 +0000 Received: from localhost ([127.0.0.1]:40367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igvrk-0000iv-N9 for submit@debbugs.gnu.org; Mon, 16 Dec 2019 14:17:12 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:23666 helo=us-smtp-1.mimecast.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igvri-0000ih-OB for 38620@debbugs.gnu.org; Mon, 16 Dec 2019 14:17:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576523830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I7sl+NTOOPBq+NFt/23GUUayFQWpPhx8x9CCl8Y2q+c=; b=ETBT+oA3YzXAbXhg6vXb+KuNZZREo5NgNh6oh7cOvMWJucLuBuNavEau3rjBjdDqGNmluF VDettRPSK8WGdv9PQZAHxky06DGcLHSrc4w9GtGodgKfA8jk25//J1paMjxSKfpv7V2WO6 MAjMimRqpCu6ckEHlL8D24VVRtjHUMM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-236-pWFxOaNUO0eL2rtA8AZg6w-1; Mon, 16 Dec 2019 14:17:08 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 256461800D7B; Mon, 16 Dec 2019 19:17:07 +0000 (UTC) Received: from lister.brianlane.com (ovpn-112-23.phx2.redhat.com [10.3.112.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 90B7E1001B35; Mon, 16 Dec 2019 19:17:06 +0000 (UTC) Date: Mon, 16 Dec 2019 11:17:03 -0800 From: "Brian C. Lane" Message-ID: <20191216191703.GB62501@lister.brianlane.com> References: <20191215075513.pffgtk4jdmnbglja@localhost> MIME-Version: 1.0 In-Reply-To: <20191215075513.pffgtk4jdmnbglja@localhost> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: pWFxOaNUO0eL2rtA8AZg6w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Sat, Dec 14, 2019 at 11:55:13PM -0800, frederik@ofb.net wrote: > I'm running Arch and get a "free(): invalid pointer": >=20 > $ parted -v > parted (GNU parted) 3.3 > Copyright (C) 2019 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later . > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. >=20 > Written by . >=20 > I just hit "enter" when it prompts me for the end of the partition: >=20 > $ sudo parted /dev/sdc > GNU Parted 3.3 > Using /dev/sdc > Welcome to GNU Parted! Type 'help' to view a list of commands. > (parted) p > Model: RICOH R5U880FlashMedia (scsi) > Disk /dev/sdc: 63.9GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > Disk Flags: >=20 > Number Start End Size Type File system Flags > 1 4194kB 273MB 268MB primary fat32 lba > 2 273MB 15.9GB 15.7GB primary ext4 >=20 > (parted) resizepart 2 > End? [15.9GB]? > free(): invalid pointer > zsh: abort sudo parted /dev/sdc Thanks, that should be fixed by https://github.com/bcl/parted/commit/883813= c365482d06d05a1998e066792c48156f23 which I'll push today. --=20 Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From unknown Fri Jun 20 20:12:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: frederik@ofb.net Subject: bug#38620: closed (Re: bug#38620: parted: invalid pointer) Message-ID: References: <20191216191703.GB62501@lister.brianlane.com> <20191215075513.pffgtk4jdmnbglja@localhost> X-Gnu-PR-Message: they-closed 38620 X-Gnu-PR-Package: parted Reply-To: 38620@debbugs.gnu.org Date: Mon, 16 Dec 2019 19:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1576523882-2877-1" This is a multi-part message in MIME format... ------------=_1576523882-2877-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38620: parted: invalid pointer which was filed against the parted package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38620@debbugs.gnu.org. --=20 38620: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38620 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1576523882-2877-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38620-done) by debbugs.gnu.org; 16 Dec 2019 19:17:15 +0000 Received: from localhost ([127.0.0.1]:40369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igvrn-0000j4-09 for submit@debbugs.gnu.org; Mon, 16 Dec 2019 14:17:15 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:22466 helo=us-smtp-1.mimecast.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igvrj-0000ip-UG for 38620-done@debbugs.gnu.org; Mon, 16 Dec 2019 14:17:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576523831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I7sl+NTOOPBq+NFt/23GUUayFQWpPhx8x9CCl8Y2q+c=; b=BOGeUWdtdLefNjvA5jLIIfAOKXSB/wLwKQRHVPDveKgJuoTVwYMyWFYQ2qAit1nuHjefes rLLzWriM9t034PdPnwjpbo8pByMlkBCmix+7eNtttZpwGizsRBNSx9U8IB7ZMOWi1WVwPx uUI9hcj1pW+cq32zgNmA4luRITjEeeQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-236-pWFxOaNUO0eL2rtA8AZg6w-1; Mon, 16 Dec 2019 14:17:08 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 256461800D7B; Mon, 16 Dec 2019 19:17:07 +0000 (UTC) Received: from lister.brianlane.com (ovpn-112-23.phx2.redhat.com [10.3.112.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 90B7E1001B35; Mon, 16 Dec 2019 19:17:06 +0000 (UTC) Date: Mon, 16 Dec 2019 11:17:03 -0800 From: "Brian C. Lane" To: 38620-done@debbugs.gnu.org Subject: Re: bug#38620: parted: invalid pointer Message-ID: <20191216191703.GB62501@lister.brianlane.com> References: <20191215075513.pffgtk4jdmnbglja@localhost> MIME-Version: 1.0 In-Reply-To: <20191215075513.pffgtk4jdmnbglja@localhost> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: pWFxOaNUO0eL2rtA8AZg6w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38620-done Cc: 38620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Sat, Dec 14, 2019 at 11:55:13PM -0800, frederik@ofb.net wrote: > I'm running Arch and get a "free(): invalid pointer": >=20 > $ parted -v > parted (GNU parted) 3.3 > Copyright (C) 2019 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later . > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. >=20 > Written by . >=20 > I just hit "enter" when it prompts me for the end of the partition: >=20 > $ sudo parted /dev/sdc > GNU Parted 3.3 > Using /dev/sdc > Welcome to GNU Parted! Type 'help' to view a list of commands. > (parted) p > Model: RICOH R5U880FlashMedia (scsi) > Disk /dev/sdc: 63.9GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > Disk Flags: >=20 > Number Start End Size Type File system Flags > 1 4194kB 273MB 268MB primary fat32 lba > 2 273MB 15.9GB 15.7GB primary ext4 >=20 > (parted) resizepart 2 > End? [15.9GB]? > free(): invalid pointer > zsh: abort sudo parted /dev/sdc Thanks, that should be fixed by https://github.com/bcl/parted/commit/883813= c365482d06d05a1998e066792c48156f23 which I'll push today. --=20 Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ------------=_1576523882-2877-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Dec 2019 07:55:22 +0000 Received: from localhost ([127.0.0.1]:35969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igOkL-0005zV-LS for submit@debbugs.gnu.org; Sun, 15 Dec 2019 02:55:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:54341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igOkJ-0005zJ-Kc for submit@debbugs.gnu.org; Sun, 15 Dec 2019 02:55:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55232) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igOkI-0005vJ-2k for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:19 -0500 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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igOkG-0006Tj-Mp for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:17 -0500 Received: from egnor-li.ofb.net ([2600:3c01:e000:283::1]:43970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igOkG-0006QP-90 for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:16 -0500 Received: from ofb.net (163.242.197.104.bc.googleusercontent.com [104.197.242.163]) by egnor-li.ofb.net (Postfix) with ESMTP id 5852F117F5F for ; Sun, 15 Dec 2019 07:55:14 +0000 (UTC) Received: from localhost.localdomain (unknown [135.180.116.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ofb.net (Postfix) with ESMTPSA id 1916C3E892; Sat, 14 Dec 2019 23:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ofb.net; s=ofb; t=1576396514; bh=vxN+ohHxELZ5eHGtIj+f8NH+bqDYZrB7Cxh0coCx1Bo=; h=Date:From:To:Subject:Reply-To:From; b=K+YIoWHLTFHgJTlPhYFa8YqAGpCTVrpZKxlrNXYwmMfrPazqHAXC6lEEfOVUBOmEr hKN/+or7KgSgjoo4HnuQiRkZSnIf6pA3avWmNRojD2s44zJmNVBhIRRdN1aEIyeLZX vQHOvHbrXOoXrUbLuoYzyITCeYmx5KEE3Oz586vTAb2Y72lmaWNwxn9UdzuELDtSi9 VZRFqmIq7k2vd92Id5CDiCI3yu9aw5txWxShQWSU7YRzzm89fr1dIeWZ/S5b1zhnnh zdX3OPPym5fs4gkZZj3/f6gn19+goE1/FB536OY+kalnAwzKIWk1sjogDGBfNMwV4y rKFVV62Eystsw== Received: from frederik by localhost.localdomain with local (Exim 4.92.3) (envelope-from ) id 1igOkD-000hm1-GT; Sat, 14 Dec 2019 23:55:13 -0800 Date: Sat, 14 Dec 2019 23:55:13 -0800 From: frederik@ofb.net To: bug-parted@gnu.org Subject: parted: invalid pointer Message-ID: <20191215075513.pffgtk4jdmnbglja@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01:e000:283::1 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: frederik@ofb.net Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'm running Arch and get a "free(): invalid pointer": $ parted -v parted (GNU parted) 3.3 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by . I just hit "enter" when it prompts me for the end of the partition: $ sudo parted /dev/sdc GNU Parted 3.3 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Model: RICOH R5U880FlashMedia (scsi) Disk /dev/sdc: 63.9GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 273MB 268MB primary fat32 lba 2 273MB 15.9GB 15.7GB primary ext4 (parted) resizepart 2 End? [15.9GB]? free(): invalid pointer zsh: abort sudo parted /dev/sdc Thanks. ------------=_1576523882-2877-1--