Re: postgres dies while doing vacuum analyze

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>, teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
Subject: Re: postgres dies while doing vacuum analyze
Date: 2001-06-16 04:52:22
Message-ID: m3g0d13u2h.fsf@dep1.fciencias.unam.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx> writes:
> > [ vacuum analyze dies ]
> > It is running on Redhat Linux 7.1 i686 with 2.4.2-2 kernel.
> > Here is the back trace from gdb
>
> > (gdb) bt
> > #0 strcoll () at strcoll.c:229
>
> We've heard reports before of strcoll() crashing on apparently valid
> input. It seems to be a Red Hat-specific problem; the three reports
> I have in my notes are from people running RH 7.0 (check the archives
> from 1/1/01, 1/24/01, 3/1/01 if you want to see the prior reports).
>
> It's possible that Postgres is doing something that confuses RH's
> locale library, but I dunno what. Since no other platform is reporting
> it, it could also be a plain old bug in that locale library.

After a look into strcoll I found the bug. Attached is a tarball
including a patch for strcoll, glibc.spec and an small program that
shows the bug. Hopefully Trond can address this to the glibc and rpm
experts.

best regards,
Manuel.

>
> We need some RH-er to burrow in with a debugger and figure out what's
> going wrong. The previous reporters don't seem to have done anything;
> are you the man to fix it?
>
> regards, tom lane

Attachment Content-Type Size
strcoll.tar.gz application/octet-stream 1.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Guru Prasad 2001-06-16 05:40:54 Postgres
Previous Message Jim Mercer 2001-06-16 04:04:58 Re: Re: Encrypting pg_shadow passwords