Re: [Inkscape-devel] commit warning

On Sun, Sep 04, 2005 at 05:03:56PM +0200, Ralf Stephan wrote:
for this reorganization. However, some issues are unresolved at the moment, and I'll pursue them ASAP:
- slideshow is probably broken
in spite of five days of testing, so don't hesitate to report.
I suspect that "slideshow" being broken probably means that the About box is dead too. Is that right? I get the following crash when opening the Help->About box now:
(inkscape:17201): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
(inkscape:17201): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

On Sun, Sep 04, 2005 at 08:04:50PM -0700, Kees Cook wrote:
I suspect that "slideshow" being broken probably means that the About box is dead too. Is that right? I get the following crash when opening the Help->About box now:
(inkscape:17201): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject' (inkscape:17201): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
And...
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1226217792 (LWP 17417)] 0xb738ca10 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0 (gdb) bt #0 0xb738ca10 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0 #1 0x0821fd26 in SPSVGView::onDocumentSet (this=0xa5133f0, document=0x88adf40) at svg-view.cpp:197 #2 0x083d2ac3 in SPView::setDocument (this=0xbfa27614, doc=0x9e13ae0) at stl_list.h:216 #3 0x081af36e in sp_svg_view_widget_new (doc=0xa5133f0) at svg-view-widget.cpp:217 #4 0x081e6326 in sp_help_about () at help.cpp:122

Also crashes on opening the File Open dialog, please fix:
(gdb) bt #0 0x40c6bcf3 in IA__g_type_check_instance_cast (type_instance=0x18, iface_type=140638840) at gtype.c:3155 #1 0x081d8a85 in SPSVGView::onDocumentSet (this=0x90eff40, document=0x85c5f40) at svg-view.cpp:193 #2 0x0835a406 in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::pointer_functor2<SPDocument*, SPView*, void>, SPView*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void, SPDocument*>::call_it (rep=0x18, a_1=@0x18) at ptr_fun.h:147 #3 0x0835a2c2 in SPView::setDocument (this=0x90effc8, doc=0x90bbfd8) at stl_list.h:214 #4 0x08174a5e in sp_svg_view_widget_new (doc=0x90eff40) at svg-view-widget.cpp:217 #5 0x082111f1 in Inkscape::UI::Dialogs::SVGPreview::setDocument (this=0x88328b4, doc=0x85c5f40) at dialogs/filedialog.cpp:145 #6 0x082112b8 in Inkscape::UI::Dialogs::SVGPreview::setFromMem (this=0x88328b4, xmlBuffer=0x90e05c8 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg\nxmlns="http://www.w3.org/2000/svg%5C%22%5Cnxmlns:xlink=%5C%22http://www.w3.org/1999..." height="600">\n<g transform="translate(-190,24.27184)" style="opaci"...) at dialogs/filedialog.cpp:186 #7 0x08211335 in Inkscape::UI::Dialogs::SVGPreview::showNoPreview (this=0x88328b4) at dialogs/filedialog.cpp:372 #8 0x0821354d in Inkscape::UI::Dialogs::SVGPreview::set (this=0x88328b4, fileName=@0xbfffd300, dialogType=0) at dialogs/filedialog.cpp:572 #9 0x08213647 in Inkscape::UI::Dialogs::FileOpenDialogImpl::updatePreviewCallback (this=0x8832898) at dialogs/filedialog.cpp:694 #10 0x08217861 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Inkscape::UI::Dialogs::FileOpenDialogImpl> >::operator() (this=0x18) at mem_fun.h:1781 #11 0x4036b177 in Glib::SignalProxyNormal::slot0_void_callback (self=0x9097f20, data=0x8217890) at slot.h:440 #12 0x40c62fc9 in IA__g_cclosure_marshal_VOID__VOID (closure=0x90dda90, return_value=0x0, n_param_values=1, param_values=0x18, invocation_hint=0xbfffd4c8, marshal_data=0x0) at gmarshal.c:77 #13 0x40c4e06d in IA__g_closure_invoke (closure=0x90dda90, return_value=0x0, n_param_values=1, param_values=0xbfffd5e0, invocation_hint=0xbfffd4c8) at gclosure.c:437 #14 0x40c61e92 in signal_emit_unlocked_R (node=0x908d8f8, detail=0, instance=0x9097f20, emission_return=0x0, instance_and_params=0xbfffd5e0) at gsignal.c:2555 #15 0x40c6298f in IA__g_signal_emit_valist (instance=0x9097f20, signal_id=151617312, detail=0, var_args=0xbfffd778 "╦вЪ(c)\232ъф@$╖г@$╖г@╦вЪ(c)и/ф@\030\222\t\t \177\t\tьg\r\tьg\r\t") at gsignal.c:2244 #16 0x40c62b11 in IA__g_signal_emit_by_name (instance=0x9097f20, detailed_signal=0x4058a97a "update-preview") at gsignal.c:2312 #17 0x4043c6d3 in delegate_update_preview (chooser=0x9099218, data=0x9097f20) at gtkfilechooserutils.c:335

Thanks for the reports, they are all resolved in cvs, with the missing initialization of the _drawing member.
Also thanks to David, as I have yet to get everything together for my first inkboard compilation.
ralf
participants (3)
-
bulia byak
-
Kees Cook
-
Ralf Stephan