I have just unistalled everything from synaptic, I reinstalled codeblocks and now I decided to install also the package codeblocks-contrib with updated plugins.
I have opened codeblocks from terminal and I just did nothing and it has closed well, after that i reopened codeblocks from terminal and I open a .c file with it and compiled it, after that I've closed codeblocks and now it still opened: these are the last few lines from terminal:
Found 1 files:
- /home/user/Dekstop/file.c
Updating class browser...
Class browser updated.
(codeblocks:20329): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
Deinitializing plugins...
(codeblocks:20329): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'
(codeblocks:20329): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
(codeblocks:20329): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'
(codeblocks:20329): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
and it stays on the last line.
I understood that the problem is concerned to editor maybe, because codeblocks doesn't close only when I open a .c file: Infact I made another try from terminal and I had this:
Editor Open
Caching GCC default include dir: /usr/include/c++/4.6
Caching GCC default include dir: /usr/include/c++/4.6/x86_64-linux-gnu
Caching GCC default include dir: /usr/include/c++/4.6/backward
Caching GCC default include dir: /usr/lib/gcc/x86_64-linux-gnu/4.6/include
Caching GCC default include dir: /usr/local/include
Caching GCC default include dir: /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed
Caching GCC default include dir: /usr/include/x86_64-linux-gnu
Caching GCC default include dir: /usr/include
Passing list of files to batch-parser.
Header to parse with priority: '/usr/include/c++/4.6/cstddef'
Add 1 priority parsing file(s) for project '*NONE*'...
No active project available.
Traversing '/home/user/Scrivania' for: Untitled1.*
Found 1 files:
- /home/user/Scrivania/Untitled1.c
Create new parser for project '*NONE*'
Updating class browser...
Class browser updated.
Starting batch parsing for project '*NONE*'...
Pool task operated?!
Pool task operated?!
Pool task operated?!
Already current parser present?!
Project '*NONE*' parsing stage done!
Project '*NONE*' parsing stage done (9 total parsed files, 589 tokens in 0 minute(s), 0.059 seconds).
No active project available.
Traversing '/home/user/Scrivania' for: Untitled1.*
Found 1 files:
- /home/user/Scrivania/Untitled1.c
Updating class browser...
Class browser updated.
(codeblocks:2985): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
Deinitializing plugins...
(codeblocks:2985): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' 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 `(null)' 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
I hope it will help to solve my problem, thanks
edit: same thing in --safemode