Re: Why these "critical" errors ?
- From: Murray Cumming <murrayc murrayc com>
 
- To: Glus Xof <gtglus gmail com>
 
- Cc: gtkmm-list gnome org
 
- Subject: Re: Why these "critical" errors ?
 
- Date: Tue, 19 Jan 2010 16:47:41 +0100
 
On Tue, 2010-01-19 at 16:30 +0100, Glus Xof wrote:
> Hello guys,
> 
> Why this kind of errors,
> 
> (pp:14491): GLib-GObject-CRITICAL **: g_param_spec_flags: assertion
> `G_TYPE_IS_FLAGS (flags_type)' failed
> 
> (pp:14491): GLib-GObject-CRITICAL **: g_object_class_install_property:
> assertion `G_IS_PARAM_SPEC (pspec)' failed
You can get a backtrace at that point by doing "break gdb" in gdb. That
might give a clue.
valgrind also often gives clues when very weird things happen.
Or maybe you are just not using Gtk::Main early enough. For instance,
maybe you have a static instance somewhere.
In the worst case, you'll have to break this down to a simple test case,
just like debugging any hard problem.
-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]