smem crashed with IndexError in showpie()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smem (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: smem
This occurred in smem 0.9-3 on Ubuntu 10.10. I ran the command:
smem --pie name -s pss
That caused the crash, and the bug is reproducible by running the same command again. It crashes immediately, without displaying a graphical plot. The output is:
Traceback (most recent call last):
File "/usr/bin/smem", line 636, in <module>
showpids()
File "/usr/bin/smem", line 246, in showpids
showtable(
File "/usr/bin/smem", line 455, in showtable
showpie(l, sort)
File "/usr/bin/smem", line 498, in showpie
while values and (t + values[-1 - c] < (tm * .02) or
IndexError: list index out of range
However, this command reliably succeeds, producing a graphical plot with no errors:
smem --pie name -s rss
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: smem 0.9-3
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Fri Oct 1 05:30:53 2010
Dependencies:
ExecutablePath: /usr/bin/smem
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406)
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/smem --pie name -s pss
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.utf8
PythonArgs: ['/usr/bin/smem', '--pie', 'name', '-s', 'pss']
SourcePackage: smem
Title: smem crashed with IndexError in showpie()
UserGroups: adm admin cdrom lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
For some reason, I am no longer able to reproduce this bug. The command that caused it before no longer causes it. Perhaps an update to python2 fixed it. Or maybe it reflected a problem specific to my system. In any case, if nobody else can reproduce it, then I think we should consider it fixed, unless other people are having the problem.