GNOME Bugzilla – Bug 668317
Crash if default colors list is shorter than the number of CPUs
Last modified: 2012-02-21 14:28:10 UTC
Forwarded from Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/919014 When starting the system monitor for the first time after installing precise, it produced this crash. Subsequent attempts at starting it wails with no warning. I have investigated the issue, and it seems that if the default colors list (4 colors) is shorter than the number of CPUs in the computer (e.g. 8), it crashes system monitor. I have managed to reproduce this by setting the dconf-value to a 2 elements list (and I have 4 cores).
See the stacktrace here: https://i90479508.restricted.launchpadlibrarian.net/90479508/Stacktrace.txt?token=9eb5966506c3ccf26cab929c12ffb98f
Attached a patch fixing this issue to bug #632188.
Thanks. See commit 6e966d0cfca266d5f1ea02995b7debc198ff636d for the fix.
*** Bug 670535 has been marked as a duplicate of this bug. ***