GNU logs - #23059, boring messages


Message sent to bug-parted@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23059: parted Debian 8
Resent-From: "Ed Falat" <efalat@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Sat, 19 Mar 2016 00:45:02 +0000
Resent-Message-ID: <handler.23059.B.14583482931282 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 23059
X-GNU-PR-Package: parted
X-GNU-PR-Keywords: 
To: 23059 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-parted@HIDDEN
Reply-To: efalat@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14583482931282
          (code B ref -1); Sat, 19 Mar 2016 00:45:02 +0000
Received: (at submit) by debbugs.gnu.org; 19 Mar 2016 00:44:53 +0000
Received: from localhost ([127.0.0.1]:53099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ah50e-0000Kc-CA
	for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 20:44:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36745)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efalat@HIDDEN>) id 1ah3ud-0007BZ-4p
 for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 19:34:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <efalat@HIDDEN>) id 1ah3uW-0004eD-B7
 for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 19:34:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ****
X-Spam-Status: No, score=4.3 required=5.0 tests=BAYES_50,XPRIO
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59504)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <efalat@HIDDEN>) id 1ah3uW-0004e2-7L
 for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 19:34:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55940)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <efalat@HIDDEN>) id 1ah3uU-0000oO-Fq
 for bug-parted@HIDDEN; Fri, 18 Mar 2016 19:34:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <efalat@HIDDEN>) id 1ah3uR-0004bp-5x
 for bug-parted@HIDDEN; Fri, 18 Mar 2016 19:34:26 -0400
Received: from smtp-02.omegacomminc.com ([69.166.102.136]:41006)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <efalat@HIDDEN>) id 1ah3uQ-0004bS-Vk
 for bug-parted@HIDDEN; Fri, 18 Mar 2016 19:34:23 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
 by smtp-02.omegacomminc.com (Postfix) with ESMTP id 8057021143
 for <bug-parted@HIDDEN>; Fri, 18 Mar 2016 19:28:47 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smtp-01.omegacomminc.com
Received: from smtp-02.omegacomminc.com ([127.0.0.1])
 by localhost (int-smtp-04.omegacomminc.com [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP id YQJxJ8r4Q5Mi for <bug-parted@HIDDEN>;
 Fri, 18 Mar 2016 19:28:47 -0400 (EDT)
Received: from webmail.megahits.com (ct-pop-03.isp-oci.com [207.76.74.71])
 by smtp-02.omegacomminc.com (Postfix) with ESMTPA id 0FBD61FE10
 for <bug-parted@HIDDEN>; Fri, 18 Mar 2016 19:28:46 -0400 (EDT)
Received: from 68.9.145.142
 (SquirrelMail authenticated user efalat@HIDDEN)
 by webmail.megahits.com with HTTP;
 Fri, 18 Mar 2016 19:28:47 -0400 (EDT)
Message-ID: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
Date: Fri, 18 Mar 2016 19:28:47 -0400 (EDT)
From: "Ed Falat" <efalat@HIDDEN>
User-Agent: SquirrelMail/1.4.8-5.el4.centos.3
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3 (Normal)
Importance: Normal
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -1.5 (-)
X-Mailman-Approved-At: Fri, 18 Mar 2016 20:44:50 -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: -5.0 (-----)



root@asus:/home/debian# wajig reinstall parted
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgra=
ded.
Need to get 0 B/195 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 152720 files and directories currently installed.)
Preparing to unpack .../parted_3.2-7_amd64.deb ...
Unpacking parted (3.2-7) over (3.2-7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up parted (3.2-7) ...
root@asus:/home/debian# partprobe /dev/sda
Backtrace has 13 calls on stack:
  13: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fcdf78bc6=
44]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7fcdf78cfb26]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7fcdf78c10aa]
  10: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) =
[0x7fcdf78c19a3]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7fcdf78cf405]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7fcdf78cf4a0]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7fcdf78cf43f]
  6: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7fcdf78d0555]
  5: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7fcdf78c1=
5c8]
  4: partprobe() [0x4012a3]
  3: partprobe(main+0x1ba) [0x40110a]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fcdf6ead=
b45]
  1: partprobe() [0x4011a6]
A bug has been detected in GNU Parted.  Refer to the web site of parted h=
ttp://www.gnu.org/software/parted/parted.html for more information of wha=
t
could be useful for bug submitting!  Please email a bug report to bug-par=
ted@HIDDEN containing at least the version (3.2) and the following
message:  Assertion (metadata_length > 0) at ../../../libparted/labels/do=
s.c:2313 in function add_logical_part_metadata() failed.
Aborted
root@asus:/home/debian# dmesg | tail
[ 8865.806081] [25829]     0 25829   245305   114257     480   120937    =
         0 systemd-udevd
[ 8865.806091] [25830]     0 25830   242651   113798     475   118753    =
         0 systemd-udevd
