After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579777 - gnome-system-monitor renice or kill causes close
gnome-system-monitor renice or kill causes close
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-21 21:36 UTC by Fernando Miguel
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Fernando Miguel 2009-04-21 21:36:12 UTC
Please describe the problem:
Trying to "Change Priority" for any process of any owner causes g-s-m to close with the following error shown in the terminal:

The program 'gnome-system-monitor' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 125982 error_code 8 request_code 1 minor_code 0)

Apport and gdb do not see any crash, so I can't get a backtrace. This is reproducible for me every time. Note that the priority slider does not need to be changed, as the crash happens when pressing the "Change Priority" button under any circumstances. This is similar to the fixed libgksu bug #206583, but appears to be a separate issue. This did not occur previously in Jaunty.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gnome-system-monitor
NonfreeKernelModules: nvidia
Package: gnome-system-monitor 2.26.0.1-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-system-monitor
Uname: Linux 2.6.28-11-generic x86_64

Steps to reproduce:
1) Open gnome-system-monitor
2) Right-click on any process in the Processes tab and choose "Change Priority"
3) Adjusting the slider is optional. Press the "Change Priority" button.


Actual results:
4) g-s-m closes, and "Starting Administrative Application" appears in the gnome-panel. No renice occurs.


Expected results:
4) The priority chosen by the slider is applied to the process, and g-s-m stays open.


Does this happen every time?
yes

Other information:
bug on launcjpad https://bugs.launchpad.net/bugs/363558
Comment 1 Hew McLachlan 2009-04-24 13:25:49 UTC
More information from downstream report:

Obtained backtraces with "break gdk_x_error".

http://launchpadlibrarian.net/25787500/gdb-g-s-m.txt - renice user process
http://launchpadlibrarian.net/25787513/gdb-g-s-m.txt - renice root process

"the issue seems either a wnck or a xorg one"
Comment 2 Hew McLachlan 2009-08-05 08:33:29 UTC
The problem still exists with g-s-m 2.27.4 on Ubuntu Karmic
Comment 3 jens.timmerman 2010-09-05 20:13:10 UTC
this bug was fixed here

https://bugzilla.gnome.org/show_bug.cgi?id=549760
Comment 4 Chris Kühl 2011-07-03 18:47:40 UTC
Was fixed as indicated in the previous comment.