From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 10 01:16:18 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2725016A46B; Thu, 10 Jan 2008 01:16:18 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id C186913C442; Thu, 10 Jan 2008 01:16:17 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m0A1HV4E064252; Wed, 9 Jan 2008 20:17:31 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: <1199925635.9959.10.camel@RabbitsDen> References: <1199893999.756.29.camel@RabbitsDen> <1199900104.304.28.camel@shumai.marcuscom.com> <1199925635.9959.10.camel@RabbitsDen> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-f+mwK7Ma/WDQ0zr4TPJH" Organization: MarcusCom, Inc. Date: Wed, 09 Jan 2008 20:16:35 -0500 Message-Id: <1199927795.304.70.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on creme-brulee.marcuscom.com Cc: ports@freebsd.org, gnome@freebsd.org, Alexander Nedotsukov Subject: Re: [patch] glib20, UTF-8 and string collation X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2008 01:16:18 -0000 --=-f+mwK7Ma/WDQ0zr4TPJH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-01-09 at 19:40 -0500, Alexandre "Sunny" Kovalenko wrote: > On Wed, 2008-01-09 at 12:35 -0500, Joe Marcus Clarke wrote:=20 > > On Wed, 2008-01-09 at 10:53 -0500, Alexandre "Sunny" Kovalenko wrote: > > > I have seen recent commit WRT string collation in devel/glib20 by > > > marcus, so I have decided to check if there is an interest to fix SEG= V > > > in g_utf8_collate when it is given 8-bit non-UTF-8 string(s) to colla= te. > >=20 > > Any commits I have made in the area of UTF-8 are completely accidental. > > I am not the UTF-8 guy. Both bland and jylefort have expressed interes= t > > in this. Perhaps one of them will comment. >=20 > I hope so. Just in case, they would decide to, I have reduced the > situation to the small program below. I get=20 >=20 > GLib-CRITICAL **: g_convert: assertion `str !=3D NULL' failed >=20 > and no core dump from this simple program, whereas Evolution manages to > pass NULL to strcoll further down in g_utf8_collate and get SEGV for its > pains. That sounds like a no-no for Evolution to be dereferencing a NULL pointer. Hopefully they'd fix this to prevent the problem. >=20 > Conversely, if the answer still is "Evolution should not have done > that", I will happily crawl back under my rock and keep my patch > locally. I can't imagine you're alone in this. But then again, any Cyrillic mail that comes my way is always spam, so what do I know. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-f+mwK7Ma/WDQ0zr4TPJH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHhXHzb2iPiv4Uz4cRApNhAJ9m/nq1K6lz9aH0+0WnAAtJRMzBqgCbBQKf H39qAn56D0eBX/UlYlH5NUA= =GRO8 -----END PGP SIGNATURE----- --=-f+mwK7Ma/WDQ0zr4TPJH--