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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: Nikolaus Rath <Nikolaus@HIDDEN>; dated Sat, 8 Sep 2018 20:35:01 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Oct 2018 16:11:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 15 12:11:21 2018
Received: from localhost ([127.0.0.1]:51000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gC5Sj-0003ON-FC
	for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:11:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45373)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bcl@HIDDEN>) id 1gC5Sh-0003OA-Ml
 for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:11:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1gC5Sb-0007Ts-Mi
 for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:11:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43729)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1gC5Sb-0007Ta-F2
 for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:11:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54971)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1gC5Sa-0003dw-KT
 for bug-parted@HIDDEN; Mon, 15 Oct 2018 12:11:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1gC5SX-0007Qv-Dh
 for bug-parted@HIDDEN; Mon, 15 Oct 2018 12:11:12 -0400
Received: from mx1.redhat.com ([209.132.183.28]:53134)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bcl@HIDDEN>) id 1gC5SX-0007Q0-7j
 for bug-parted@HIDDEN; Mon, 15 Oct 2018 12:11:09 -0400
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
 [10.5.11.11])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.redhat.com (Postfix) with ESMTPS id BEC3799C4B
 for <bug-parted@HIDDEN>; Mon, 15 Oct 2018 16:11:07 +0000 (UTC)
Received: from lister.brianlane.com (ovpn-112-19.phx2.redhat.com [10.3.112.19])
 by smtp.corp.redhat.com (Postfix) with ESMTPS id 607B17A278
 for <bug-parted@HIDDEN>; Mon, 15 Oct 2018 16:11:07 +0000 (UTC)
Date: Mon, 15 Oct 2018 09:11:05 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: bug-parted@HIDDEN
Subject: Re: bug#32666: Assertion (metadata_length > 0) failed
Message-ID: <20181015161105.GA3490@HIDDEN>
References: <87in3fu42n.fsf@HIDDEN> <20180925024639.GA28580@kevinolos>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20180925024639.GA28580@kevinolos>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.38]); Mon, 15 Oct 2018 16:11:07 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

On Mon, Sep 24, 2018 at 08:46:39PM -0600, Kevin Locke wrote:

[snip]

> Model: ATA Samsung SSD 860 (scsi)
> Disk /dev/sdb: 1953525168s
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Disk Flags: 
> 
> Number  Start       End          Size        Type      File system  Flags
>  1      2048s       526335s      524288s     primary
>  2      526336s     788479s      262144s     primary
>  3      788480s     976562174s   975773695s  primary
>  4      976562175s  1953525167s  976962993s  extended               lba
>  5      976562176s  976824318s   262143s     logical
>  6      976824320s  1945136559s  968312240s  logical
> 
> Let me know if there is any other information I can provide.

Was this disk originally created by a current version of parted? The
assertion isn't actually a bug unless it was parted creating it. It's
telling us that the logical partitions haven't been created with enough
space in front of them (2 sectors) for the extended boot record.

eg. Partition 5 there should start at 976562177

-- 
Brian C. Lane (PST8PDT)




Information forwarded to bug-parted@HIDDEN:
bug#32666; Package parted. Full text available.

Message received at 32666 <at> debbugs.gnu.org:


Received: (at 32666) by debbugs.gnu.org; 25 Sep 2018 02:48:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 24 22:48:48 2018
Received: from localhost ([127.0.0.1]:52670 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g4dP6-000262-5g
	for submit <at> debbugs.gnu.org; Mon, 24 Sep 2018 22:48:48 -0400
Received: from vulcan.kevinlocke.name ([107.191.43.88]:45318)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kevin@HIDDEN>) id 1g4dN5-00021w-Sm
 for 32666 <at> debbugs.gnu.org; Mon, 24 Sep 2018 22:46:44 -0400
