News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can't exit CodeBlocks!

Started by tiger, November 05, 2006, 04:58:15 PM

Previous topic - Next topic

tiger

Hi all
I have just installed CodeBlocks in Ubuntu 6.10 (from http://www.savefile.com/projects/1037211 - the latest one). I meet 2 problems.
The first is I can't exit CodeBlocks completely, so I can't start it again (without killing it first  :x ). This is the error:

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
-------------- Build: Debug in hello ---------------
Target is up to date.
Nothing to be done.

Process terminated with status 0 (0 minutes, 4 seconds)

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

(codeblocks:10404): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file


The second problem, I think it's not serious, is a message popped up each time I start CodeBlocks: "Delete stale lock file 'tmp/Code::Blocks-tiger'.".

Code::Blocks will be better without those problems  :D

Der Meister

Quote from: tiger on November 05, 2006, 04:58:15 PM
The second problem, I think it's not serious, is a message popped up each time I start CodeBlocks: "Delete stale lock file 'tmp/Code::Blocks-tiger'.".
This one comes from your first problem. As you can't close Code::Blocks in the "normal" way it can't remove this lock (which is probably used to check whether there is another instance running or not). The next time you start Code::Blocks it will give you this warning if it finds this lock but can't find any running instance. This is probably to indicate that something went wrong the last time.
If your first problem is solved the second one will disappear, too.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.