Hello,
Since OpenBSD doesn't have full utf8 support, there's a bug in glib2 that
produces a NULL dereference while comparing strings with g_utf8_collate_key()
if an alternative locale is defined.
For instance, starting gimp with LC_ALL=fr_FR.ISO8859-1 makes it
immediately crash with a segmentation fault.
The following patch to devel/glib2 seems to fix it.
Best regards,
--
Frank Denis - frank [at] nailbox.fr - Young Nails / Akzentz nail tech
http://forum.manucure.info - http://www.manucure-pro.com
$OpenBSD$
--- glib/gutf8.c.orig Tue Mar 7 17:32:38 2006
+++ glib/gutf8.c Thu Jul 6 14:58:21 2006
@@ -1011,13 +1011,6 @@ g_ucs4_to_utf8 (const gunichar *str,
if (!str[i])
break;
- if (str[i] >= 0x80000000)
- {
- g_set_error (error, G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
- _("Character out of range for UTF-8"));
- goto err_out;
- }
-
result_length += UTF8_LENGTH (str[i]);
}