Received: from kevinolos (unknown [IPv6:2001:470:b:5c3:49b9:16cc:5555:f764])
 (Authenticated sender: kevin@HIDDEN)
 by vulcan.kevinlocke.name (Postfix) with ESMTPSA id 15D269A1363
 for <32666 <at> debbugs.gnu.org>; Tue, 25 Sep 2018 02:46:42 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kevinlocke.name;
 s=vulcan; t=1537843603;
 bh=5X6aVqdvYFds3MQCUDTc4fCqbDBCHzgc7O/L5cw00lM=;
 h=Date:From:To:Subject:References:In-Reply-To:From;
 b=Fe4CR+g8Fc7wE7+1Rnzt7u5WTgbF0lWMB/17MbrLoQJpFaw22cqhHPiJdqlh/JnMV
 TnL7gsbqofY+ru6gE5q3PGkBCApJP8kw4OsvP73T+CSHqkgxBwCl+xjNHDfD2MWmp9
 eT6PkC/pHmR/N8AiGeCley0iLfRouptJSwwwtmTQ=
Received: by kevinolos (Postfix, from userid 1000)
 id 6FCB24A06D1; Mon, 24 Sep 2018 20:46:39 -0600 (MDT)
Date: Mon, 24 Sep 2018 20:46:39 -0600
From: Kevin Locke <kevin@HIDDEN>
To: 32666 <at> debbugs.gnu.org
Subject: Re: Assertion (metadata_length > 0) failed
Message-ID: <20180925024639.GA28580@kevinolos>
References: <87in3fu42n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87in3fu42n.fsf@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 32666
X-Mailman-Approved-At: Mon, 24 Sep 2018 22:48:46 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On Sat, 2018-09-08 at 21:28 +0100, Nikolaus Rath wrote:
> On my system, parted crashes with:
>
> [...]
>
> Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function
> add_logical_part_metadata() failed.
> 
> Aborted                                                                   

I encountered the same assertion failure from the resizepart command.
I was able to get a full backtrace after building from current master
(f0cfa958) with CFLAGS="-g -O0" as a result of running the command:

parted /dev/sdb resizepart 5 976824319s

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff7b3f2f1 in __GI_abort () at abort.c:79
#2  0x00007ffff7f7c80b in ped_assert (
    cond_text=0x7ffff7fb75bc "metadata_length > 0", 
    file=0x7ffff7fb7191 "dos.c", line=2305, 
    function=0x7ffff7fb7930 <__PRETTY_FUNCTION__.5302> "add_logical_part_metadata") at debug.c:111
#3  0x00007ffff7f9ad96 in add_logical_part_metadata (disk=0x55555559b210, 
    log_part=0x5555555a1f80) at dos.c:2305
#4  0x00007ffff7f9b13b in msdos_alloc_metadata (disk=0x55555559b210)
    at dos.c:2436
#5  0x00007ffff7f8135f in _disk_alloc_metadata (disk=0x55555559b210)
    at disk.c:1010
#6  0x00007ffff7f81782 in _disk_pop_update_mode (disk=0x55555559b210)
    at disk.c:1163
#7  0x00007ffff7f83968 in ped_disk_set_partition_geom (disk=0x55555559b210, 
    part=0x5555555a1eb0, constraint=0x5555555949d0, start=976562176, 
    end=976824319) at disk.c:2171
#8  0x000055555555da09 in do_resizepart (dev=0x7fffffffe4c0, 
    diskp=0x7fffffffe4b8) at parted.c:1576
#9  0x0000555555559f09 in command_run (cmd=0x555555574b40, dev=0x7fffffffe4c0, 
    diskp=0x7fffffffe4b8) at command.c:141
#10 0x00005555555638f6 in interactive_mode (dev=0x7fffffffe4c0, 
    disk=0x7fffffffe4b8, cmd_list=0x55555556b6c0 <commands>) at ui.c:1630
#11 0x000055555555fae2 in main (argc=0, argv=0x7fffffffe5c8) at parted.c:2356

The output of `parted /dev/sdb unit co print unit s print`:

Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size   Type      File system  Flags
 1      1049kB  269MB   268MB  primary
 2      269MB   404MB   134MB  primary
 3      404MB   500GB   500GB  primary
 4      500GB   1000GB  500GB  extended               lba
 5      500GB   500GB   134MB  logical
 6      500GB   996GB   496GB  logical

Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sdb: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start       End          Size        Type      File system  Flags
 1      2048s       526335s      524288s     primary
 2      526336s     788479s      262144s     primary
 3      788480s     976562174s   975773695s  primary
 4      976562175s  1953525167s  976962993s  extended               lba
 5      976562176s  976824318s   262143s     logical
 6      976824320s  1945136559s  968312240s  logical

