GNU bug report logs -
#25198
bug: assertion (metadata_length > 0) failed
Previous Next
Reported by: Rauno Viskus <rviskus <at> gmail.com>
Date: Tue, 13 Dec 2016 23:31:01 UTC
Severity: normal
Done: Phil Susi <psusi <at> ubuntu.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 25198 in the body.
You can then email your comments to 25198 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#25198
; Package
parted
.
(Tue, 13 Dec 2016 23:31:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rauno Viskus <rviskus <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Tue, 13 Dec 2016 23:31:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Running
parted -l
crashes with
Backtrace has 15 calls on stack:
15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f58e0393644]
14: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7f58e03a6b26]
13: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7f58e03980aa]
12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263)
[0x7f58e03989a3]
11: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7f58e03a6405]
10: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f58e03a64a0]
9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f58e03a64a0]
8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7f58e03a643f]
7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7f58e03a7555]
6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48)
[0x7f58e03985c8]
5: parted() [0x407769]
4: parted() [0x4069cf]
3: parted(main+0x11b2) [0x405f82]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7f58dfb88b45]
1: parted() [0x405fc7]
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.
As much as I found searching aroud mentioned about partitions needing at
least a sector in between eachother for metadata - is that it? Weird thing
is that everything worked before I removed my Windows partition from the
gap in between sda1 and sda3.
Output of fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9a232254
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
/dev/sda3 397805566 485435391 87629826 41.8G 5 Extended
/dev/sda5 397805568 436865023 39059456 18.6G 83 Linux
/dev/sda6 436867072 466163711 29296640 14G 83 Linux
/dev/sda7 466163712 485435391 19271680 9.2G 82 Linux swap / Solaris
BR,
Rauno
[Message part 2 (text/html, inline)]
Reply sent
to
Phil Susi <psusi <at> ubuntu.com>
:
You have taken responsibility.
(Tue, 18 Apr 2017 15:16:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rauno Viskus <rviskus <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 18 Apr 2017 15:16:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 25198-done <at> debbugs.gnu.org (full text, mbox):
On 12/13/2016 6:09 PM, Rauno Viskus wrote:
> As much as I found searching aroud mentioned about partitions needing at
> least a sector in between eachother for metadata - is that it? Weird thing
> is that everything worked before I removed my Windows partition from the
> gap in between sda1 and sda3.
>
> Output of fdisk -l:
>
>
> Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x9a232254
>
> Device Boot Start End Sectors Size Id Type
> /dev/sda1 * 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
> /dev/sda3 397805566 485435391 87629826 41.8G 5 Extended
> /dev/sda5 397805568 436865023 39059456 18.6G 83 Linux
> /dev/sda6 436867072 466163711 29296640 14G 83 Linux
> /dev/sda7 466163712 485435391 19271680 9.2G 82 Linux swap / Solaris
Yes, you have to have at least one sector between partitions for the
chained EBR. I'm curious as to what messed up partitioning tool created
this layout.
Information forwarded
to
bug-parted <at> gnu.org
:
bug#25198
; Package
parted
.
(Wed, 19 Apr 2017 15:35:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 25198 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Used fdisk or gparted to remove partition. Partition itself was created by
install process of debian.
Rauno
On Tue, Apr 18, 2017 at 6:16 PM, GNU bug Tracking System <
help-debbugs <at> gnu.org> wrote:
> Your bug report
>
> #25198: bug: assertion (metadata_length > 0) failed
>
> 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 25198 <at> debbugs.gnu.org.
>
> --
> 25198: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25198
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
>
> ---------- Forwarded message ----------
> From: Phil Susi <psusi <at> ubuntu.com>
> To: Rauno Viskus <rviskus <at> gmail.com>, 25198-done <at> debbugs.gnu.org
> Cc:
> Bcc:
> Date: Tue, 18 Apr 2017 11:17:05 -0400
> Subject: Re: bug#25198: bug: assertion (metadata_length > 0) failed
> On 12/13/2016 6:09 PM, Rauno Viskus wrote:
> > As much as I found searching aroud mentioned about partitions needing at
> > least a sector in between eachother for metadata - is that it? Weird
> thing
> > is that everything worked before I removed my Windows partition from the
> > gap in between sda1 and sda3.
> >
> > Output of fdisk -l:
> >
> >
> > Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
> > Units: sectors of 1 * 512 = 512 bytes
> > Sector size (logical/physical): 512 bytes / 512 bytes
> > I/O size (minimum/optimal): 512 bytes / 512 bytes
> > Disklabel type: dos
> > Disk identifier: 0x9a232254
> >
> > Device Boot Start End Sectors Size Id Type
> > /dev/sda1 * 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
> > /dev/sda3 397805566 485435391 87629826 41.8G 5 Extended
> > /dev/sda5 397805568 436865023 39059456 18.6G 83 Linux
> > /dev/sda6 436867072 466163711 29296640 14G 83 Linux
> > /dev/sda7 466163712 485435391 19271680 9.2G 82 Linux swap /
> Solaris
>
> Yes, you have to have at least one sector between partitions for the
> chained EBR. I'm curious as to what messed up partitioning tool created
> this layout.
>
>
>
>
> ---------- Forwarded message ----------
> From: Rauno Viskus <rviskus <at> gmail.com>
> To: bug-parted <at> gnu.org
> Cc:
> Bcc:
> Date: Wed, 14 Dec 2016 01:09:57 +0200
> Subject: bug: assertion (metadata_length > 0) failed
> Hi,
>
> Running
>
> parted -l
>
>
> crashes with
>
> Backtrace has 15 calls on stack:
> 15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44)
> [0x7f58e0393644]
> 14: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7f58e03a6b26]
> 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7f58e03980aa]
> 12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263)
> [0x7f58e03989a3]
> 11: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7f58e03a6405]
> 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f58e03a64a0]
> 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f58e03a64a0]
> 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7f58e03a643f]
> 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7f58e03a7555]
> 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48)
> [0x7f58e03985c8]
> 5: parted() [0x407769]
> 4: parted() [0x4069cf]
> 3: parted(main+0x11b2) [0x405f82]
> 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
> [0x7f58dfb88b45]
> 1: parted() [0x405fc7]
>
>
> 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.
>
>
> As much as I found searching aroud mentioned about partitions needing at
> least a sector in between eachother for metadata - is that it? Weird thing
> is that everything worked before I removed my Windows partition from the
> gap in between sda1 and sda3.
>
> Output of fdisk -l:
>
>
> Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x9a232254
>
> Device Boot Start End Sectors Size Id Type
> /dev/sda1 * 2048 3074047 3072000 1.5G 7 HPFS/NTFS/exFAT
> /dev/sda3 397805566 485435391 87629826 41.8G 5 Extended
> /dev/sda5 397805568 436865023 39059456 18.6G 83 Linux
> /dev/sda6 436867072 466163711 29296640 14G 83 Linux
> /dev/sda7 466163712 485435391 19271680 9.2G 82 Linux swap / Solaris
>
>
> BR,
> Rauno
>
>
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 18 May 2017 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.