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