svn commit: r302324 - head/lib/libc/locale

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 15 09:14:42 UTC 2016


On Fri, Jul 15, 2016 at 02:19:41AM -0400, Jung-uk Kim wrote:
> On 07/03/16 11:00 AM, Baptiste Daroussin wrote:
> > Author: bapt
> > Date: Sun Jul  3 15:00:12 2016
> > New Revision: 302324
> > URL: https://svnweb.freebsd.org/changeset/base/302324
> > 
> > Log:
> >   Fix a bad test resulting in a segfault with ISO-8859-5 locales
> >   
> >   Reported by:	Lauri Tirkkonen from Illumos
> >   Approved by:	re@ (gjb)
> > 
> > Modified:
> >   head/lib/libc/locale/collate.c
> > 
> > Modified: head/lib/libc/locale/collate.c
> > ==============================================================================
> > --- head/lib/libc/locale/collate.c	Sun Jul  3 11:45:54 2016	(r302323)
> > +++ head/lib/libc/locale/collate.c	Sun Jul  3 15:00:12 2016	(r302324)
> > @@ -310,7 +310,7 @@ _collate_lookup(struct xlocale_collate *
> >  	if ((sptr = *state) != NULL) {
> >  		*pri = *sptr;
> >  		sptr++;
> > -		if ((sptr == *state) || (sptr == NULL))
> > +		if ((sptr == *state) || (*sptr == 0))
> >  			*state = NULL;
> >  		else
> >  			*state = sptr;
> 
> I had a serious regression with ko_KR.UTF-8 locale after this commit.
> MATE is unusable because mate-panel is busy looping and eating 100% CPU.
>  GNOME 3 does not start at all, i.e., nothing but mouse cursor on black
> screen.  After reverting this commit, everything is back to normal.
> Please investigate.  IMHO, this must be fixed before 11.0-BETA2 build.
> 
> Thanks,
> 
> Jung-uk Kim
> 

Yes sorry about that, I'm aware of it and working on a fix...

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160715/f8a39949/attachment.sig>


More information about the svn-src-head mailing list