Every time I select a node in XML editor, I get
(inkscape:14979): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
Anyone else seeing this?
(inkscape:14979): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
OK, nevermind, I fixed this too: G_TYPE_INT was used instead of G_TYPE_UINT. The new glib is stricter on such errors, as well as on using unreffed objects (this caused two crashes which I also fixed today). I recommend that everyone upgrades to glib 2.5.* to find more bugs like this.
Hi,
(inkscape:14979): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
OK, nevermind, I fixed this too: G_TYPE_INT was used instead of G_TYPE_UINT. The new glib is stricter on such errors, as well as on using unreffed objects (this caused two crashes which I also fixed today). I recommend that everyone upgrades to glib 2.5.* to find more bugs like this.
I couldn't reproduce that problem, but found that it's very easy to crash Inkscape with the XML editor. (Maybe this is what you fixed?)
1. start Inkscape 2. Ctrl+Shift+X 3. while keeping an eye on stdout, indent/undent nodes in the XML editor 4. sooner or later, you get asserts or crash
An example for a crash: indent the node saying 'metadata id="metadata4"' (in default empty document).
Arpad Biro
__________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
- start Inkscape
- Ctrl+Shift+X
- while keeping an eye on stdout, indent/undent nodes in the XML
editor 4. sooner or later, you get asserts or crash
An example for a crash: indent the node saying 'metadata id="metadata4"' (in default empty document).
No it's different. Please submit a bug. It dies with
** (inkscape:22458): CRITICAL **: The id 'RDF1007' is already claimed by SPObject 0x83c9110
** ERROR **: Update id RDF5 to unique id RDF1007 has been vetoed; cannot maintain SPObject <-> SPRepr binding aborting...
Program received signal SIGTRAP, Trace/breakpoint trap. IA__g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=0x829db20 "Update id %s to unique id %s has been vetoed; cannot maintain SPObject <-> SPRepr binding", args1=0xbfffe5dc "юЙ=\bЬА\037\t\001") at gmessages.c:492 492 depth--; Current language: auto; currently c (gdb)
On Fri, Nov 19, 2004 at 05:36:02PM -0500, bulia byak wrote:
An example for a crash: indent the node saying 'metadata id="metadata4"' (in default empty document).
No it's different. Please submit a bug. It dies with
** (inkscape:22458): CRITICAL **: The id 'RDF1007' is already claimed by SPObject 0x83c9110
** ERROR **: Update id RDF5 to unique id RDF1007 has been vetoed; cannot maintain SPObject <-> SPRepr binding
Is this my fault? The backtrace shows a call through sp_metadata_build. Is there something I'm not doing in my _build function that I should be?
Is this my fault? The backtrace shows a call through sp_metadata_build.
Maybe not, or maybe not only that, because it can be crashed by in/outdenting other nodes as well though this crash seems different:
- in new document, ctrl+shift+x
- indent, then outdent sodipodi:namedview
- switch to another tool
crashes with:
** ERROR **: file sp-namedview.cpp: line 703 (void sp_namedview_activate_guides(SPNamedView*, void*, int)): assertion failed: (g_slist_find (nv->views, desktop)) aborting... /home/d/bin/i: line 2: 19527 Trace/breakpoint trap /home/d/ink/inkscape/src/inkscape "$@"
participants (3)
-
Arpad Biro
-
bulia byak
-
Kees Cook