Re: Strange hanging bug in a simple milter

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Vesa-Matti J Kari <vmkari(at)cc(dot)helsinki(dot)fi>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange hanging bug in a simple milter
Date: 2013-09-10 17:03:42
Message-ID: 522F50EE.5020400@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2013-09-10 17:27:37 Re: Next CFM?
Previous Message Merlin Moncure 2013-09-10 16:53:37 Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers