Code::Blocks Forums

User forums => Help => Topic started by: devkid on April 29, 2007, 05:52:05 PM

Title: Code::Blocks crashs without any error or warning message
Post by: devkid on April 29, 2007, 05:52:05 PM
Always when I create a new project or when I want to open an existing project Code::Blocks crashs without any warning or error message. But when I run it in the console, there is an error with GTK:
(codeblocks:9128): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

Gtk-ERROR **: file gtkcontainer.c: line 2447 (gtk_container_propagate_expose): assertion failed: (child->parent == GTK_WIDGET (container))
aborting...


Btw: I use openSUSE 10.2.
And sorry for my (maybe) bad english, I'm German.
Title: Re: Code::Blocks crashs without any error or warning message
Post by: acop on May 24, 2007, 08:48:43 PM
I got exactly the same error. Even when I try to change some settings (settings->environment) it just drops core. I'm using Code::Blocks 1.0rc2 on FreeBSD 6.2.
Title: Re: Code::Blocks crashs without any error or warning message
Post by: lubos on May 24, 2007, 08:58:31 PM
Quote from: acop on May 24, 2007, 08:48:43 PM
I got exactly the same error. Even when I try to change some settings (settings->environment) it just drops core. I'm using Code::Blocks 1.0rc2 on FreeBSD 6.2.
hmm try nightly build, rc2 is really old
Title: Re: Code::Blocks crashs without any error or warning message
Post by: acop on May 24, 2007, 09:25:23 PM
I used ports collection and there are no nightly builds :P
Title: Re: Code::Blocks crashs without any error or warning message
Post by: Deschamps on May 24, 2007, 09:51:14 PM
Quote from: acop
I used ports collection and there are no nightly builds :P

You could try to build your own binaries compiling from svn source. That is the way i use in openSuse 10.2 (with compiled wxGTK-2.8.4, too) and all is working fine. Compiler is the default gcc 4.1.2 20061115.
Title: Re: Code::Blocks crashs without any error or warning message
Post by: acop on May 24, 2007, 10:11:44 PM
Quote from: Deschamps on May 24, 2007, 09:51:14 PM
Quote from: acop
I used ports collection and there are no nightly builds :P

You could try to build your own binaries compiling from svn source. That is the way i use in openSuse 10.2 (with compiled wxGTK-2.8.4, too) and all is working fine. Compiler is the default gcc 4.1.2 20061115.

Actually I'm trying to do that now :)