I experienced the same error when I right-clicked one of the document tabs:
ahj@anders-laptop:~/projects/prot$ gedit TcpSampling.cpp ahj@anders-laptop:~/projects/prot$ (gedit:22206): Gdk-WARNING **: The program 'gedit' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 7971714 error_code 3 request_code 141 minor_code 51) (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 GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) [1]+ Exit 1 gedit ../../../cell/common/packetstatcollect.cpp (wd: ~/projects/prot/linux/build) (wd now: ~/projects/prot) ahj@anders-laptop:~/projects/prot$ gedit TcpSampling.cpp -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1033618 Title: The program 'gedit' received an X Window System error. Status in gedit package in Ubuntu: New Bug description: Trace/breakpoint trap (core dumped) moma@precise32:~/desktop-radio$ (gedit:2625): Gdk-WARNING **: The program 'gedit' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 233477 error_code 3 request_code 143 minor_code 51) (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 GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gedit 3.4.1-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic-pae 3.2.21 Uname: Linux 3.2.0-27-generic-pae i686 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu11 Architecture: i386 Date: Mon Aug 6 19:42:32 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gedit UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1033618/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

