URL: <http://gna.org/bugs/?22316>
Summary: UTF-8 trouble with repeated "Connect to network game" / "Cancel" Project: Freeciv Submitted by: jtn Submitted on: Sat 12 Jul 2014 15:18:19 BST Category: client-gtk-2.0 Severity: 2 - Minor Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: trunk r25504 Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: (Following on from bug #22048:) Xubuntu 12.04 amd64; start freeciv-gtk2; repeatedly "Connect to network game" then "Cancel" (using keyboard shortcuts for speed: hold down Alt then c[O]nnect, [C]ancel, [O], [C], ...). Some fraction of the time I get console error messages like the following, and sometimes I see mangled characters in the client's status line. Maybe some lack of thread safety in communicating metaserver/version information back to main thread? (freeciv-gtk2:9856): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (freeciv-gtk2:9856): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (freeciv-gtk2:9856): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed (freeciv-gtk2:9856): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (freeciv-gtk2:9856): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22316> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev