Re: (Never?) Kill Postmaster? - Mailing list pgsql-general

From Tom Lane
Subject Re: (Never?) Kill Postmaster?
Date
Msg-id 12717.1194905311@sss.pgh.pa.us
Whole thread Raw
In response to (Never?) Kill Postmaster?  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
Responses Re: (Never?) Kill Postmaster?
List pgsql-general
=?ISO-8859-1?Q?Christian_Schr=F6der?= <cs@deriva.de> writes:
> [ ongoing saga ]

Hah, I've got it.  (Should have searched Red Hat's bugzilla sooner.)
What you are hitting is a glibc bug, as explained here:
http://sources.redhat.com/ml/libc-hacker/2007-10/msg00010.html
If libpthread is loaded after first use of dcgettext, then subsequent
uses are at risk of hanging because they start to use a mutex lock
that was never initialized.  And libperl brings in libpthread.

I've confirmed that the test program given in the above page hangs
on your machine, and does not hang on mine (with latest Fedora 6
glibc), which no doubt explains my lack of success in reproducing
the problem.

So you need to pester SuSE for a glibc with that fix in it ...

            regards, tom lane

pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Linux v.s. Mac OS-X Performance
Next
From: Tom Lane
Date:
Subject: Re: Regression in 8.3?