Let me know if there is any other information I can provide.

Thanks,
Kevin




Information forwarded to bug-parted@HIDDEN:
bug#32666; Package parted. Full text available.

Message received at 32666 <at> debbugs.gnu.org:


Received: (at 32666) by debbugs.gnu.org; 8 Sep 2018 20:36:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 08 16:36:11 2018
Received: from localhost ([127.0.0.1]:50641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fyjxi-0004tx-Qu
	for submit <at> debbugs.gnu.org; Sat, 08 Sep 2018 16:36:11 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45327)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nikolaus@HIDDEN>) id 1fyjxi-0004tr-02
 for 32666 <at> debbugs.gnu.org; Sat, 08 Sep 2018 16:36:10 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id AD00021924
 for <32666 <at> debbugs.gnu.org>; Sat,  8 Sep 2018 16:36:09 -0400 (EDT)
Received: from web2 ([10.202.2.212])
 by compute1.internal (MEProxy); Sat, 08 Sep 2018 16:36:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:message-id:mime-version:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm3; bh=o28/Esv0SY7//0HOvM4rPZMC2RwCS
 lNKlewApAtNGo8=; b=VY+nJ6OlVj3uO8smzMA/yjFbFegMtceYzYkurSPgVEiXC
 brS4djbRwERNCc0xSeSh+XUVe8mnNHtLEUl7FckZhWRLCJWkN3UsaNPYj7ljMdql
 QGOoFmdrj8AImrGXtQeSN6F65KloZ0XATQGHsJtVXa4q51Fz1zLzQiK37CH8nn0g
 7PY2V6Cc5Ydv4RImZv/liwlvMixDbWvf0BoMgCffY69qeTn00IdxC/J9yDHOSJmX
 ZlL5uhzerc3QuJ4i9LpBaP5sDWch2KshrUYdoc1Cm/QDbK+54hdpgV2shZmyjMGM
 XeR0FXY36lk1agUvtbO7ZZEyRuB6c0O/j/Uk5FDZw==
X-ME-Proxy: <xmx:uTKUWzZ3s2gDZg1rEFYGZp4Ijc7M05xVA_BXCibam1octd-yPdGQRQ>
 <xmx:uTKUWw8NKkKzxgM7TeRddlFQ-hwfY_WNyDjt8Qi_tBd2jPaawqRKRg>
 <xmx:uTKUW9j8dl38RV9SgepBWxWHVecXi8qPT2hZhDvn6T22SnV8zS8SXg>
 <xmx:uTKUW-dSfQwi6yYTrK01HdL37-NfaB_NigUxoo6hxibAQvsj4j6pHA>
 <xmx:uTKUW3N4CmTkcLvvjg_DWItj7_kc9DA4dKOK91zHSX5twfbRPGU2xA>
 <xmx:uTKUW1KzZYSGmw3FiP8Js-8wqNp8vMi2vqrqepapoeE_0TU8UFdxYw>
X-ME-Sender: <xms:uTKUW3cFLprI3wwKhdYmDZ2EZDu8QVPeFnjpWYeRxSQAKR0G6aY4iA>
Received: by mailuser.nyi.internal (Postfix, from userid 99)
 id 1A20662673; Sat,  8 Sep 2018 16:36:09 -0400 (EDT)
Message-Id: <1536438969.3011146.1501425632.29290208@HIDDEN>
From: Nikolaus Rath <nikolaus@HIDDEN>
To: 32666 <at> debbugs.gnu.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_153643896930111460"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-1234af23
Date: Sat, 08 Sep 2018 21:36:09 +0100
Subject: fdisk output
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32666
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is a multi-part message in MIME format.

--_----------=_153643896930111460
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Here's what regular fdisk says:

# fdisk -l /dev/sdb
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 =3D 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe7c4933a

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1  *         2048    206847    204800   100M  7 HPFS/NTFS/exFAT/dev=
/sdb2          206848 738138111 737931264 351.9G  7 HPFS/NTFS/exFAT/dev/sdb=
3       738138112 739059711    921600   450M 27 Hidden
NTFS WinRE/dev/sdb4       739059712 976773119 237713408 113.4G  5 Extended
/dev/sdb5       739061760 739129343     67584    33M 83 Linux
/dev/sdb6       739131392 739588095    456704   223M 83 Linux
/dev/sdb7       739588096 773142527  33554432    16G 8e Linux LVM
/dev/sdb8       773144576 976773119 203628544  97.1G 8e Linux LVM

Best,
-Nikolaus

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

             =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2=
=AB



--_----------=_153643896930111460
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"

<!DOCTYPE html>
<html>
<head>
<title></title>
<style type=3D"text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Here's what regular fdisk says:<br></div>
<div><br></div>
<div># fdisk -l /dev/sdb<br></div>
<div>Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors<br></d=
iv>
<div>Units: sectors of 1 * 512 =3D 512 bytes<br></div>
<div>Sector size (logical/physical): 512 bytes / 512 bytes<br></div>
<div>I/O size (minimum/optimal): 512 bytes / 512 bytes<br></div>
<div>Disklabel type: dos<br></div>
<div>Disk identifier: 0xe7c4933a<br></div>
<div><br></div>
<div>Device&nbsp;&nbsp;&nbsp;&nbsp; Boot&nbsp;&nbsp;&nbsp;&nbsp; Start&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp; Sectors&nbsp;&nbsp; Size Id=
 Type<br></div>
<div>/dev/sdb1&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2048=
&nbsp;&nbsp;&nbsp; 206847&nbsp;&nbsp;&nbsp; 204800&nbsp;&nbsp; 100M&nbsp; 7=
 HPFS/NTFS/exFAT<br></div>
<div>/dev/sdb2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 206848=
 738138111 737931264 351.9G&nbsp; 7 HPFS/NTFS/exFAT<br></div>
<div>/dev/sdb3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 738138112 739059711&nbsp=
;&nbsp;&nbsp; 921600&nbsp;&nbsp; 450M 27 Hidden NTFS WinRE<br></div>
<div>/dev/sdb4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 739059712 976773119 2377=
13408 113.4G&nbsp; 5 Extended<br></div>
<div>/dev/sdb5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 739061760 739129343&nbsp=
;&nbsp;&nbsp;&nbsp; 67584&nbsp;&nbsp;&nbsp; 33M 83 Linux<br></div>
<div>/dev/sdb6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 739131392 739588095&nbsp=
;&nbsp;&nbsp; 456704&nbsp;&nbsp; 223M 83 Linux<br></div>
<div>/dev/sdb7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 739588096 773142527&nbsp=
; 33554432&nbsp;&nbsp;&nbsp; 16G 8e Linux LVM<br></div>
<div>/dev/sdb8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 773144576 976773119 2036=
28544&nbsp; 97.1G 8e Linux LVM<br></div>
<div><br></div>
<div>Best,<br></div>
<div>-Nikolaus<br></div>
<div><br></div>
<div id=3D"sig33580657"><div class=3D"signature">--<br></div>
<div class=3D"signature">GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D11=
3 FCAC 3C4E 599F<br></div>
<div class=3D"signature"><br></div>
<div class=3D"signature">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =C2=BBTime flies like an arrow, fruit flies like a B=
anana.=C2=AB<br></div>
<div class=3D"signature"><br></div>
</div>
<div><br></div>
</body>
</html>

--_----------=_153643896930111460--