[ 8865.806100] [25846]     0 25846     1084       22       7        0    =
         0 wajig
[ 8865.806109] [25848]     0 25848    16513     2629      37        0    =
         0 wajig.py
[ 8865.806119] [25871]     0 25871     1084       21       7        0    =
         0 sh
[ 8865.806128] [25872]     0 25872    14997     1469      33        0    =
         0 apt-get
[ 8865.806138] [25898]     0 25898     1084       22       7        0    =
         0 sh
[ 8865.806148] [25899]     0 25899    14947     1561      33        0    =
         0 apt-listchanges
[ 8865.806154] Out of memory: Kill process 25828 (systemd-udevd) score 22=
4 or sacrifice child
[ 8865.806164] Killed process 25828 (systemd-udevd) total-vm:994076kB, an=
on-rss:468104kB, file-rss:0kB
root@asus:/home/debian# uname -a
Linux asus 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29=
) x86_64 GNU/Linux
root@asus:/home/debian# parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Backtrace has 14 calls on stack:
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7ff13a5596=
44]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7ff13a56cb26]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7ff13a55e0aa]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) =
[0x7ff13a55e9a3]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7ff13a56c405]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7ff13a56c4a0]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7ff13a56c43f]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7ff13a56d555]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7ff13a55e=
5c8]
  5: parted() [0x407769]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ff139d4e=
b45]
  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 i=
n function add_logical_part_metadata() failed.

Aborted
root@asus:/home/debian# parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) m
  align-check TYPE N                        check partition N for TYPE(mi=
n|opt) alignment
  help [COMMAND]                           print general help, or help on=
 COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partit=
ion table)
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table, a=
vailable devices, free space, all found partitions, or a particular parti=
tion
  quit                                     exit program
  rescue START END                         rescue a lost partition near S=
TART and END
  resizepart NUMBER END                    resize partition NUMBER
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  disk_set FLAG STATE                      change the FLAG on selected de=
vice
  disk_toggle [FLAG]                       toggle the state of FLAG on se=
lected device
  set NUMBER FLAG STATE                    change the FLAG on partition N=
UMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on pa=
rtition NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and=
 copyright information of GNU Parted
(parted) p
Backtrace has 14 calls on stack:
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f5407a966=
44]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x20b26) [0x7f5407aa9b26]
  12: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7f5407a9b0aa]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x263) =
[0x7f5407a9b9a3]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x20405) [0x7f5407aa9405]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x204a0) [0x7f5407aa94a0]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x2043f) [0x7f5407aa943f]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x21555) [0x7f5407aaa555]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f5407a9b=
5c8]
  5: parted() [0x407769]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f540728b=
b45]
  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 i=
n function add_logical_part_metadata() failed.

Aborted
root@asus:/home/debian# blkid
^Z
root@asus:/home/debian#
root@asus:/home/debian# wajig install maxima mathomatic octave R-base gea=
ny xfig transfig inkscape blender libreoffice lyx audacity audacious
pavucontrol testdisk gdisk gparted
^CTraceback (most recent call last):
  File "/usr/share/wajig/wajig.py", line 26, in <module>
    import commands
  File "/usr/share/wajig/commands.py", line 11, in <module>
    import urllib.request
  File "/usr/lib/python3.4/urllib/request.py", line 88, in <module>
    import http.client
  File "/usr/lib/python3.4/http/client.py", line 1186, in <module>
    import ssl
  File "/usr/lib/python3.4/ssl.py", line 295, in <module>
    "cafile capath openssl_cafile_env openssl_cafile openssl_capath_env "
  File "/usr/lib/python3.4/collections/__init__.py", line 369, in namedtu=
ple
    exec(class_definition, namespace)
  File "<string>", line 1, in <module>
KeyboardInterrupt

root@asus:/home/debian# free
             total       used       free     shared    buffers     cached
Mem:       2048552     343460    1705092      40884       2912     109816
-/+ buffers/cache:     230732    1817820
Swap:      2084860     219740    1865120
root@asus:/home/debian# partprobe /dev/sda






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: efalat@HIDDEN
Subject: bug#23059: Acknowledgement (parted Debian 8)
Message-ID: <handler.23059.B.14583482931282.ack <at> debbugs.gnu.org>
References: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
X-Gnu-PR-Message: ack 23059
X-Gnu-PR-Package: parted
Reply-To: 23059 <at> debbugs.gnu.org
Date: Sat, 19 Mar 2016 00:45:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-parted@HIDDEN

If you wish to submit further information on this problem, please
send it to 23059 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
23059: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23059
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-parted@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23059: parted Debian 8
Resent-From: Phillip Susi <psusi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Tue, 12 Apr 2016 00:33:02 +0000
Resent-Message-ID: <handler.23059.B23059.14604211246725 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23059
X-GNU-PR-Package: parted
X-GNU-PR-Keywords: 
To: efalat@HIDDEN, 23059 <at> debbugs.gnu.org
Received: via spool by 23059-submit <at> debbugs.gnu.org id=B23059.14604211246725
          (code B ref 23059); Tue, 12 Apr 2016 00:33:02 +0000
Received: (at 23059) by debbugs.gnu.org; 12 Apr 2016 00:32:04 +0000
Received: from localhost ([127.0.0.1]:59875 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1apmFQ-0001kO-0I
	for submit <at> debbugs.gnu.org; Mon, 11 Apr 2016 20:32:04 -0400
Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.232]:59250
 helo=cdptpa-oedge-vip.email.rr.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <psusi@HIDDEN>) id 1apmFO-0001jx-Ti
 for 23059 <at> debbugs.gnu.org; Mon, 11 Apr 2016 20:32:03 -0400
Received: from [72.239.162.168] ([72.239.162.168:59872] helo=[192.168.1.142])
 by cdptpa-oedge02 (envelope-from <psusi@HIDDEN>)
 (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP
 id 84/38-11244-FF14C075; Tue, 12 Apr 2016 00:31:59 +0000
References: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
From: Phillip Susi <psusi@HIDDEN>
Message-ID: <570C41FF.5060803@HIDDEN>
Date: Mon, 11 Apr 2016 20:31:59 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-RR-Connecting-IP: 107.14.168.130:25
X-Cloudmark-Score: 0
X-Spam-Score: -0.0 (/)
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: -0.0 (/)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 03/18/2016 07:28 PM, Ed Falat wrote:
> A bug has been detected in GNU Parted.  Refer to the web site of
> parted http://www.gnu.org/software/parted/parted.html for more
> information of what could be useful for bug submitting!  Please
> email a bug report to bug-parted@HIDDEN containing at least the
> version (3.2) and the following message:  Assertion
> (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in
> function add_logical_part_metadata() failed.

Have you manipulated this disk with the "Easeus" disk partitioning
program?  I have seen another bug report about this on Ubuntu after
using this program.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJXDEH/AAoJEBB5UWFcu6UW1nkH/juRZ1A05OgJZLVHiDeLuTVp
IEmM6hl4sbwNg0Thve34L4ZocDw1472RCEvYErLi2UCbDckN+op3fO2PfYgHcQXj
5uwfMuIt8vzBpXO2rfEUYVsrXv6uC8hyxxdcrTgqwZXNWZfGJIpslML/z0DXbfH0
PPvWdz+l0VaYzR7AIo7N9nQVqRRicNOMT+7vnmauw527jTkRtX4/sZVzPjVo3wro
uZ5EK2O6zB4AVLsBjCIGjFtB4aF6B1HBtawM5fIQADiKM8kBcmw2emOqKZ3+O2KO
uTMYQreX8X6u3iN22+Y05FyY+9aUPnyLNfSjWmP0feFiW8+KdmdHKP8J6UFBm2M=
=W3tX
-----END PGP SIGNATURE-----




Message sent to bug-parted@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23059: parted Debian 8
Resent-From: Phil Susi <psusi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Tue, 12 Apr 2016 17:29:02 +0000
Resent-Message-ID: <handler.23059.B23059.146048211317811 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23059
X-GNU-PR-Package: parted
X-GNU-PR-Keywords: 
To: efalat@HIDDEN
Cc: 23059 <at> debbugs.gnu.org
Received: via spool by 23059-submit <at> debbugs.gnu.org id=B23059.146048211317811
          (code B ref 23059); Tue, 12 Apr 2016 17:29:02 +0000
Received: (at 23059) by debbugs.gnu.org; 12 Apr 2016 17:28:33 +0000
Received: from localhost ([127.0.0.1]:33016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aq277-0004dD-0J
	for submit <at> debbugs.gnu.org; Tue, 12 Apr 2016 13:28:33 -0400
Received: from mail-vk0-f48.google.com ([209.85.213.48]:33326)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phillsusi@HIDDEN>) id 1aq275-0004d0-F6
 for 23059 <at> debbugs.gnu.org; Tue, 12 Apr 2016 13:28:31 -0400
Received: by mail-vk0-f48.google.com with SMTP id k1so34532439vkb.0
 for <23059 <at> debbugs.gnu.org>; Tue, 12 Apr 2016 10:28:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:subject:to:references:cc:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-transfer-encoding;
 bh=w2xzz5vKsxOvCwibS2X9rNeTMDSaMmm9dSEpe5sYUww=;
 b=UHUQCBzQoINqQL/4j7rftYgsKWprH9rQ/1iy0Ornp/qhbnJJmn+UwQgh3Zk4TRSj7a
 kifIVMU8lUXqi8kXmh0+LLbOg/5VA6nA4I1HkImwJ2IHwtDj1GaaI8jQtXtj3zcXuevL
 lGn5BzR3WiuAvhWTALzhUf4BLdwrIlrcox00wh0kEV9+OlZEXj/H7jjZiUH8Mu/S/3nn
 DEfRyprH3N9968Gu9FZKarsILyNQaA2Ovkf7pDt/FpCnZhWZkgRJ2Mlvm5OS3bwyE874
 2POEgzFd8KVWY9iigRrWWeTOv5A2ogzUYTsJX/2IVk4QsozhPsvXpTjda8h2GOx+iQ+O
 GYww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:subject:to:references:cc:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-transfer-encoding;
 bh=w2xzz5vKsxOvCwibS2X9rNeTMDSaMmm9dSEpe5sYUww=;
 b=CeyHE0LUty4G4qCk8rMDnz6QgjpU9OmXmHJnU1G0jZOck4QRRr98izCeXO5Qs3btDq
 Yj1qGm0M9Wi95JR9gvDGITESboei1d0KbeXn8at/rPcceM3dVS0FnmprFZ5+X7sVW10f
 Ho+xKmWlQsgkTzEXb0LziNkQ7uCT4fAWUuzY29UQFbeKonp3J0AZQYWoMZ751qP/gInW
 LTYwDCmNpNoaa8FL7RGAfhd4XTBBBdkViGv7WHBZgM0WA7r9p6RepkY6J5o2Tq3F2d1E
 E/eDlyT7u9kKm32y8dhHRxKkEB07F3nhn0Gt0QKCCjSFAV6I1FO7tUUZHBHDuHQNL287
 hVqQ==
X-Gm-Message-State: AOPr4FVcJrdiOYgVir+LhV5ZHDCmf8N4sXguwcmFiWXUDPVf9T9F7IVUFUq+Ap4u49LTDg==
X-Received: by 10.159.35.69 with SMTP id 63mr2181634uae.105.1460482105909;
 Tue, 12 Apr 2016 10:28:25 -0700 (PDT)
Received: from [10.1.1.203] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12])
 by smtp.googlemail.com with ESMTPSA id
 69sm5138273uak.14.2016.04.12.10.28.24
 (version=TLSv1/SSLv3 cipher=OTHER);
 Tue, 12 Apr 2016 10:28:25 -0700 (PDT)
