Author Topic: CB Crashes when trying to dock windows  (Read 4005 times)

Offline jeancf

  • Multiple posting newcomer
  • *
  • Posts: 20
CB Crashes when trying to dock windows
« on: November 18, 2008, 10:17:09 am »
Hi,

I am using C::B under Linux. When I try to dock a window (e.g. watches window) anywhere in the C::B application frame C::B crashes as soon as I release the mouse button.

When I start C::B at the command prompt I get the following error message after the crash:

Code
The program 'codeblocks' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 727589 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.)
libxcb: WARNING! Program tries to lock an already locked connection,
        which indicates a programming error.
        There will be no further warnings about this issue.

My system:
Codeblocks SVN build 5312
WxWidgets 2.8.9 unicode
OpenSUSE 11.0
KDE 4.1.3

Thanks,

~/jc

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: CB Crashes when trying to dock windows
« Reply #1 on: November 11, 2009, 01:10:58 pm »
Hi,

I am using C::B under Linux. When I try to dock a window (e.g. watches window) anywhere in the C::B application frame C::B crashes as soon as I release the mouse button.

When I start C::B at the command prompt I get the following error message after the crash:

Code
The program 'codeblocks' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 727589 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.)
libxcb: WARNING! Program tries to lock an already locked connection,
        which indicates a programming error.
        There will be no further warnings about this issue.

My system:
Codeblocks SVN build 5312
WxWidgets 2.8.9 unicode
OpenSUSE 11.0
KDE 4.1.3

Thanks,

~/jc

After a real long time, I found time to dig into it deeper and (hopefully) found a workaround for this bug, see here.