User forums > Help

Codeblocks triggers X Windows System error

(1/2) > >>

ASJ:
All of a sudden my Codeblocks doesn't start up anymore, giving the following message right after the splash screen flashes for a moment:

--- Code: ---  The program 'codeblocks' received an X Window System error.
  This probably reflects a bug in the program.
  The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 1304 error_code 11 request_code 145 minor_code 5)
  (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.)

--- End code ---

After re-installing x.org this problem still remains. Also building a new version from svn does not change anything. I am using openSuse 10.3 (also tried the TuXKeeper rpm, it gives the same problems).
Does anyone have the same problem or have a clue to solve this problem?

TIA

Jenna:
This is not (only) a C::B problem:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461410
You can downgrade "xserver-xorg-core" manually to make it work again.

Jenna:

--- Quote from: imhotep on January 18, 2008, 02:33:13 pm ---Ubuntu 7.10, Codeblocks svn4639
Reinstalling to Codeblocks svn4830 (from 'lgp203.free.fr' repository) don't help... :(

--- End quote ---
Again: it's not C::B related.
It's a bug in xserver-xorg caused by a security update.
For Ubuntu look here: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/183969 .

Jenna:
I just got a mail from debian package-maintainer.

As workaround you can try to put the following into "xorg.conf" and restart XServer:

--- Code: ---        Section "Extensions"
                Option "MIT-SHM" "no"
        EndSection

--- End code ---

HCHRIST:
xorg.conf addition works for me. Thanks lad.

Navigation

[0] Message Index

[#] Next page

Go to full version