GNU bug report logs - #28919
bug report v3.2 Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.

Previous Next

Package: parted;

Reported by: Rootless <rootless <at> gmail.com>

Date: Fri, 20 Oct 2017 21:13:02 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 28919 in the body.
You can then email your comments to 28919 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#28919; Package parted. (Fri, 20 Oct 2017 21:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rootless <rootless <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Fri, 20 Oct 2017 21:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rootless <rootless <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: bug report v3.2 Assertion (max_size > 0) at
 ../../libparted/cs/constraint.c:71
 in function ped_constraint_init() failed.
Date: Fri, 20 Oct 2017 17:05:54 -0400
[Message part 1 (text/plain, inline)]
GNU Parted 3.2
Using /dev/cciss/c1d1
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c1d1: 587GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  587GB  587GB  ext4

(parted) print device
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c1d1: 587GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  587GB  587GB  ext4

  align-check TYPE N                        check partition N for
TYPE(min|opt) alignment
  help [COMMAND]                           print general help, or help on
COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel
(partition 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,
available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near
START 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
device
  disk_toggle [FLAG]                       toggle the state of FLAG on
selected device
  set NUMBER FLAG STATE                    change the FLAG on partition
NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on
partition NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
copyright information of GNU Parted
(parted) print devices
/dev/cciss/c1d1 (587GB)
/dev/cciss/c1d0 (147GB)
/dev/cciss/c0d0 (881GB)
(parted) select /dev/cciss/c0d0
Backtrace has 14 calls on stack:
  14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f0e10267385]
  13: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_init+0xd0)
[0x7f0e1026def0]
  12: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_new+0x56)
[0x7f0e1026dfa6]
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_exact+0xa8)
[0x7f0e1026e868]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x26617) [0x7f0e10282617]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x266e6) [0x7f0e102826e6]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0xfdba) [0x7f0e1026bdba]
  7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_delete_all+0x62)
[0x7f0e1026c972]
  6: /lib/x86_64-linux-gnu/libparted.so.2(+0x259d9) [0x7f0e102819d9]
  5: parted(+0x6afb) [0x5646c9ee6afb]
  4: parted(interactive_mode+0x120) [0x5646c9eed0b0]
  3: parted(main+0x142b) [0x5646c9ee61eb]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)
[0x7f0e0fa423f1]
  1: parted(_start+0x2a) [0x5646c9ee624a]


You found a bug in GNU Parted! Here's what you have to do:

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

~# parted /dev/cciss/c0d0 unit co print unit s print
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d0: 881GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags

Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d0: 1720099632s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags



and the following history of commands you entered (see above).

Also include any additional information about your setup you
consider important. (let me know if you have any questions)

Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in function
ped_constraint_init() failed.


Thanks,

James

