Re: postgres dies while doing vacuum analyze - Mailing list pgsql-hackers

From teg@redhat.com (Trond Eivind Glomsrød)
Subject Re: postgres dies while doing vacuum analyze
Date
Msg-id xuyy9qsxq9i.fsf@halden.devel.redhat.com
Whole thread Raw
In response to Re: postgres dies while doing vacuum analyze  (Manuel Sugawara <masm@fciencias.unam.mx>)
List pgsql-hackers
Manuel Sugawara <masm@fciencias.unam.mx> writes:

> teg@redhat.com (Trond Eivind Glomsrød) writes:
> 
> > Will do... what is the expected result of the testcase? It seems to
> > work alright for me, but I'm running a slightly newer version than we
> > have released yet... (glibc-2.2.3-11, look in rawhide).
> 
> a core dump, at least on glibc-2.2.2-10. Try with some locale
> different than C or POSIX.
> 
> masm@dep1$ LC_COLLATE=es_MX ./strcoll-bug
> es_MX
> zsh: 25041 segmentation fault (core dumped)  LC_COLLATE=es_MX ./strcoll-bug
> masm@dep1$ LC_COLLATE=C ./strcoll-bug
> C
> strcoll returned -1
> masm@dep1$ 

OK, this works with my system - no coredump, correct results. I'll
take a look at the glibc sources to verify that, but it looks like
this was fixed by drepper@redhat.com and included in glibc 2.2.3:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=36539

-- 
Trond Eivind Glomsrød
Red Hat, Inc.


pgsql-hackers by date:

Previous
From: Manuel Sugawara
Date:
Subject: Re: postgres dies while doing vacuum analyze
Next
From: Alex Pilosov
Date:
Subject: Re: [PATCH] inet << indexability