GNU bug report logs - #35306
crash in do_resizepart function

Previous Next

Package: parted;

Reported by: Jozef Mlich <imlich <at> fit.vutbr.cz>

Date: Wed, 17 Apr 2019 14:48:01 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 35306 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Phillip Susi <phill <at> thesusis.net>
Cc: Jozef Mlich <imlich <at> fit.vutbr.cz>, 35306 <at> debbugs.gnu.org
Subject: Re: bug#35306: crash in do_resizepart function
Date: Tue, 23 Apr 2019 11:49:17 -0700
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)




This bug report was last modified 6 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.