[sigc] Segmentation fault with libsigc++ 2.0.3



Hi list,

My application has started to segfault with the latest libsigc++ 2.0.3.
However, as I'm not very familiar with libsigc++ internals, I can only
give you this backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x08247ae0 in ?? ()
(gdb) bt
#0  0x08247ae0 in ?? ()
#1  0x40666be0 in ~slot_base (this=0x82472d0) at slot_base.h:87
#2  0x406465b4 in (anonymous namespace)::SourceConnectionNode::destroy_notify_callback () from /usr/lib/libglibmm-2.4.so.1
#3  0x407b6818 in g_source_set_callback_indirect ()
   from /usr/lib/libglib-2.0.so.0
#4  0x407b798d in g_main_depth () from /usr/lib/libglib-2.0.so.0
#5  0x407b8a38 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x407b8d70 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#7  0x407b93b3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x40440d13 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4018d4e9 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#10 0x4018d333 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#11 0x0809b232 in main (argc=2, argv=0xbffff9f4) at main.cpp:48

slot_base.h line 87 gives me this:

  inline ~slot_rep()
    { if (detach_) (*detach_)(this); }

Obviously, this must mean that this pointer is not set to 0 as it should
earlier in the progress. I hope any of you developers can find why this
occurs.

Thanks!

  - Morten.

-- 
http://mbrix.dk/



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