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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Rootless <rootless <at> gmail.com>
Subject: bug#28919: closed (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, 08 Dec 2017 13:53:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 28919 <at> debbugs.gnu.org.

-- 
28919: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28919
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
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 6 (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 7 (text/html, inline)]

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

Previous Next


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