Author Topic: Can't exit CodeBlocks!  (Read 3393 times)

tiger

  • Guest
Can't exit CodeBlocks!
« on: November 05, 2006, 04:58:15 pm »
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:

Code
(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

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Can't exit CodeBlocks!
« Reply #1 on: November 09, 2006, 05:04:00 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.