Re: Strange hanging bug in a simple milter - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Strange hanging bug in a simple milter
Date
Msg-id 522F50EE.5020400@vmware.com
Whole thread Raw
In response to Re: Strange hanging bug in a simple milter  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Strange hanging bug in a simple milter
List pgsql-hackers
On 10.09.2013 18:10, Stephen Frost wrote:
> I've run your test program against both git master and 9.2.4 on a couple
> of Ubuntu 13.04 boxes and all I see are tons of these:
>
> 1: DEBUG: database connection established
> 1: DEBUG: about to call PQfinish()
> 1: DEBUG: database connection established
> 1: DEBUG: about to call PQfinish()
> 2: DEBUG: database connection established
> 2: DEBUG: about to call PQfinish()
>
> But no deadlocks; even across multiple runs, they all terminate
> normally.

Hmm. Are you sure you're getting an SSL connection? Run it with 
something like this to make sure:

./threaded-connect "dbname=postgres sslmode=require host=localhost"

> For 9.2.4, I've got:
>
> libpq5                             9.2.4-1.pgdg12.4+1
> libssl1.0.0:amd64                  1.0.1c-4ubuntu8.1
>
> With master, it's:
>
> libpq5 as-of b34f8f409bec4921d260ac84668917f5fff04319
> libssl1.0.0:amd64                  1.0.1c-4ubuntu8.1
>
> What versions of libssl are you working with..?  Is it possible this has
> actually been fixed already?

$ dpkg -s libssl1.0.0:amd64 | grep Vers
Version: 1.0.1e-3

- Heikki



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Next
From: Peter Eisentraut
Date:
Subject: Re: Next CFM?