AssertionError on assert size == part.size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
guppy (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
When trying to use guppy to print information about heap usage in python, it raises an exception as it is analysing the structure of the heap.
$ python
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from guppy import hpy
>>> h = hpy()
>>> print h.heap()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return self.fam.
File "/usr/lib/
a.fam.
File "/usr/lib/
p = a.fam.Part.
File "/usr/lib/
return SetPartition(self, set, er)
File "/usr/lib/
assert size == part.size
AssertionError
>>>
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-guppy 0.1.9-2ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-48-generic i686
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: i386
Date: Thu Jun 20 08:16:53 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
PackageArchitec
SourcePackage: guppy
UpgradeStatus: Upgraded to precise on 2012-05-08 (407 days ago)
Changed in guppy (Ubuntu): | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Thanks for taking your time to report this issue and help making Ubuntu better.
I get the same assertion error when I attempt to run hpy().heap() on Ubuntu Saucy. Strange thing is though, it looks like once you've hit the error any subsequent calls to this method works fine.