GNU bug report logs - #35073
New bug?

Previous Next

Package: parted;

Reported by: Arno - <arnobugs <at> hotmail.com>

Date: Mon, 1 Apr 2019 20:41:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35073 in the body.
You can then email your comments to 35073 AT debbugs.gnu.org in the normal way.

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#35073; Package parted. (Mon, 01 Apr 2019 20:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arno - <arnobugs <at> hotmail.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Mon, 01 Apr 2019 20:41:01 GMT) Full text and rfc822 format available.

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

From: Arno - <arnobugs <at> hotmail.com>
To: "bug-parted <at> gnu.org" <bug-parted <at> gnu.org>
Subject: New bug?
Date: Mon, 1 Apr 2019 20:08:33 +0000
[Message part 1 (text/plain, inline)]
Hi,

I'm not sure if this is a bug or a wrong partition table or something else.
Please read and can you give me advise what to do next?

I'm resizing and moving partitions.
First when starting gparted (systemrescuecd 5.3.2) I got

Assertion (metadata_length > 0) [....] in function add_logical_part_metadata() failed.

and gparted doesn't start

Upgraded to systemrescuecd 6.0.2
gparted (0.33.0) starts but I can't resize the last partition.

parted (version 3.2, option p) displays

Error: Can't have the end before the start! (start sector=83890176 length=0)

fdisk -lu is ok as far as I can see. Starts and ends of partitions are ascending. All data accesible.

Kind regards,
Arno
[Message part 2 (text/html, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#35073; Package parted. (Mon, 01 Apr 2019 21:13:02 GMT) Full text and rfc822 format available.

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

From: Arno - <arnobugs <at> hotmail.com>
To: "35073 <at> debbugs.gnu.org" <35073 <at> debbugs.gnu.org>
Subject: Additional information
Date: Mon, 1 Apr 2019 21:00:09 +0000
[Message part 1 (text/plain, inline)]
parted 3.2 (Mint 19.1)

sudo 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) [0x7f549730e6e5]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x2216b) [0x7f549732516b]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x101ea) [0x7f54973131ea]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x2d3) [0x7f5497313b53]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x219f8) [0x7f54973249f8]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x21b60) [0x7f5497324b60]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x21bf9) [0x7f5497324bf9]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x22a35) [0x7f5497325a35]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x46) [0x7f54973136f6]
  5: parted(+0x7794) [0x558c4cc2c794]
  4: parted(non_interactive_mode+0xa2) [0x558c4cc32532]
  3: parted(main+0x121e) [0x558c4cc2b2be]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f5496ac0b97]
  1: parted(_start+0x2a) [0x558c4cc2b48a]


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

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


[Message part 2 (text/html, inline)]

Reply sent to "Brian C. Lane" <bcl <at> redhat.com>:
You have taken responsibility. (Tue, 09 Apr 2019 22:13:01 GMT) Full text and rfc822 format available.

Notification sent to Arno - <arnobugs <at> hotmail.com>:
bug acknowledged by developer. (Tue, 09 Apr 2019 22:13:02 GMT) Full text and rfc822 format available.

Message #13 received at 35073-close <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: 35073-close <at> debbugs.gnu.org
Subject: Re: bug#35073: New bug?
Date: Tue, 9 Apr 2019 15:12:01 -0700
Closing this.

-- 
Brian C. Lane (PST8PDT)




Information forwarded to bug-parted <at> gnu.org:
bug#35073; Package parted. (Tue, 09 Apr 2019 22:16:01 GMT) Full text and rfc822 format available.

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

From: "Brian C. Lane" <bcl <at> redhat.com>
To: bug-parted <at> gnu.org
Subject: Re: bug#35073: New bug?
Date: Tue, 9 Apr 2019 15:09:34 -0700
On Mon, Apr 01, 2019 at 08:08:33PM +0000, Arno - wrote:
> Hi,
> 
> I'm not sure if this is a bug or a wrong partition table or something else.
> Please read and can you give me advise what to do next?
> 
> I'm resizing and moving partitions.
> First when starting gparted (systemrescuecd 5.3.2) I got
> 
> Assertion (metadata_length > 0) [....] in function add_logical_part_metadata() failed.
> 
> and gparted doesn't start
> 
> Upgraded to systemrescuecd 6.0.2
> gparted (0.33.0) starts but I can't resize the last partition.
> 
> parted (version 3.2, option p) displays
> 
> Error: Can't have the end before the start! (start sector=83890176 length=0)
> 
> fdisk -lu is ok as far as I can see. Starts and ends of partitions are ascending. All data accesible.

extended partitions are supposed to have at least 1 sector for metadata.
Some partitioning tools don't enforce this, and parted does so you get
an assertion until you recreate the partition layout.

-- 
Brian C. Lane (PST8PDT)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 08 May 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 355 days ago.

Previous Next


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