Jon,
a couple small icon-related things:
1 when double clicking a guide to open guide dialog, i get
** (inkscape:24066): WARNING **: failed to load icon 'guide_dialog'
2 launch, ctrl+n to open a new window, ctrl+q to quit:
(inkscape:24082): Gtk-CRITICAL **: gtk_size_group_remove_widget: assertion `GTK_IS_SIZE_GROUP (size_group)' failed
bulia byak wrote:
Jon,
a couple small icon-related things:
1 when double clicking a guide to open guide dialog, i get
** (inkscape:24066): WARNING **: failed to load icon 'guide_dialog'
Yes. That appears to be happening because there is no "guide_dialog" icon anywhere.
There used to be a guide_dialog.png, but it's been removed. I guess one step is that we need a replacement. Another possible step would be to default to a broken image or some such.
a couple small icon-related things:
1 when double clicking a guide to open guide dialog, i get
** (inkscape:24066): WARNING **: failed to load icon 'guide_dialog'
OK, I think I'll just remove the reference to this one.
2 launch, ctrl+n to open a new window, ctrl+q to quit:
(inkscape:24082): Gtk-CRITICAL **: gtk_size_group_remove_widget: assertion `GTK_IS_SIZE_GROUP (size_group)' failed
Jon, what about this one? It happens always when quitting with two or more windows. Moreover I got a crash which seems to be related. In a directory with many svg files (at least 6 in my case), run
inkscape *.svg
and press ctrl+q as soon as they finish loading. This gives a bunch of asserts and a crash:
(inkscape:15711): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(inkscape:15711): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(inkscape:15711): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(inkscape:15711): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(inkscape:15711): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(inkscape:15711): Gtk-CRITICAL **: gtk_size_group_remove_widget: assertion `GTK_IS_SIZE_GROUP (size_group)' failed
(inkscape:15711): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1087741248 (LWP 15711)] 0x409caa2b in IA__g_type_check_instance_is_a (type_instance=0x1f40, iface_type=20) at gtype.c:3127 3127 check = node && node->is_instantiatable && iface && type_node_conforms_to_U (node, iface, TRUE, FALSE); Current language: auto; currently c (gdb) bt #0 0x409caa2b in IA__g_type_check_instance_is_a (type_instance=0x1f40, iface_type=20) at gtype.c:3127 #1 0x409b33cf in IA__g_object_get_qdata (object=0x928a1b8, quark=790) at gobject.c:1598 #2 0x4057edec in get_size_groups (widget=0x928a1b8) at gtksizegroup.c:60 #3 0x4057eed2 in add_widget_to_closure (widget=0x928a1b8, mode=GTK_SIZE_GROUP_VERTICAL, groups=0xbfffd9e4, widgets=0xbfffd9e8) at gtksizegroup.c:105 #4 0x4057ef68 in add_widget_to_closure (widget=0x9268200, mode=GTK_SIZE_GROUP_VERTICAL, groups=0xbfffd9e4, widgets=0xbfffd9e8) at gtksizegroup.c:89 #5 0x4057f107 in queue_resize_on_widget (widget=0x8ceff10, check_siblings=1) at gtksizegroup.c:201 #6 0x40614182 in IA__gtk_widget_queue_resize (widget=0x8ceff10) at gtkwidget.c:2512 #7 0x4052ac85 in gtk_label_recalculate (label=0x8ceff10) at gtklabel.c:1133 #8 0x0819dc36 in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::pointer_functor2<SPSelection*, _GtkObject*, void>, _GtkObject*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void, SPSelection*>::call_it (rep=0x14, a_1=@0x1f40) at ptr_fun.h:147 #9 0x081032b7 in SPSelection::_emitChanged (this=0x8cfd6b0) at stl_list.h:214 #10 0x0815de2b in sp_desktop_widget_destroy (object=0x889cb28) at desktop.cpp:1010
Looks like some selection-changed signal callback is called right after the desktop widget is destroyed, and crashes trying to access widgets that don't exist already.
bulia byak wrote:
a couple small icon-related things:
1 when double clicking a guide to open guide dialog, i get
** (inkscape:24066): WARNING **: failed to load icon 'guide_dialog'
OK, I think I'll just remove the reference to this one.
2 launch, ctrl+n to open a new window, ctrl+q to quit:
(inkscape:24082): Gtk-CRITICAL **: gtk_size_group_remove_widget: assertion `GTK_IS_SIZE_GROUP (size_group)' failed
Jon, what about this one? It happens always when quitting with two or more windows. Moreover I got a crash which seems to be related.
Yup. That's a naughty one. Generally tied to lifetime, references, callbacks, etc.
I've got it reproduceable and will track it down. First I might clean up the code creating things, so that might help. The one thing I verified is that it's not happening in the middle of the destroy() of one of the SPIcons.
participants (2)
-
bulia byak
-
Jon A. Cruz