Author Topic: Crashed on window move under OpenSuse  (Read 3130 times)

Offline smpoole7

  • Single posting newcomer
  • *
  • Posts: 3
Crashed on window move under OpenSuse
« on: August 10, 2009, 06:24:44 pm »
I just installed Code::Blocks on OpenSuSE 11.1. Thus far, it seems to be working quite well ... as long as I don't try to move the scripts window. To see what was happening, I started "codeblocks" in a terminal window, then moved the scripts window. Here's what I got at the terminal:

Code
(codeblocks:5498): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
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 85484 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.

I'm talking about the Scripting Console which appears when you start Code::Blocks. I don't do anything else to it; the "Welcome to the script console!" message is still in there. All I do is click on the title bar and try to drag the window out of the way. The move succeeds, but as soon as I release the mouse button, the crash occurs. The program instantly bails out without any warnings or error messages.

Offline smpoole7

  • Single posting newcomer
  • *
  • Posts: 3
Re: Crashed on window move under OpenSuse
« Reply #1 on: August 10, 2009, 06:57:24 pm »
Sorry, I guess I should have provided a little more info.

I downloaded and installed this from the OpenSuse "build" repositories:

Code
Code::Blocks: 2.8.8 (Linux, unicode) - built 07-27-09

The packages I've installed (if I'm following this correctly -- I'm new to wxwidgets and Code::Blocks):

Code
wxGTK - 2.8.8.1-1.48
wxGTK-compat - 2.8.8.1-1.48
wxGTK-devel - 2.8.8.1-1.48
wxGTK-gl - 2.8.8.1-1.48

So it looks like I don't have any major version conflicts. I'm using the wxsmith plugin to autogenerate the project.

Could there be a conflict between the "compat" and "regular" wxGTK packages?


Offline smpoole7

  • Single posting newcomer
  • *
  • Posts: 3
Re: Crashed on window move under OpenSuse
« Reply #2 on: August 11, 2009, 06:07:34 am »
OK, he pops in one more time.

The problem is obviously a missing (or possibly duplicated) library on my laptop, which is where the problem appears. On my desktop system at home, running OpenSuSE 11.1 as well, it works just dandy. No problems whatsoever.

No need to waste anyone's time on this one. I'll figure it out. It has to be a library issue. Probably something silly. :)

(Or even dunderheaded.)