Subject: bug#35378: closed (Re: bug#35378: bug in parted)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 23 Apr 2019 17:52:02 +0000

Your bug report

#35378: bug in parted

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 [email-masked].

-- 
35378: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35378
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#35378: bug in parted
From: Phillip Susi <[email-masked]>
To: Mikhail Kagalenko <[email-masked]>
Cc: [email-masked]
Date: Tue, 23 Apr 2019 13:51:15 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Mikhail Kagalenko writes:
> Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in
> function add_logical_part_metadata() failed.

This happens because parted requires a space between logical partitions
to put the EBR.  Some other unknown parittioning tool under unknown
circumstances violates this constraint.

Subject: bug in parted
From: Mikhail Kagalenko <[email-masked]>
To: [email-masked]
Date: Mon, 22 Apr 2019 16:53:33 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

~% parted /dev/sda unit co print unit s print
Backtrace has 14 calls on stack:
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7efee1995fc5]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x23b3f) [0x7efee19acb3f]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x119fa) [0x7efee199a9fa]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283)
[0x7efee199b313]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x233ec) [0x7efee19ac3ec]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7efee19ac480]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x23426) [0x7efee19ac426]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24455) [0x7efee19ad455]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7efee199af18]
  5: parted(+0x73fe) [0x55e1c22293fe]
  4: parted(non_interactive_mode+0x92) [0x55e1c222f1c2]
  3: parted(main+0x12bf) [0x55e1c222807f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7efee11932e1]
  1: parted(_start+0x2a) [0x55e1c222824a]

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 (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in
function add_logical_part_metadata() failed.