Re: [sigc] Segmentation fault with libsigc++ 2.0.3



Hi Morten!

Thanks for reporting the bug!

However, please open a bug report at bugzilla.gnome.org to help us keeping track of it. Please specify gtkmm2 as module since the error is most likely to be found there. It would be great if you appended a small-as-possible-but- compilable .cc test file. Obviously you are using a Glib::IOSource or something alike?

Regards,

 Martin


Am 15.06.2004 12:00:34 schrieb(en) Morten Brix Pedersen:
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/
_______________________________________________
libsigc-list mailing list
libsigc-list gnome org
http://mail.gnome.org/mailman/listinfo/libsigc-list




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