Public bug reported: Binary package hint: gnome-power-manager
This is gnome-power-manager 2.24.2-2ubuntu8 (jaunty). [crybaby ~]gnome-power-manager --no-daemon --sync The program 'gnome-power-manager' received an X Window System error. This probably reflects a bug in the program. The error was 'BadRequest (invalid request code or no such operation)'. (Details: serial 187 error_code 1 request_code 154 minor_code 25) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) A little playing with gdb shows that it's caused by a call to XRRGetScreenResourcesCurrent in gpm_brightness_xrandr_update_cache (src /gpm-brightness-xrandr.c), added by debian/patches/79-randr13-speed- fix.patch as part of #307306. But the fix is wrong, as mentioned in further discussion on that bug: the call is guarded by #ifdef but that only helps if the code is compiled against an old client library (which can anyway be prevented by appropriate Build-Depends). The problem is that my X server doesn't provide Xrandr 1.3, because I'm holding it back (because of the Intel graphics driver bug warned of in the Jaunty release notes). I've attached a fixed version of the patch which (a) stores the server's Xrandr version number, and (b) checks it before calling the offending function, falling back to XRRGetScreenResources. ProblemType: Bug ACAdapter: Present Architecture: i386 Battery: Present CPUScaling: Present DistroRelease: Ubuntu 9.04 LaptopPanel: Present Package: gnome-power-manager 2.24.2-2ubuntu8 ProcEnviron: LC_COLLATE=POSIX PATH=(custom, user) LANG=en_GB.utf8 SHELL=/bin/bash SourcePackage: gnome-power-manager Uname: Linux 2.6.28-11-generic i686 ** Affects: gnome-power-manager (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- gnome-power-manager dies on startup with BadRequest error https://bugs.launchpad.net/bugs/372468 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs