Re: [gtkmm] Strange Seg fault
- From: Billy O'Connor <billyoc gnuyork org>
- To: Donald <DonScorgie Blueyonder co uk>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Strange Seg fault
- Date: Tue, 10 Feb 2004 14:40:06 -0500
Donald <DonScorgie Blueyonder co uk> writes:
> 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
> ********************************************************************
Can you post the smallest compilable example of the offending code?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]