From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 17 10:47:25 2019 Received: (at submit) by debbugs.gnu.org; 17 Apr 2019 14:47:25 +0000 Received: from localhost ([127.0.0.1]:40557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGlqO-00010Z-Kj for submit@debbugs.gnu.org; Wed, 17 Apr 2019 10:47:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGinq-0002QN-PW for submit@debbugs.gnu.org; Wed, 17 Apr 2019 07:32:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:36600) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGinl-0002NM-LG for submit@debbugs.gnu.org; Wed, 17 Apr 2019 07:32:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGink-0001Us-Ka for bug-parted@gnu.org; Wed, 17 Apr 2019 07:32:29 -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,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 1hGinj-0002Iw-OR for bug-parted@gnu.org; Wed, 17 Apr 2019 07:32:28 -0400 Received: from kazi6.fit.vutbr.cz ([2001:67c:1220:808::93e5:80c]:45838 helo=kazi.fit.vutbr.cz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGinj-000285-1B for bug-parted@gnu.org; Wed, 17 Apr 2019 07:32:27 -0400 Received: from jmlich-dell.greycortex.com (gw.greycortex.com [195.113.243.75]) (authenticated bits=0) by kazi.fit.vutbr.cz (8.15.2/8.15.2) with ESMTPSA id x3HBWJ14034754 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Apr 2019 13:32:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fit.vutbr.cz; s=mx1; t=1555500740; bh=5xMvZ+e4yI9azGrXySj6w2WyZqr9vtXnxPRNpuClApU=; h=Subject:From:To:Date; b=tXYVKg4mObW1FzeZpeZrkeAbuh2FksX7YV2ra6Zv+QSn4yeOKm53OxyuFxt7M3P3S Ze4KZxZwqYsddLNxX2a4eFF0GV6GDAk891aGc8VRfzmCsFxq7fhotOwKFYxXroVscS AOLKnXljxYkWDKYPKzuQJDKYrCG/fmfB2zYwH14w= Message-ID: Subject: crash in do_resizepart function From: Jozef Mlich To: bug-parted@gnu.org Date: Wed, 17 Apr 2019 13:32:18 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:67c:1220:808::93e5:80c X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 17 Apr 2019 10:47:22 -0400 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 (---) Hi, I was trying to resize partition in image file and it ended with crash /usr/sbin/parted ./rootfs.img resizepart 1 (gdb) bt full #0 0x00007ffff7d79123 in free () from /lib64/libc.so.6 No symbol table info available. #1 0x000055555555e00e in do_resizepart (dev=0x7fffffffd128, diskp=) at parted.c:1569 disk = 0x555555596df0 part = 0x555555597fa0 start = 0 end = 7958736 oldend = 7958736 range_end = 0x555555596c00 constraint = rc = 0 end_input = 0x55555555f9b1 "\211\350[]A\\\303\017\037\204" #2 0x0000555555562422 in non_interactive_mode (dev=0x7fffffffd128, disk=0x7fffffffd130, cmd_list=, argc=, argv=) at ui.c:1655 word = 0x555555599320 "\340\203YUUU" i = cmd = 0x555555570340 #3 0x000055555555acc3 in main (argc=2, argv=0x7fffffffd268) at parted.c:2348 dev = diskp = 0x555555596df0 status = I am using fedora 29 package parted-3.2-36.fc29.x86_64 -- Jozef Mlich From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 23 13:53:48 2019 Received: (at 35306) by debbugs.gnu.org; 23 Apr 2019 17:53:48 +0000 Received: from localhost ([127.0.0.1]:54302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIzc4-0005Vi-GA for submit@debbugs.gnu.org; Tue, 23 Apr 2019 13:53:48 -0400 Received: from ec2-34-202-238-73.compute-1.amazonaws.com ([34.202.238.73]:47062 helo=vps.thesusis.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIzc3-0005VX-2J for 35306@debbugs.gnu.org; Tue, 23 Apr 2019 13:53:47 -0400 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id CB616288F4; Tue, 23 Apr 2019 13:53:41 -0400 (EDT) Received: from vps.thesusis.net ([127.0.0.1]) by localhost (ip-172-26-1-203.ec2.internal [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C4C1SScnn1vq; Tue, 23 Apr 2019 13:53:41 -0400 (EDT) Received: by vps.thesusis.net (Postfix, from userid 1000) id 91DAE288E7; Tue, 23 Apr 2019 13:53:41 -0400 (EDT) References: User-agent: mu4e 0.9.18; emacs 25.2.2 From: Phillip Susi To: Jozef Mlich Subject: Re: bug#35306: crash in do_resizepart function In-reply-to: Date: Tue, 23 Apr 2019 13:53:41 -0400 Message-ID: <87wojkd2vu.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 35306 Cc: 35306@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: -0.6 (/) Can you provide a copy of your partition table so that we can try to reproduce this? Jozef Mlich writes: > Hi, > > I was trying to resize partition in image file and it ended with crash > > /usr/sbin/parted ./rootfs.img resizepart 1 > (gdb) bt full > #0 0x00007ffff7d79123 in free () from /lib64/libc.so.6 > No symbol table info available. > #1 0x000055555555e00e in do_resizepart (dev=0x7fffffffd128, From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 23 14:49:29 2019 Received: (at 35306) by debbugs.gnu.org; 23 Apr 2019 18:49:30 +0000 Received: from localhost ([127.0.0.1]:54357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJ0Tx-0006nl-Ky for submit@debbugs.gnu.org; Tue, 23 Apr 2019 14:49:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJ0Tv-0006nY-C8 for 35306@debbugs.gnu.org; Tue, 23 Apr 2019 14:49:28 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2FA09CA364; Tue, 23 Apr 2019 18:49:21 +0000 (UTC) Received: from lister.brianlane.com (ovpn-112-24.phx2.redhat.com [10.3.112.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 52F665D719; Tue, 23 Apr 2019 18:49:20 +0000 (UTC) Date: Tue, 23 Apr 2019 11:49:17 -0700 From: "Brian C. Lane" To: Phillip Susi Subject: Re: bug#35306: crash in do_resizepart function Message-ID: <20190423184917.GF3794@lister.brianlane.com> References: <87wojkd2vu.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wojkd2vu.fsf@vps.thesusis.net> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 23 Apr 2019 18:49:21 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 35306 Cc: Jozef Mlich , 35306@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: -6.0 (------) On Tue, Apr 23, 2019 at 01:53:41PM -0400, Phillip Susi wrote: > Can you provide a copy of your partition table so that we can try to > reproduce this? > > Jozef Mlich writes: > > > Hi, > > > > I was trying to resize partition in image file and it ended with crash > > > > /usr/sbin/parted ./rootfs.img resizepart 1 > > (gdb) bt full > > #0 0x00007ffff7d79123 in free () from /lib64/libc.so.6 > > No symbol table info available. > > #1 0x000055555555e00e in do_resizepart (dev=0x7fffffffd128, It's easy to reproduce, just run it like this: parted -s ./disk.img resizepart 1 Or without -s and hit enter at the default prompt. Something is wrong with the handling of the *end_input I think (looking into it now). -- Brian C. Lane (PST8PDT) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 23 17:21:04 2019 Received: (at 35306-close) by debbugs.gnu.org; 23 Apr 2019 21:21:04 +0000 Received: from localhost ([127.0.0.1]:54479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJ2qe-0006Gx-LT for submit@debbugs.gnu.org; Tue, 23 Apr 2019 17:21:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJ2qc-0006G6-BU for 35306-close@debbugs.gnu.org; Tue, 23 Apr 2019 17:21:03 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 06BE63078AD9; Tue, 23 Apr 2019 21:20:56 +0000 (UTC) Received: from lister.brianlane.com (ovpn-112-24.phx2.redhat.com [10.3.112.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7DCA05C239; Tue, 23 Apr 2019 21:20:55 +0000 (UTC) Date: Tue, 23 Apr 2019 14:20:53 -0700 From: "Brian C. Lane" To: Jozef Mlich Subject: Re: bug#35306: crash in do_resizepart function Message-ID: <20190423212053.GG3794@lister.brianlane.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 23 Apr 2019 21:20:56 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 35306-close Cc: 35306-close@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: -6.0 (------) On Wed, Apr 17, 2019 at 01:32:18PM +0200, Jozef Mlich wrote: > Hi, > > I was trying to resize partition in image file and it ended with crash > > /usr/sbin/parted ./rootfs.img resizepart 1 > (gdb) bt full > #0 0x00007ffff7d79123 in free () from /lib64/libc.so.6 > No symbol table info available. > #1 0x000055555555e00e in do_resizepart (dev=0x7fffffffd128, > diskp=) at parted.c:1569 > disk = 0x555555596df0 > part = 0x555555597fa0 > start = 0 > end = 7958736 > oldend = 7958736 > range_end = 0x555555596c00 > constraint = > rc = 0 > end_input = 0x55555555f9b1 > "\211\350[]A\\\303\017\037\204" > #2 0x0000555555562422 in non_interactive_mode (dev=0x7fffffffd128, > disk=0x7fffffffd130, cmd_list=, argc=, > argv=) at ui.c:1655 > word = 0x555555599320 "\340\203YUUU" > i = > cmd = 0x555555570340 > #3 0x000055555555acc3 in main (argc=2, argv=0x7fffffffd268) at > parted.c:2348 > dev = > diskp = 0x555555596df0 > status = > > > I am using fedora 29 package parted-3.2-36.fc29.x86_64 patches are on the parted-devel mailing list. Ends up it was an uninitialized pointer. -- Brian C. Lane (PST8PDT) From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 24 10:44:16 2019 Received: (at 35306-close) by debbugs.gnu.org; 24 Apr 2019 14:44:16 +0000 Received: from localhost ([127.0.0.1]:56161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJJ89-00045M-D7 for submit@debbugs.gnu.org; Wed, 24 Apr 2019 10:44:16 -0400 Received: from kazi.fit.vutbr.cz ([147.229.8.12]:26261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJDHt-0007cg-EI for 35306-close@debbugs.gnu.org; Wed, 24 Apr 2019 04:29:55 -0400 Received: from jmlich-dell.greycortex.com (gw.greycortex.com [195.113.243.75]) (authenticated bits=0) by kazi.fit.vutbr.cz (8.15.2/8.15.2) with ESMTPSA id x3O8TlBj092062 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 24 Apr 2019 10:29:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fit.vutbr.cz; s=mx1; t=1556094590; bh=92nuiTxJHa8fQ8cpFG/1OKbEeHev68Is0cbnJZ8VhRk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=jxNXIJhiE78IigDML8jvyvrfhH8yW59L+kD+8GvQ0l3apnEjDMjIEjfvwC9gTwtWl 3fGLagvSzVaJ6V4+oBJhr99SYWhkNKZU3ilKCKanAZy7gdPyT55JVfOY+EYvzOhcqT 0npAEkrJWCfCJZHbHvE8W0oA+rehh+nY20grnEFQ= Message-ID: <17769230680e06409080c613f06a6e8e374d5ee5.camel@fit.vutbr.cz> Subject: Re: bug#35306: crash in do_resizepart function From: Jozef Mlich To: "Brian C. Lane" Date: Wed, 24 Apr 2019 10:29:47 +0200 In-Reply-To: <20190423212053.GG3794@lister.brianlane.com> References: <20190423212053.GG3794@lister.brianlane.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35306-close X-Mailman-Approved-At: Wed, 24 Apr 2019 10:44:12 -0400 Cc: 35306-close@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: -1.0 (-) On Tue, 2019-04-23 at 14:20 -0700, Brian C. Lane wrote: > On Wed, Apr 17, 2019 at 01:32:18PM +0200, Jozef Mlich wrote: > > Hi, > > > > I was trying to resize partition in image file and it ended with > > crash > > > > /usr/sbin/parted ./rootfs.img resizepart 1 > > (gdb) bt full > > #0 0x00007ffff7d79123 in free () from /lib64/libc.so.6 > > No symbol table info available. > > #1 0x000055555555e00e in do_resizepart (dev=0x7fffffffd128, > > diskp=) at parted.c:1569 > > disk = 0x555555596df0 > > part = 0x555555597fa0 > > start = 0 > > end = 7958736 > > oldend = 7958736 > > range_end = 0x555555596c00 > > constraint = > > rc = 0 > > end_input = 0x55555555f9b1 > > "\211\350[]A\\\303\017\037\204" > > #2 0x0000555555562422 in non_interactive_mode (dev=0x7fffffffd128, > > disk=0x7fffffffd130, cmd_list=, argc= > out>, > > argv=) at ui.c:1655 > > word = 0x555555599320 "\340\203YUUU" > > i = > > cmd = 0x555555570340 > > #3 0x000055555555acc3 in main (argc=2, argv=0x7fffffffd268) at > > parted.c:2348 > > dev = > > diskp = 0x555555596df0 > > status = > > > > > > I am using fedora 29 package parted-3.2-36.fc29.x86_64 > > patches are on the parted-devel mailing list. Ends up it was an > uninitialized pointer. > thanks -- Jozef Mlich From unknown Wed Sep 10 21:37:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 May 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator