Comment 5 for bug 903676

Revision history for this message
su_v (suv-lp) wrote :

Regressions with XML Editor using GtkTreeView instead of GtkCList on OS X 10.7.2:

- 64bit builds with Apple's llvm-gcc-4.2 (since r11105):
crash when selecting an attribute in the attribute list (crash report attached, done with archived build of r11106)

- 64bit builds with Apple's llvm-gcc-4.2, run from gdb (since r11105):
the value of the selected attribute is not displayed at all (and thus not editable), instead this critical warning is output to the console:

(inkscape:7382): Gtk-CRITICAL **: void gtk_text_buffer_emit_insert(GtkTextBuffer *, GtkTextIter *, const gchar *, gint): assertion `g_utf8_validate (text, len, NULL)' failed

- experimental 64bit builds with FSF GCC 4.6.3 (since r11118):
crash when updating a modified attribute value (with 'Ctrl+Enter' or clicking on the 'Set' button)

- experimental 64bit builds with FSF GCC 4.6.3, run from gdb (since r11118):
crash when updating a modified attribute value (with 'Ctrl+Enter' or clicking on the 'Set' button)

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000040406d9
0x00007fff82e8e870 in strcmp ()
(gdb) bt
#0 0x00007fff82e8e870 in strcmp ()
#1 0x0000000100546b59 in Inkscape::UI::Dialog::XmlTree::on_attr_row_changed ()
(gdb)

Note I: FSF GCC 4.6 is not the system compiler on OS X, and the default gdb doesn't produce backtraces for applications built with newer versions of GCC.

Note II: 32bit builds with Apple's GCC 4.2.1 on Mac OS X 10.5.8 (Intel) seem not affected.

Note III: with latest r11118 on OS X Lion (64bit), none of my builds (irrespective of the compiler) has a functional XML Editor anymore.