Information forwarded to bug-parted@HIDDEN:
bug#32666; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2018 20:34:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 08 16:34:58 2018
Received: from localhost ([127.0.0.1]:50635 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fyjwY-0004rC-CW
	for submit <at> debbugs.gnu.org; Sat, 08 Sep 2018 16:34:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40989)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Nikolaus@HIDDEN>) id 1fyjwW-0004qy-4c
 for submit <at> debbugs.gnu.org; Sat, 08 Sep 2018 16:34:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Nikolaus@HIDDEN>) id 1fyjwQ-0008FD-9k
 for submit <at> debbugs.gnu.org; Sat, 08 Sep 2018 16:34:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54054)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <Nikolaus@HIDDEN>) id 1fyjwQ-0008EK-3m
 for submit <at> debbugs.gnu.org; Sat, 08 Sep 2018 16:34:50 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33551)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <Nikolaus@HIDDEN>) id 1fyjwM-0001vy-Kg
 for bug-parted@HIDDEN; Sat, 08 Sep 2018 16:34:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Nikolaus@HIDDEN>) id 1fyjq8-0007qc-Sm
 for bug-parted@HIDDEN; Sat, 08 Sep 2018 16:28:24 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50539)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <Nikolaus@HIDDEN>) id 1fyjq8-0007lr-L7
 for bug-parted@HIDDEN; Sat, 08 Sep 2018 16:28:20 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 05C0920F02
 for <bug-parted@HIDDEN>; Sat,  8 Sep 2018 16:28:19 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Sat, 08 Sep 2018 16:28:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:message-id:mime-version:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm3; bh=+fHSFu+N/HYItSkeblb7AtBSGDRee
 3Ozg5sYPFSk8qk=; b=Cisa8zXyzC8NqEh5V+mD+c1wx6pFJK9I7JQyXJ8jCIm/d
 7GX0OLjAFFlG8EaRUI9/kdjmxUBnCUJJD8c/ZGGv36TjicjtcgU5374TYDyK0CjB
 mlw2oeV3x4mWtcWlOr+JN8BQHoGw+cmrm0mGn0Joo/TLkHswt5KC44CbLDTRBnU9
 CgDAKHZ3IdL5f3kp0pskikpM5dnHLuRpPoaN1B+XNMD11h3xuOBXviZ1zHW6HdwJ
 AhkcMNNW3cHPvtBLZi+QH+TG/CdcOa3x8Q9fFIvPJ6i0hiaecypkpcD8dnWFM0kY
 xQbSrJbDNEOp4DOyUixnBHhrdbPMOLrfB29RraMAA==
X-ME-Proxy: <xmx:4jCUWyvwn_IcdiGL_ZmEkdG8mMje0tW-3oF8weERFGOZLALtlWIggw>
 <xmx:4jCUW3oXrTVIW7C2kOmQwGYNhkfx_1EvV2nfPzo0XmrGMqK7nkVkFw>
 <xmx:4jCUW8GpsWtR-avtJ_r-uAbW7IyJS99HmxlgyleAK_0xtlpGIqofsQ>
 <xmx:4jCUW6_87nRCk3q09TM3eTN3eO7D9MoF5hV_iSoiZGI4HrU6peYLRQ>
 <xmx:4jCUW1XDrJTy-8gnis6dKwVuo2NTvKYFnnrp3xnoIcM33fAee123AA>
 <xmx:4jCUWwJgVm4EEmw83k7cH8dGCcAi46O2bnv5l_3G5CtaQtHjGs0gYg>
X-ME-Sender: <xms:4jCUW4w8NH3YxAdwLqK7JPF9wXiT0NlW93OGCv55AINuyMctsbmeOw>
Received: from ebox.rath.org (ebox.rath.org [185.3.94.194])
 by mail.messagingengine.com (Postfix) with ESMTPA id 6B63B10299
 for <bug-parted@HIDDEN>; Sat,  8 Sep 2018 16:28:18 -0400 (EDT)
Received: from vostro.rath.org (vostro [192.168.12.4])
 by ebox.rath.org (Postfix) with ESMTPS id 5C35146
 for <bug-parted@HIDDEN>; Sat,  8 Sep 2018 20:28:17 +0000 (UTC)
Received: by vostro.rath.org (Postfix, from userid 1000)
 id 165DEE00EE; Sat,  8 Sep 2018 21:28:17 +0100 (BST)
From: Nikolaus Rath <Nikolaus@HIDDEN>
To: bug-parted@HIDDEN
Subject: Assertion (metadata_length > 0) failed
Date: Sat, 08 Sep 2018 21:28:16 +0100
Message-ID: <87in3fu42n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.3 (-----)

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=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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) [0=
x7f638abe0313]
  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) [0x7f638abdff1=
8]
  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) [0x7f638a3d82e=
1]
  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=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20


# 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

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

             =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2=
=AB




Acknowledgement sent to Nikolaus Rath <Nikolaus@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#32666; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 15 Oct 2018 16:15:01 UTC

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