[gtkmm] Strange Seg fault



hi,

I'm not sure whether this is me, or what but here goes:
I have a large window class (21 variables, 10 methods, constructor,
destructor derived from Gtk::Window).

When I add another composite object the project compiles and quits with
a seg fault.  When I say composite object I mean an object that isnt a
float, int, bool etc.  Generally I am trying to add a Gtk::HBox.

When run through gdb, the following backtrace is spat out:
********************************************************************
(gdb) bt
#0  SigC::Control_::add_dependency(SigC::NodeBase*) (this=0xa9400805,
    node=0x80aefa0) at object.cc:81
#1  0x4056d95f in SigC::ObjectSlotNode::init(SigC::Object*, void*, void
(SigC::Object::*)()) (this=0x80aefa0, control=0x80aefc4,
object=0x80aefc4, method=
      {__pfn = 0x1d, __delta = 0}) at object_slot.cc:17
#2  0x4014a412 in SigC::Slot0<void> SigC::slot<void, Gtk::Main,
Gtk::Main>(Gtk::Main&, void (Gtk::Main::*)()) (obj= 0xbffff950, method=
      {__pfn = 0x1d, __delta = 0}) at object_slot.h:45
#3  0x4014a09a in Gtk::Main::run(Gtk::Window&) (window= 0xbffff870)
    at signalproxy.h:113
#4  0x0804d7f0 in main (argc=1, argv=0xbffff9c4) at main.cc:11
********************************************************************

I hope someone can help me, or at least let me know what I am doing
wrong.

Thanks
Don




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]