Hi,
I use Ubuntu 12.04 64b.
I have compiled C::B today, rev 7936. Nothing bad happened, the build worked fine.
When I launch C::B, I get that fatal error :
DragScroll plugin activated
Open files list plugin activated
wxSmith - Aui plugin activated
(codeblocks:4053): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'
(codeblocks:4053): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
(codeblocks:4053): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'
(codeblocks:4053): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
Initializing plugins...
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 15169 error_code 3 request_code 152 minor_code 3)
(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.)
folco@Weygand:/usr/local/lib$
I found that page on the forum : http://forums.codeblocks.org/index.php?action=printpage;topic=16218.0
The author propose to install gamin-dev to solve the problem, but it is already installed here.
What could I try to get C::B working ?
Thanks in advance.
This is incredible.
I have installed Gnome and started a session. When running C::B from a terminal, I always get this error :
Keyboard shortcuts plugin activated
ThreadSearch plugin activated
DragScroll plugin activated
Open files list plugin activated
wxSmith - Aui plugin activated
(codeblocks:1869): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkRadioMenuItem'
(codeblocks:1869): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
(codeblocks:1869): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'
(codeblocks:1869): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
Initializing plugins...
Then now C::B runs fine, and I can close it without another error.
Strange bug. What happens ??
gtk2-engines-oxygen has been updated today in Kubuntu (and Ubuntu I guess).
Now I can run Code::Blocks with the Oxygen theme. :)
But I still get the critical error :
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "GNU GCC Compiler for TriCore"
Compiler plugin activated
DoxyBlocks plugin activated
Keyboard shortcuts plugin activated
ThreadSearch plugin activated
Open files list plugin activated
(codeblocks:2985): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'
(codeblocks:2985): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
(codeblocks:2985): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'
(codeblocks:2985): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
Initializing plugins...
But at least, it works. :)
May I do something to help to pinpoint the problem ?