Re: Unknown core dumps



Hi,

Stupid question: have you initialized goocanvasmm?

Regards,
Juan.

On Sat, 2014-10-11 at 13:07 +0200, Kees Kling wrote:
Hi guys,

Trying to do some coding with Goocanvasmm in combination with gtkmm-3.0. 
I try to create a editable polyline as a custom item and it is displayed 
correct, but when I move my mouse over the graphic I get the next 
errormessages:

(moveDump:28132): GLib-GObject-CRITICAL **: g_object_get_qdata: 
assertion 'G_IS_OBJECT (object)' failed

(moveDump:28132): GLib-GObject-CRITICAL **: g_object_get_qdata: 
assertion 'G_IS_OBJECT (object)' failed

(moveDump:28132): glibmm-WARNING **: Failed to wrap object of type 
'(null)'. Hint: this error is commonly caused by failing to call a 
library init() function.

In the core I see:
#0  0x00007f263597056a in g_type_get_qdata () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007f2636b3303c in Glib::wrap_auto(_GObject*, bool) () from 
/usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#2  0x00007f26378c9d7d in 
Glib::ListHandler<Glib::RefPtr<Goocanvas::Item>, 
Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Goocanvas::Item> > 
 >::list_to_vector(_GList*, Glib::OwnershipType) () from 
/usr/lib/libgoocanvasmm-2.0.so.6
#3  0x00007f26378d310a in Goocanvas::Item::get_items_at_vfunc(double, 
double, Cairo::RefPtr<Cairo::Context> const&, bool, bool, 
std::vector<Glib::RefPtr<Goocanvas::Item>, 
std::allocator<Glib::RefPtr<Goocanvas::Item> > > const&) () from 
/usr/lib/libgoocanvasmm-2.0.so.6
#4  0x00007f26378d3284 in 
Goocanvas::Item_Class::get_items_at_vfunc_callback(_GooCanvasItem*, 
double, double, _cairo*, int, int, _GList*) ()
    from /usr/lib/libgoocanvasmm-2.0.so.6
#5  0x00007f2635ba4754 in ?? () from /usr/lib/libgoocanvas-2.0.so.9
#6  0x00007f2635ba4754 in ?? () from /usr/lib/libgoocanvas-2.0.so.9
#7  0x00007f2635bc1378 in goo_canvas_get_item_at () from 
/usr/lib/libgoocanvas-2.0.so.9
#8  0x00007f2635bc3817 in ?? () from /usr/lib/libgoocanvas-2.0.so.9
#9  0x00007f2635bc4bda in ?? () from /usr/lib/libgoocanvas-2.0.so.9
#10 0x00007f263751f824 in 
Gtk::Widget::on_motion_notify_event(_GdkEventMotion*) () from 
/usr/lib/x86_64-linux-gnu/libgtkmm-3.0.so.1
#11 0x00007f2637521a64 in 
Gtk::Widget_Class::motion_notify_event_callback(_GtkWidget*, 
_GdkEventMotion*) ()
    from /usr/lib/x86_64-linux-gnu/libgtkmm-3.0.so.1
#12 0x00007f2634b5648e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007f26359503b7 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007f2635968e82 in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007f2635969ae2 in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007f2634c77794 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007f2634b5478c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#18 0x00007f2634b56075 in gtk_main_do_event () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#19 0x00007f2634759d98 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#20 0x00007f2634764f9c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#21 0x00007f26359503b7 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f2635968e82 in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007f263596a012 in g_signal_emit_by_name () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f263475f439 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#25 0x00007f2634752be8 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#26 0x00007f2635687f13 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f26356873b6 in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f2635687708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2635687b0a in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2634b55525 in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007f26374c6d2d in Gtk::Main::run(Gtk::Window&) () from 
/usr/lib/x86_64-linux-gnu/libgtkmm-3.0.so.1
#32 0x000000000040edbc in main (argc=1, argv=0x7fff556218c8) at 
../main.cc:39


Has this something to do with my code or is it a bug in the underlying 
librarys.

Thanks
Kees Kling

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list




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