Subject: parted crash using ‘print list’

From: Mark Kraska <[email-masked]>
Date: Mon, 27 Sep 2021 12:32:36 +0000

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.