References: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
 <570C41FF.5060803@HIDDEN>
 <42166.68.9.145.94.1460431428.squirrel@HIDDEN>
From: Phil Susi <psusi@HIDDEN>
Message-ID: <570D2FFD.7010108@HIDDEN>
Date: Tue, 12 Apr 2016 13:27:25 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <42166.68.9.145.94.1460431428.squirrel@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.5 (/)
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: -0.5 (/)

On 4/11/2016 11:23 PM, Ed Falat wrote:
> Have you manipulated this disk with the "Easeus" disk partitioning
> program?  I have seen another bug report about this on Ubuntu after
> using this program.
> 
>> No, when gparted failed, I booted a gparted usb drive, ran fixparts
>> then, upon failure of gparted to recognize grive, ran testdisk,
>> but could not recover all partitions although gparted was able to
>> see some of the disk again. Could not recover lost partitions
>> with parted's rescue either.

I don't mean in an attempt to fix this; I mean at any time in the past
have you ever used this program on this disk?  Also please don't remove
the bug from the Cc list; it is important to keep a record of the
information in the bug report.






Message sent to bug-parted@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23059: parted Debian 8
In-Reply-To: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
Resent-From: "=?UTF-8?Q?=EF=BC=B6=E5=AD=97=E9=BE=8D?=" <vdragon.taiwan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Sun, 10 Jul 2016 00:20:02 +0000
Resent-Message-ID: <handler.23059.B.146810997918865 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23059
X-GNU-PR-Package: parted
X-GNU-PR-Keywords: 
To: 23059 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-parted@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.146810997918865
          (code B ref -1); Sun, 10 Jul 2016 00:20:02 +0000
Received: (at submit) by debbugs.gnu.org; 10 Jul 2016 00:19:39 +0000
Received: from localhost ([127.0.0.1]:44498 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bM2TD-0004uC-8j
	for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 20:19:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50555)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM2EP-0002wm-5C
 for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 20:04:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM2EI-0005zc-Pp
 for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 20:04:16 -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.9 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,HTML_OBFUSCATE_10_20,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39763)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM2EI-0005yd-Mk
 for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 20:04:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41508)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM2EG-0003lP-2f
 for bug-parted@HIDDEN; Sat, 09 Jul 2016 20:04:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM2EA-0005vz-1L
 for bug-parted@HIDDEN; Sat, 09 Jul 2016 20:04:10 -0400
Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:33096)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM2E9-0005vk-MD
 for bug-parted@HIDDEN; Sat, 09 Jul 2016 20:04:05 -0400
Received: by mail-pa0-x22c.google.com with SMTP id b13so23086772pat.0
 for <bug-parted@HIDDEN>; Sat, 09 Jul 2016 17:04:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:references:subject:message-id:date:user-agent:mime-version;
 bh=CS448a7ASd+DHHb0Zgp7jBfVCgr+aDufu1vVX5RKW+Y=;
 b=hYyIXui2QFDXSuSSYOlvaeXzLX+dmOrBWbW7t2SE5v921WOWPZshH8Ps9gCeV5Kefw
 Jmn08nOnOHEY4c+ugp3ieL7X6kRQcNy2lIig5wtvqJiNHdOih/Lq5ZsFVhDDuWngp1Bn
 DBzsx25z18r5b0TLvtN0/rENe1j1vbyZs74BxY2LQjZ25ILRPudu/E0F1rxbxro/3Fru
 Q95mX5ugkJRRd4ZvhtI+rO3AdYcvOTB+m0aXTGSg6BKXL5VALaxn4f1gOdoVbGzqLpqj
 linuQ8NPlTEFAbQ56+6UgkOean5MGMb1EG3D5r58oN5Zz1UJDd1Ok7zdkDOywVy7oQ6+
 hMSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:references:subject:message-id:date
 :user-agent:mime-version;
 bh=CS448a7ASd+DHHb0Zgp7jBfVCgr+aDufu1vVX5RKW+Y=;
 b=Kf4128doPVPAkH3bw9asSIWPRenmDv1mQSXwZQViOelCVyrsfbY4nEna7pwCmk8UXt
 9XhHY+3pMMTZxt2w+vrWJQBxomMpEupkkKwieGhqwD+4KRWyjAeDUAGvyE4PUfU28T38
 l2T65OuD01yNrql4BjknOiTFnWVZVjxARB1XyodPxDeTEjrUWxK4zY5HGWj7hMPvloAU
 6YV36w3HwR8SdQicnwGDQ489uOnxwxqmGQmzajHw0BRQAg5fBvnxNtcatPw2Vxtow2sV
 O5k2hkF7y8GcttuDGJgOHiyPO+m/3/lF8LEqQ/Hv/nJgJq2Tzh17ogYbO3UthNwXpbk7
 IrWA==
X-Gm-Message-State: ALyK8tJALbmPpx7K265IbI0jO2Y29XUNn/9MJyYA5gidzsmtI5zaZrQpQf6PjxzhRgX+vA==
X-Received: by 10.67.13.230 with SMTP id fb6mr21979080pad.83.1468109044362;
 Sat, 09 Jul 2016 17:04:04 -0700 (PDT)
Received: from [192.168.31.251] (61-228-168-89.dynamic.hinet.net.
 [61.228.168.89])
 by smtp.gmail.com with ESMTPSA id yo10sm6711301pab.4.2016.07.09.17.04.03
 for <bug-parted@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 09 Jul 2016 17:04:03 -0700 (PDT)
From: "=?UTF-8?Q?=EF=BC=B6=E5=AD=97=E9=BE=8D?=" <vdragon.taiwan@HIDDEN>
X-Google-Original-From: =?UTF-8?Q?=EF=BC=B6=E5=AD=97=E9=BE=8D?= <Vdragon.Taiwan@HIDDEN>
References: 
Message-ID: <578190F0.5060006@HIDDEN>
Date: Sun, 10 Jul 2016 08:04:00 +0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------010804070807000207000304"
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: -2.9 (--)
X-Mailman-Approved-At: Sat, 09 Jul 2016 20:19:38 -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: -2.9 (--)

This is a multi-part message in MIME format.
--------------010804070807000207000304
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

(This is a re-send attempt as I seems to be failed to send to the 
mailing list itself)

Hi, I have the similar symptom myself so I'd like to share some of my 
details.

I recently bought an Intel SSDSC2BW240H6 240GB SSD and (probably) 
formatted to a msdos partition table using GNOME Disks(which seems to be 
Parted-based) then partitioned to "install" Ubuntu 16.04(and by 
"install" I mean I formatted an EXT4 filesystem and rsync'd the entire 
rootfs of my previously using Ubuntu 16.04 to the new filesystem then 
re-install the bootloader) via an USB 3.0 USB-to-SATA interface on a 
laptop.  The "install"ation went normally.

Then after few days later, recently, I plugged the new SSD on my desktop 
and working on a project which internally calls `parted` command for 
some information I encountered this "bug".

``````````````
Backtrace has 14 calls on stack:
   14: /lib/x86_64-linux-gnu/libparte
d.so.2(ped_assert+0x44) [0x7f653c3dcea4]
   13: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e45f) [0x7f653c3f045f]
   12: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7f653c3e18ba]
   11: 
/lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x25f) 
[0x7f653c3e21af]
   10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd4f) [0x7f653c3efd4f]
   9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dde0) [0x7f653c3efde0]
   8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd89) [0x7f653c3efd89]
   7: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ed75) [0x7f653c3f0d75]
   6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) 
[0x7f653c3e1dd8]
   5: parted/.libs/lt-parted() [0x407163]
   4: parted/.libs/lt-parted(non_interactive_mode+0x92) [0x40cdb2]
   3: parted/.libs/lt-parted(main+0x1082) [0x405ee2]
   2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) 
[0x7f653bbba830]
   1: parted/.libs/lt-parted(_start+0x29) [0x406089]

You found a bug in GNU Parted!(...)

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

I can still reproduce on current master branch.

I'm a 100% Ubuntu/GNU/Linux user and I alway use Parted-based 
application to do disk partitioning so I'm pretty sure it's not some 
proprietary applications' issue.  Here's the fdisk output:

```
Welcome to fdisk (util-linux 2.27.1).(...)

Command (m for help): print
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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: 0xf2e75007

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1            2048  19533297  19531250  9.3G ef EFI (FAT-12/16/32)
/dev/sda2        19533824  39065073  19531250  9.3G 83 Linux
/dev/sda3        39065600 468862127 429796528  205G  f W95 Ext'd (LBA)
/dev/sda5        39067648 468858879 429791232  205G 83 Linux
/dev/sda6       468858880 468860927      2048    1M 83 Linux
```

V字龍 <Vdragon.Taiwan@HIDDEN <mailto:Vdragon.Taiwan@HIDDEN>>


--------------010804070807000207000304
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    (This is a re-send attempt as I seems to be failed to send to the
    mailing list itself)<br>
    <br>
    Hi, I have the similar symptom myself so I'd like to share some of
    my details.<br>
    <br>
    I recently bought an Intel SSDSC2BW240H6 240GB SSD and (probably)
    formatted to a msdos partition table using GNOME Disks(which seems
    to be Parted-based) then partitioned to "install" Ubuntu 16.04(and
    by "install" I mean I formatted an EXT4 filesystem and rsync'd the
    entire rootfs of my previously using Ubuntu 16.04 to the new
    filesystem then re-install the bootloader) via an USB 3.0
    USB-to-SATA interface on a laptop.  The "install"ation went
    normally.<br>
    <br>
    Then after few days later, recently, I plugged the new SSD on my
    desktop and working on a project which internally calls `parted`
    command for some information I encountered this "bug".<br>
    <br>
    ``````````````<br>
    Backtrace has 14 calls on stack:<br>
      14: /lib/x86_64-linux-gnu/libparte
    <div id=":209" class="a3s aXjCH m155d14dbbc7d52c3"><wbr>d.so.2(ped_assert+0x44)
      [0x7f653c3dcea4]<br>
        13: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(+0x1e45f)
      [0x7f653c3f045f]<br>
        12: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(+0xf8ba)
      [0x7f653c3e18ba]<br>
        11: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(ped_disk_add_partition+<wbr>0x25f)
      [0x7f653c3e21af]<br>
        10: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(+0x1dd4f)
      [0x7f653c3efd4f]<br>
        9: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(+0x1dde0)
      [0x7f653c3efde0]<br>
        8: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(+0x1dd89)
      [0x7f653c3efd89]<br>
        7: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(+0x1ed75)
      [0x7f653c3f0d75]<br>
        6: /lib/x86_64-linux-gnu/libparte<wbr>d.so.2(ped_disk_new+0x48)
      [0x7f653c3e1dd8]<br>
        5: parted/.libs/lt-parted() [0x407163]<br>
        4: parted/.libs/lt-parted(non_int<wbr>eractive_mode+0x92)
      [0x40cdb2]<br>
        3: parted/.libs/lt-parted(main+0x<wbr>1082) [0x405ee2]<br>
        2: /lib/x86_64-linux-gnu/libc.so.<wbr>6(__libc_start_main+0xf0)
      [0x7f653bbba830]<br>
        1: parted/.libs/lt-parted(_start+<wbr>0x29) [0x406089]<br>
      <br>
      You found a bug in GNU Parted!(...)<br>
      <br>
      Assertion (metadata_length &gt; 0) at
      ../../../libparted/labels/dos.<wbr>c:2313 in function<br>
      add_logical_part_metadata() failed.<br>
      ```````````````<br>
      <br>
      I can still reproduce on current master branch.<br>
      <br>
      I'm a 100% Ubuntu/GNU/Linux user and I alway use Parted-based
      application to do disk partitioning so I'm pretty sure it's not
      some proprietary applications' issue.  Here's the fdisk output:<br>
      <br>
      ```<br>
      Welcome to fdisk (util-linux 2.27.1).(...)<br>
      <br>
      Command (m for help): print<br>
      Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors<br>
      Units: sectors of 1 * 512 = 512 bytes<br>
      Sector size (logical/physical): 512 bytes / 512 bytes<br>
      I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
      Disklabel type: dos<br>
      Disk identifier: 0xf2e75007<br>
      <br>
      Device     Boot     Start       End   Sectors  Size Id Type<br>
      /dev/sda1            2048  19533297  19531250  9.3G ef EFI
      (FAT-12/16/32)<br>
      /dev/sda2        19533824  39065073  19531250  9.3G 83 Linux<br>
      /dev/sda3        39065600 468862127 429796528  205G  f W95 Ext'd
      (LBA)<br>
      /dev/sda5        39067648 468858879 429791232  205G 83 Linux<br>
      /dev/sda6       468858880 468860927      2048    1M 83 Linux<br>
      ```<br>
      <br>
      V字龍 &lt;<a href="mailto:Vdragon.Taiwan@HIDDEN" target="_blank">Vdragon.Taiwan@HIDDEN</a>&gt;</div>
    <br>
  </body>
</html>

--------------010804070807000207000304--




Message sent to bug-parted@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#23059: parted Debian 8
In-Reply-To: <60463.68.9.145.142.1458343727.squirrel@HIDDEN>
Resent-From: "=?UTF-8?Q?=EF=BC=B6=E5=AD=97=E9=BE=8D?=" <vdragon.taiwan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Sun, 10 Jul 2016 02:05:02 +0000
Resent-Message-ID: <handler.23059.B.14681162432154 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 23059
X-GNU-PR-Package: parted
X-GNU-PR-Keywords: 
To: vdragon.taiwan@HIDDEN
Cc: psusi@HIDDEN, 23059 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: psusi@HIDDEN, bug-parted@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14681162432154
          (code B ref -1); Sun, 10 Jul 2016 02:05:02 +0000
Received: (at submit) by debbugs.gnu.org; 10 Jul 2016 02:04:03 +0000
Received: from localhost ([127.0.0.1]:44532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bM46E-0000Yg-Uo
	for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 22:04:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34580)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM46D-0000YD-DA
 for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 22:04:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM467-0006aV-1O
 for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 22:03:56 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60178)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM466-0006aQ-U5
 for submit <at> debbugs.gnu.org; Sat, 09 Jul 2016 22:03:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53776)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM464-0008KR-Ad
 for bug-parted@HIDDEN; Sat, 09 Jul 2016 22:03:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM460-0006Z6-T6
 for bug-parted@HIDDEN; Sat, 09 Jul 2016 22:03:52 -0400
Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:36131)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vdragon.taiwan@HIDDEN>) id 1bM460-0006Ya-IS
 for bug-parted@HIDDEN; Sat, 09 Jul 2016 22:03:48 -0400
Received: by mail-pa0-x230.google.com with SMTP id hu1so11304769pad.3
 for <bug-parted@HIDDEN>; Sat, 09 Jul 2016 19:03:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:references:subject:cc:message-id:date:user-agent
 :mime-version:content-transfer-encoding;
 bh=x0Y4OWwIu+W37q1HKGSgviJo+LyggEVKyD3WsNmlsLs=;
 b=UdDuHrAt3T0gsHjYdv473a3mX9w/ya6hAUMHHlwjs6cD2DQeHe9AjVD0dVyoLoABF6
 PhWhcvlsk8hM6KeDcdF2VIcqmMVf71x5MhVRyIzeoSY/lfZ1ipDLKuku0PYZZFQmoebx
 vzznW5ViiMc+rrUtK4tuiMlT5Ddq1GNDSJJnlwT1Gjx9+5a7rtYK5GkR3/6OLtrrFbPM
 lw44JGqTR6blozVaKCwqXn9BGP2/6rikhknHh4aeGs3CJDqmj9f6IchZp9DsfWZdFsNA
 9+WgwgLMjt0PIMxxZBdJ2NLPv+gSGJTqc++7QUTCzTpz51n0pC6Ecr6T69is0VjYIrgq
 e6tA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:references:subject:cc:message-id:date
 :user-agent:mime-version:content-transfer-encoding;
 bh=x0Y4OWwIu+W37q1HKGSgviJo+LyggEVKyD3WsNmlsLs=;
 b=GvYok1p8MmI0DbMPTlDHptvSVC+9yUpBzucVfp80q3bE49S7lkLXYjqMswgViXKDCO
 Vkl9HLH2u0xJOhH33NkOOBFuY+YczzB4KRm3yJANVhgIBzulN5BEDy+pastVbtsB+qxC
 p62B/AronpBDTgn0/CZlQ0ZaO7lfvP7fDoLntPyStPgU9jGDPjPesR4T91KmW7PIGrVA
 qPlMuiwUyAjjU+/aEIk4Qiy59G1N3SGLm0fmp5Ms1OhIYY/xvu3b8D7enBNkCGot0Y9d
 O1nPZm2IH8WoHPSHEBijEzFBtfn1Kh6kC5PDUYndy0q85SGApmUdlIw/EuWTbxdmH4SG
 GGBA==
X-Gm-Message-State: ALyK8tLJMSRdgRIPfLJQ3oneTx/eW00MVvvYW8e7PGR65IFjvV+oPZZJDP2EZVfrjwSbyg==
X-Received: by 10.66.11.72 with SMTP id o8mr22760063pab.106.1468116227558;
 Sat, 09 Jul 2016 19:03:47 -0700 (PDT)
Received: from [192.168.31.251] (61-228-168-89.dynamic.hinet.net.
 [61.228.168.89])
 by smtp.gmail.com with ESMTPSA id d65sm6601938pfa.45.2016.07.09.19.03.46
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 09 Jul 2016 19:03:47 -0700 (PDT)
From: "=?UTF-8?Q?=EF=BC=B6=E5=AD=97=E9=BE=8D?=" <vdragon.taiwan@HIDDEN>
X-Google-Original-From: =?UTF-8?Q?=EF=BC=B6=E5=AD=97=E9=BE=8D?= <Vdragon.Taiwan@HIDDEN>
References: 
Message-ID: <5781AD01.9050207@HIDDEN>
Date: Sun, 10 Jul 2016 10:03:45 +0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
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.0 (----)
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: -4.0 (----)

Hi, after a few attempts I found the exact steps to reproduce this bug:

````````````````````````````
user $ dd if=/dev/zero of=emulated-disk.img bs=1M count=100 # Let's 
pretend this small file is our disk
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.112727 s, 930 MB/s

user $ parted --script emulated-disk.img mklabel msdos
user $ parted --script emulated-disk.img mkpart extended 1s -- -1s
Warning: The resulting partition is not properly aligned for best 
performance.

user $ parted --script emulated-disk.img mkpart logical -- 99MiB -1s # I 
used to create a tiny partition at the end and name it "XXX_Security" to 
store the disk's owner information, sometime Parted will hide small 
inter-partition gap so I usually create it first
user $ parted --script emulated-disk.img mkpart logical 3s 99MiB # Then 
I create a filesystem to install GNU/Linux, it's not M$ Windows so I can 
just give them a logical partition
Warning: The resulting partition is not properly aligned for best 
performance.

user $ parted --script emulated-disk.img print
user $ parted --script emulated-disk.img \
 > unit s \
 > print # Notice that the partition record is not in order and even 
that it's valid I still hate it...
Model:  (file)
Disk emulated-disk.img: 204800s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start    End      Size     Type      File system  Flags
  1      1s       204799s  204799s  extended               lba
  6      3s       202751s  202749s  logical
  5      202752s  204799s  2048s    logical

user $ fdisk emulated-disk.img # ...since it seems that Parted doesn't 
support fixing the order let's use fdisk from util-linux to do the task
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk emulated-disk.img: 100 MiB, 104857600 bytes, 204800 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: 0xee29eef8

Device             Boot  Start    End Sectors  Size Id Type
emulated-disk.img1           1 204799  204799  100M  f W95 Ext'd (LBA)
emulated-disk.img5      202752 204799    2048    1M 83 Linux
emulated-disk.img6           3 202751  202749   99M 83 Linux

Partition table entries are not in disk order.

Command (m for help): x

Expert command (m for help): f

Expert command (m for help): r

Command (m for help): w
The partition table has been altered.
Syncing disks.

user $ parted --script emulated-disk.img print # ...then Parted 
crashed...:-(
Backtrace has 14 calls on stack:
   14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) 
[0x7f686ef4dea4]
   13: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e45f) [0x7f686ef6145f]
   12: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7f686ef528ba]
   11: 
/lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x25f) 
[0x7f686ef531af]
   10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd4f) [0x7f686ef60d4f]
   9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dde0) [0x7f686ef60de0]
   8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd89) [0x7f686ef60d89]
   7: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ed75) [0x7f686ef61d75]
   6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) 
[0x7f686ef52dd8]
   5: parted(+0x7343) [0x560b013b5343]
   4: parted(non_interactive_mode+0x92) [0x560b013bb102]
   3: parted(main+0x1238) [0x560b013b4028]
   2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) 
[0x7f686e72b830]
   1: parted(_start+0x29) [0x560b013b41d9]

You found a bug in GNU Parted!

(...)

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

Aborted (core dumped)
````````````````````````````

Note that I do align the partitions in the real life, the operation 
above is just for simplicity.
I'm using Parted 3.2 from Ubuntu 16.04's software archive, I will try 
attach a coredump from the current HEAD of the master branch in the next 
reply.

V字龍 <Vdragon.Taiwan@HIDDEN>





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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