-- 
James Fowler/方志宇
santiago <at> myazcomputerguy.com
rootless <at> gmail.com
Public Key:
https://sites.google.com/site/poorpermissions/pk/fowler_publickey?attredirects=0&d=1
<http://rootless.googlepages.com/fowler_publickey>
[Message part 2 (text/html, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#28919; Package parted. (Fri, 03 Nov 2017 12:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 28919 <at> debbugs.gnu.org (full text, mbox):

From: Phil Susi <psusi <at> ubuntu.com>
To: Rootless <rootless <at> gmail.com>, 28919 <at> debbugs.gnu.org
Subject: Re: bug#28919: bug report v3.2 Assertion (max_size > 0) at
 ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.
Date: Fri, 3 Nov 2017 08:40:35 -0400
[Message part 1 (text/plain, inline)]
On 10/20/2017 5:05 PM, Rootless wrote:
> Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in function
> ped_constraint_init() failed.

Is this disk also partitioned using GPT?  Can you dd and compress the
first 64 sectors and post that so I can try to reproduce it?


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-parted <at> gnu.org:
bug#28919; Package parted. (Fri, 03 Nov 2017 13:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 28919 <at> debbugs.gnu.org (full text, mbox):

From: Rootless <rootless <at> gmail.com>
To: Phil Susi <psusi <at> ubuntu.com>,28919 <at> debbugs.gnu.org
Subject: Re: bug#28919: bug report v3.2 Assertion (max_size > 0) at
 ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.
Date: Fri, 03 Nov 2017 13:23:21 +0000
It is GPT partitioned. I was able to succeed doing it differently. I'm home sick, but can get you those first 64 sectors if they are still useful.

Please let me know.

On November 3, 2017 8:40:35 AM EDT, Phil Susi <psusi <at> ubuntu.com> wrote:
>On 10/20/2017 5:05 PM, Rootless wrote:
>> Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in
>function
>> ped_constraint_init() failed.
>
>Is this disk also partitioned using GPT?  Can you dd and compress the
>first 64 sectors and post that so I can try to reproduce it?

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.




Information forwarded to bug-parted <at> gnu.org:
bug#28919; Package parted. (Fri, 03 Nov 2017 14:48:01 GMT) Full text and rfc822 format available.

Message #14 received at 28919 <at> debbugs.gnu.org (full text, mbox):

From: Phil Susi <psusi <at> ubuntu.com>
To: Rootless <rootless <at> gmail.com>, 28919 <at> debbugs.gnu.org
Subject: Re: bug#28919: bug report v3.2 Assertion (max_size > 0) at
 ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.
Date: Fri, 3 Nov 2017 10:47:17 -0400
[Message part 1 (text/plain, inline)]
On 11/3/2017 9:23 AM, Rootless wrote:
> It is GPT partitioned. I was able to succeed doing it differently.
> I'm home sick, but can get you those first 64 sectors if they are
> still useful.

Only if you are still getting the error.


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-parted <at> gnu.org:
bug#28919; Package parted. (Mon, 06 Nov 2017 14:18:01 GMT) Full text and rfc822 format available.

Message #17 received at 28919 <at> debbugs.gnu.org (full text, mbox):

From: Rootless <rootless <at> gmail.com>
To: Phil Susi <psusi <at> ubuntu.com>
Cc: 28919 <at> debbugs.gnu.org
Subject: Re: bug#28919: bug report v3.2 Assertion (max_size > 0) at
 ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.
Date: Mon, 6 Nov 2017 09:16:47 -0500
[Message part 1 (text/plain, inline)]
Didn't try it again the same way and was successful. The volume has data on
it now, so no problems here.

On Fri, Nov 3, 2017 at 10:47 AM, Phil Susi <psusi <at> ubuntu.com> wrote:

> On 11/3/2017 9:23 AM, Rootless wrote:
> > It is GPT partitioned. I was able to succeed doing it differently.
> > I'm home sick, but can get you those first 64 sectors if they are
> > still useful.
>
> Only if you are still getting the error.
>
>
>


-- 
James Fowler/方志宇
santiago <at> myazcomputerguy.com
rootless <at> gmail.com
Public Key:
https://sites.google.com/site/poorpermissions/pk/fowler_publickey?attredirects=0&d=1
<http://rootless.googlepages.com/fowler_publickey>
[Message part 2 (text/html, inline)]

Reply sent to Phil Susi <psusi <at> ubuntu.com>:
You have taken responsibility. (Fri, 08 Dec 2017 13:53:02 GMT) Full text and rfc822 format available.

Notification sent to Rootless <rootless <at> gmail.com>:
bug acknowledged by developer. (Fri, 08 Dec 2017 13:53:02 GMT) Full text and rfc822 format available.

Message #22 received at 28919-done <at> debbugs.gnu.org (full text, mbox):

From: Phil Susi <psusi <at> ubuntu.com>
To: 28919-done <at> debbugs.gnu.org
Subject: Re: bug#28919: bug report v3.2 Assertion (max_size > 0) at
 ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.
Date: Fri, 8 Dec 2017 08:52:16 -0500
[Message part 1 (text/plain, inline)]
On 11/6/2017 9:16 AM, Rootless wrote:
> Didn't try it again the same way and was successful. The volume has data on
> it now, so no problems here.

Then I'm closing the report.


[signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Jan 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 160 days ago.

Previous Next


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