GNU bug report logs - #32666
Assertion (metadata_length > 0) failed

Previous Next

Package: parted;

Reported by: Nikolaus Rath <Nikolaus <at> rath.org>

Date: Sat, 8 Sep 2018 20:35:01 UTC

Severity: normal

Done: Phillip Susi <phill <at> thesusis.net>

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: Phillip Susi <phill <at> thesusis.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32666: closed (Assertion (metadata_length > 0) failed)
Date: Mon, 22 Apr 2019 20:13:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 22 Apr 2019 16:12:48 -0400
with message-id <87tvep7q9r.fsf <at> vps.thesusis.net>
and subject line Re: bug#32666: fdisk output
has caused the debbugs.gnu.org bug report #32666,
regarding Assertion (metadata_length > 0) failed
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32666: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32666
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nikolaus Rath <Nikolaus <at> rath.org>
To: bug-parted <at> gnu.org
Subject: Assertion (metadata_length > 0) failed
Date: Sat, 08 Sep 2018 21:28:16 +0100
Hello,

On my system, parted crashes with:

# parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Backtrace has 15 calls on stack:
  15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f638abdafc5]
  14: /lib/x86_64-linux-gnu/libparted.so.2(+0x23b3f) [0x7f638abf1b3f]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x119fa) [0x7f638abdf9fa]
  12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7f638abe0313]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x233ec) [0x7f638abf13ec]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7f638abf1480]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7f638abf1480]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x23426) [0x7f638abf1426]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24455) [0x7f638abf2455]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f638abdff18]
  5: parted(+0x73fe) [0x55d13304c3fe]
  4: parted(interactive_mode+0x120) [0x55d1330520b0]
  3: parted(main+0x142b) [0x55d13304b1eb]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f638a3d82e1]
  1: parted(_start+0x2a) [0x55d13304b24a]


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:
[...]
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.

Aborted                                                                   


# parted /dev/sdb unit co print unit s print
Backtrace has 15 calls on stack:
  15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f7887268fc5]
[same as above]


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


[Message part 3 (message/rfc822, inline)]
From: Phillip Susi <phill <at> thesusis.net>
To: Nikolaus Rath <nikolaus <at> rath.org>
Cc: 32666-done <at> debbugs.gnu.org
Subject: Re: bug#32666: fdisk output
Date: Mon, 22 Apr 2019 16:12:48 -0400
Nikolaus Rath writes:

> /dev/sdb6       739131392 739588095    456704   223M 83 Linux
> /dev/sdb7       739588096 773142527  33554432    16G 8e Linux LVM

sdb7 starts in the very next sector after sdb6, so there is no room here
for the EBR.



This bug report was last modified 6 years and 89 days ago.

Previous Next


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