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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jozef Mlich <imlich <at> fit.vutbr.cz>
Subject: bug#35306: closed (Re: bug#35306: crash in do_resizepart function)
Date: Tue, 23 Apr 2019 21:22:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35306: crash in do_resizepart function

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 35306 <at> debbugs.gnu.org.

-- 
35306: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35306
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Brian C. Lane" <bcl <at> redhat.com>
To: Jozef Mlich <imlich <at> fit.vutbr.cz>
Cc: 35306-close <at> debbugs.gnu.org
Subject: Re: bug#35306: crash in do_resizepart function
Date: Tue, 23 Apr 2019 14:20:53 -0700
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=<optimized out>) at parted.c:1569
>         disk = 0x555555596df0
>         part = 0x555555597fa0
>         start = 0
>         end = 7958736
>         oldend = 7958736
>         range_end = 0x555555596c00
>         constraint = <optimized out>
>         rc = 0
>         end_input = 0x55555555f9b1 <str_list_match_any+65>
> "\211\350[]A\\\303\017\037\204"
> #2  0x0000555555562422 in non_interactive_mode (dev=0x7fffffffd128,
> disk=0x7fffffffd130, cmd_list=<optimized out>, argc=<optimized out>,
> argv=<optimized out>) at ui.c:1655
>         word = 0x555555599320 "\340\203YUUU"
>         i = <optimized out>
>         cmd = 0x555555570340
> #3  0x000055555555acc3 in main (argc=2, argv=0x7fffffffd268) at
> parted.c:2348
>         dev = <optimized out>
>         diskp = 0x555555596df0
>         status = <optimized out>
> 
> 
> 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)

[Message part 3 (message/rfc822, inline)]
From: Jozef Mlich <imlich <at> fit.vutbr.cz>
To: bug-parted <at> gnu.org
Subject: crash in do_resizepart function
Date: Wed, 17 Apr 2019 13:32:18 +0200
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=<optimized out>) at parted.c:1569
        disk = 0x555555596df0
        part = 0x555555597fa0
        start = 0
        end = 7958736
        oldend = 7958736
        range_end = 0x555555596c00
        constraint = <optimized out>
        rc = 0
        end_input = 0x55555555f9b1 <str_list_match_any+65>
"\211\350[]A\\\303\017\037\204"
#2  0x0000555555562422 in non_interactive_mode (dev=0x7fffffffd128,
disk=0x7fffffffd130, cmd_list=<optimized out>, argc=<optimized out>,
argv=<optimized out>) at ui.c:1655
        word = 0x555555599320 "\340\203YUUU"
        i = <optimized out>
        cmd = 0x555555570340
#3  0x000055555555acc3 in main (argc=2, argv=0x7fffffffd268) at
parted.c:2348
        dev = <optimized out>
        diskp = 0x555555596df0
        status = <optimized out>


I am using fedora 29 package parted-3.2-36.fc29.x86_64


-- Jozef Mlich <imlich <at> fit.vutbr.cz>




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.