GNU bug report logs - #50848
parted crash using ‘print list’

Previous Next

Package: parted;

Reported by: Mark Kraska <Mark.Kraska <at> centaurihs.com>

Date: Mon, 27 Sep 2021 14:10:02 UTC

Severity: normal

To reply to this bug, email your comments to 50848 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#50848; Package parted. (Mon, 27 Sep 2021 14:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Kraska <Mark.Kraska <at> centaurihs.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Mon, 27 Sep 2021 14:10:02 GMT) Full text and rfc822 format available.

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

From: Mark Kraska <Mark.Kraska <at> centaurihs.com>
To: "bug-parted <at> gnu.org" <bug-parted <at> gnu.org>
Subject: parted crash using  ‘print list’
Date: Mon, 27 Sep 2021 12:32:36 +0000
[Message part 1 (text/plain, inline)]
Parted crashed on me using  ‘print list’

Checking version I found…

…parted is already the newest version (3.2-15ubuntu0.1).

(parted) print list
Backtrace has 11 calls on stack:
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fe62d898e94]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1c97e) [0x7fe62d8aa97e]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ca84) [0x7fe62d8aaa84]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e280) [0x7fe62d8ac280]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7fe62d89d8ba]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_set_flag+0x68) [0x7fe62d89ded8]
  5: parted(+0x7309) [0x5606c90c6309]
  4: parted(interactive_mode+0x120) [0x5606c90cc000]
  3: parted(main+0x1386) [0x5606c90c5186]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fe62d075840]
  1: parted(_start+0x29) [0x5606c90c51e9]


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (3.2)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (part->disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0) at ../../../libparted/labels/dos.c:589 in function probe_filesystem_for_geom() failed.

Aborted (core dumped)



Mark Kraska
Process Automation, Software Engineering



Disclaimer: The information contained in this transmission and any attachments may contain privileged and confidential information including patient information protected by federal and state privacy laws. This transmission is sent for the sole use of the intended recipient. If you are not the intended recipient, please immediately (1) notify the sender via reply email; (2) do not open or read the message or any attachments; and (3) delete this message and any attachments. The review, dissemination, distribution, or duplication of this transmission by anyone other than the intended recipient is strictly prohibited.
[Message part 2 (text/html, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#50848; Package parted. (Mon, 27 Sep 2021 22:03:02 GMT) Full text and rfc822 format available.

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

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Mark Kraska <Mark.Kraska <at> centaurihs.com>
Cc: 50848 <at> debbugs.gnu.org
Subject: Re: bug#50848: parted crash using ‘print list’
Date: Mon, 27 Sep 2021 15:02:29 -0700
On Mon, Sep 27, 2021 at 12:32:36PM +0000, Mark Kraska wrote:
> Parted crashed on me using  ‘print list’
> 
> Assertion (part->disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0) at ../../../libparted/labels/dos.c:589 in function probe_filesystem_for_geom() failed.

Do any all commands fail? What does the dmesg output have to say about
that disk? That looks to me like a hardware or kernel error, the sector
size reported by the disk or kernel isn't divisible by 512.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





This bug report was last modified 3 years and 39 days ago.

Previous Next


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