Public bug reported:
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/pymodules/python2.7/guppy/heapy/UniSet.py", line 348, in
__str__
return self.fam.c_str(self)
File "/usr/lib/pymodules/python2.7/guppy/heapy/UniSet.py", line 1616, in c_str
a.fam.get_partition(a).ppob(ob)
File "/usr/lib/pymodules/python2.7/guppy/heapy/UniSet.py", line 1704, in
get_partition
p = a.fam.Part.partition(a, a.er)
File "/usr/lib/pymodules/python2.7/guppy/heapy/Part.py", line 774, in
partition
return SetPartition(self, set, er)
File "/usr/lib/pymodules/python2.7/guppy/heapy/Part.py", line 705, in __init__
assert size == part.size
AssertionError
>>>
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-guppy 0.1.9-2ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
Uname: Linux 3.2.0-48-generic i686
NonfreeKernelModules: nvidia
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
PackageArchitecture: all
SourcePackage: guppy
UpgradeStatus: Upgraded to precise on 2012-05-08 (407 days ago)
** Affects: guppy (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1192838
Title:
AssertionError on assert size == part.size
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/guppy/+bug/1192838/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs