Public bug reported:

Binary package hint: gnome-utils

gnome-screenshot exits cleanly with a return code of 01. It prints a
message before it ends however:

The program 'gnome-screenshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 4799 error_code 3 request_code 15 minor_code 0)
  (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.)

To reproduce this bug:
1. $ gnome-screenshot --interactive
2.  Click the "Grab the current window" radio button option
3. Click the "Take Screenshot" Button.

What should happen:
A window should pop up asking you where you want to save the file.

What happens instead:
gnome-screenshot exits cleanly with a return code of 01. It prints a message 
before it ends however:

The program 'gnome-screenshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 4799 error_code 3 request_code 15 minor_code 0)
  (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.)

running:

$ gnome-screenshot --interactive --sync

fixes the issue.

ProblemType: Bug
Architecture: amd64
Date: Sat Dec 26 05:18:35 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: gnome-utils 2.28.1-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: gnome-utils
Uname: Linux 2.6.31-16-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:10887): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (gnome-settings-daemon:10887): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (nautilus:10925): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 
`preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:10932): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed

** Affects: gnome-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
gnome-screenshot exits with BadWindow (X Windows Error)
https://bugs.launchpad.net/bugs/500533
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

Reply via email to