From unknown Tue Sep 09 21:32:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35378: bug in parted Resent-From: Mikhail Kagalenko Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Mon, 22 Apr 2019 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35378 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 35378@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15559444953242 (code B ref -1); Mon, 22 Apr 2019 14:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2019 14:48:15 +0000 Received: from localhost ([127.0.0.1]:51226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIaEw-0000qB-Qs for submit@debbugs.gnu.org; Mon, 22 Apr 2019 10:48:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIZOV-0007dK-KB for submit@debbugs.gnu.org; Mon, 22 Apr 2019 09:54:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:51947) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIZOP-0004Oc-Hp for submit@debbugs.gnu.org; Mon, 22 Apr 2019 09:53:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIZOM-0000So-Fq for bug-parted@gnu.org; Mon, 22 Apr 2019 09:53:57 -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, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIZOK-0004NQ-Hg for bug-parted@gnu.org; Mon, 22 Apr 2019 09:53:54 -0400 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:32990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIZOI-0004M2-Hf for bug-parted@gnu.org; Mon, 22 Apr 2019 09:53:50 -0400 Received: by mail-oi1-x234.google.com with SMTP id e5so8514561oii.0 for ; Mon, 22 Apr 2019 06:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=w4pDtOEePBj6BLjplC8Z6BJvJv0bHiWwJNah+rZpiPM=; b=ujYf7BuxZoByv3sQiNILemsk1nYaLEvRqnnhqYtGaI0v42cJY78uuqbpn3ceyCa6gP pkIlVvYWqm23AkXghHsBcTPUyTgd0qjUMpoyWdOnBAQXzyfu3Qz6QrEdOXaDp0LXt2RM wzCZyEgoZz0XXPrG2foyPoYjxcmme7GJh+Wx8rriQSxVm/IQ08OWsRfQEYuG58PuNdkb dTWVOAroR816Z6xcfusaXZX0vQgfH6TLEh2RRVQg76h2VXu9b6C70Qjt9FuQ2QZ1yO7B +Cljfr/7XYU/rJ6kRorGQDstN8xSC6sZ0M0CTS59p3Vsa7L04utYRk9zDmwa9uF/fFMC JYSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=w4pDtOEePBj6BLjplC8Z6BJvJv0bHiWwJNah+rZpiPM=; b=akLB0hYBE5PoytKKqhlQa9J4azLKoKhtv1M22dXtOEd2VOmOjSaYdaayOJ14mQFP8+ TzsSyO78iIjjnBI4AQQB1R7Mw5KOq1Miq8bm+/uKVGvR032l9ac+FY1DsyYg8fpkb8Ca LUCtLZWV+Sot9ZhEIp2FkX3OFEQgfo+TBCkwyvb+vaOmJjq9cIu90JtsNU5EpsahGvlu MEoAC5tM2kNjIMEyWe4j4ot8HpJG2J69IPmuOD3V6NIKpj5SD78jTVvNjXKZhazL04iX OpUc3DMFM0z8lRc7rbJQaciv9WTVDw0kfFkwdvh+ajizVxpbFg9B+BEyviA4ajy0CHrh no5A== X-Gm-Message-State: APjAAAUPj7uSIKxrvxJd+VruIFJARA64gSssyK20rQn1uZv8ampQCr9G 01vk2EFCRwL+msFzp6D71pY42/ViyPM4rRNY/ReW3U7o X-Google-Smtp-Source: APXvYqz95eQhq4Tp15P1ANRl8WVjbxZ9+ov4yT4BgnDgA9hp33PXmhg/EKilSsgzUkD/sGXtrxGRj3e3DxrNafbO0CY= X-Received: by 2002:aca:4dc2:: with SMTP id a185mr10703767oib.167.1555941224366; Mon, 22 Apr 2019 06:53:44 -0700 (PDT) MIME-Version: 1.0 From: Mikhail Kagalenko Date: Mon, 22 Apr 2019 16:53:33 +0300 Message-ID: Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::234 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Mon, 22 Apr 2019 10:48:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) ~% 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) [0x7efee1995fc5] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x23b3f) [0x7efee19acb3f] 12: /lib/x86_64-linux-gnu/libparted.so.2(+0x119fa) [0x7efee199a9fa] 11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7efee199b313] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x233ec) [0x7efee19ac3ec] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7efee19ac480] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x23426) [0x7efee19ac426] 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24455) [0x7efee19ad455] 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7efee199af18] 5: parted(+0x73fe) [0x55e1c22293fe] 4: parted(non_interactive_mode+0x92) [0x55e1c222f1c2] 3: parted(main+0x12bf) [0x55e1c222807f] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7efee11932e1] 1: parted(_start+0x2a) [0x55e1c222824a] 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. From unknown Tue Sep 09 21:32:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mikhail Kagalenko Subject: bug#35378: closed (Re: bug#35378: bug in parted) Message-ID: References: <87y340d2zw.fsf@vps.thesusis.net> X-Gnu-PR-Message: they-closed 35378 X-Gnu-PR-Package: parted Reply-To: 35378@debbugs.gnu.org Date: Tue, 23 Apr 2019 17:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1556041922-21017-1" This is a multi-part message in MIME format... ------------=_1556041922-21017-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35378: bug in parted 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 35378@debbugs.gnu.org. --=20 35378: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35378 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1556041922-21017-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35378-done) by debbugs.gnu.org; 23 Apr 2019 17:51:23 +0000 Received: from localhost ([127.0.0.1]:54293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIzZj-0005S7-2J for submit@debbugs.gnu.org; Tue, 23 Apr 2019 13:51:23 -0400 Received: from ec2-34-202-238-73.compute-1.amazonaws.com ([34.202.238.73]:47048 helo=vps.thesusis.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIzZh-0005Rs-DJ for 35378-done@debbugs.gnu.org; Tue, 23 Apr 2019 13:51:21 -0400 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id CDE8A288E6; Tue, 23 Apr 2019 13:51:15 -0400 (EDT) Received: from vps.thesusis.net ([IPv6:::1]) by localhost (ip-172-26-1-203.ec2.internal [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id AhroBqarGZRB; Tue, 23 Apr 2019 13:51:15 -0400 (EDT) Received: by vps.thesusis.net (Postfix, from userid 1000) id 7F5E2288E8; Tue, 23 Apr 2019 13:51:15 -0400 (EDT) References: User-agent: mu4e 0.9.18; emacs 25.2.2 From: Phillip Susi To: Mikhail Kagalenko Subject: Re: bug#35378: bug in parted In-reply-to: Date: Tue, 23 Apr 2019 13:51:15 -0400 Message-ID: <87y340d2zw.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 35378-done Cc: 35378-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) Mikhail Kagalenko writes: > Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in > function add_logical_part_metadata() failed. This happens because parted requires a space between logical partitions to put the EBR. Some other unknown parittioning tool under unknown circumstances violates this constraint. ------------=_1556041922-21017-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Apr 2019 14:48:15 +0000 Received: from localhost ([127.0.0.1]:51226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIaEw-0000qB-Qs for submit@debbugs.gnu.org; Mon, 22 Apr 2019 10:48:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIZOV-0007dK-KB for submit@debbugs.gnu.org; Mon, 22 Apr 2019 09:54:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:51947) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIZOP-0004Oc-Hp for submit@debbugs.gnu.org; Mon, 22 Apr 2019 09:53:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIZOM-0000So-Fq for bug-parted@gnu.org; Mon, 22 Apr 2019 09:53:57 -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, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIZOK-0004NQ-Hg for bug-parted@gnu.org; Mon, 22 Apr 2019 09:53:54 -0400 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:32990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIZOI-0004M2-Hf for bug-parted@gnu.org; Mon, 22 Apr 2019 09:53:50 -0400 Received: by mail-oi1-x234.google.com with SMTP id e5so8514561oii.0 for ; Mon, 22 Apr 2019 06:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=w4pDtOEePBj6BLjplC8Z6BJvJv0bHiWwJNah+rZpiPM=; b=ujYf7BuxZoByv3sQiNILemsk1nYaLEvRqnnhqYtGaI0v42cJY78uuqbpn3ceyCa6gP pkIlVvYWqm23AkXghHsBcTPUyTgd0qjUMpoyWdOnBAQXzyfu3Qz6QrEdOXaDp0LXt2RM wzCZyEgoZz0XXPrG2foyPoYjxcmme7GJh+Wx8rriQSxVm/IQ08OWsRfQEYuG58PuNdkb dTWVOAroR816Z6xcfusaXZX0vQgfH6TLEh2RRVQg76h2VXu9b6C70Qjt9FuQ2QZ1yO7B +Cljfr/7XYU/rJ6kRorGQDstN8xSC6sZ0M0CTS59p3Vsa7L04utYRk9zDmwa9uF/fFMC JYSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=w4pDtOEePBj6BLjplC8Z6BJvJv0bHiWwJNah+rZpiPM=; b=akLB0hYBE5PoytKKqhlQa9J4azLKoKhtv1M22dXtOEd2VOmOjSaYdaayOJ14mQFP8+ TzsSyO78iIjjnBI4AQQB1R7Mw5KOq1Miq8bm+/uKVGvR032l9ac+FY1DsyYg8fpkb8Ca LUCtLZWV+Sot9ZhEIp2FkX3OFEQgfo+TBCkwyvb+vaOmJjq9cIu90JtsNU5EpsahGvlu MEoAC5tM2kNjIMEyWe4j4ot8HpJG2J69IPmuOD3V6NIKpj5SD78jTVvNjXKZhazL04iX OpUc3DMFM0z8lRc7rbJQaciv9WTVDw0kfFkwdvh+ajizVxpbFg9B+BEyviA4ajy0CHrh no5A== X-Gm-Message-State: APjAAAUPj7uSIKxrvxJd+VruIFJARA64gSssyK20rQn1uZv8ampQCr9G 01vk2EFCRwL+msFzp6D71pY42/ViyPM4rRNY/ReW3U7o X-Google-Smtp-Source: APXvYqz95eQhq4Tp15P1ANRl8WVjbxZ9+ov4yT4BgnDgA9hp33PXmhg/EKilSsgzUkD/sGXtrxGRj3e3DxrNafbO0CY= X-Received: by 2002:aca:4dc2:: with SMTP id a185mr10703767oib.167.1555941224366; Mon, 22 Apr 2019 06:53:44 -0700 (PDT) MIME-Version: 1.0 From: Mikhail Kagalenko Date: Mon, 22 Apr 2019 16:53:33 +0300 Message-ID: Subject: bug in parted To: bug-parted@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::234 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 22 Apr 2019 10:48:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) ~% 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) [0x7efee1995fc5] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x23b3f) [0x7efee19acb3f] 12: /lib/x86_64-linux-gnu/libparted.so.2(+0x119fa) [0x7efee199a9fa] 11: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7efee199b313] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x233ec) [0x7efee19ac3ec] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x23480) [0x7efee19ac480] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x23426) [0x7efee19ac426] 7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24455) [0x7efee19ad455] 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7efee199af18] 5: parted(+0x73fe) [0x55e1c22293fe] 4: parted(non_interactive_mode+0x92) [0x55e1c222f1c2] 3: parted(main+0x12bf) [0x55e1c222807f] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7efee11932e1] 1: parted(_start+0x2a) [0x55e1c222824a] 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. ------------=_1556041922-21017-1--