Re: libpq does not manage SSL callbacks properly when other libraries are involved. - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: libpq does not manage SSL callbacks properly when other libraries are involved.
Date
Msg-id 20080901132651.GA3776@alvh.no-ip.org
Whole thread Raw
In response to Re: libpq does not manage SSL callbacks properly when other libraries are involved.  (Russell Smith <mr-russ@pws.com.au>)
List pgsql-bugs
Russell Smith wrote:
> Alvaro Herrera wrote:
> > PoolSnoopy wrote:
> >
> >> this bug is really some annoyance if you use automatic build environments.
> >> I'm using phpunit to run tests and as soon as postgres is involved the php
> >> cli environment segfaults at the end. this can be worked around by disabling
> >> ssl but it would be great if the underlying bug got fixed.
> >>
> >
> > This is PHP's bug, isn't it?  Why are you complaining here
> No, this is a problem with the callback/exit functions used by
> PostgreSQL.  We setup callback functions when we use SSL, if somebody
> else uses SSL we can create a problem.

Ok, so it seems you're correct; there is more evidence to be found by
searching other projects' mailing lists, for example as a starting point
http://markmail.org/search/?q=+CRYPTO_set_locking_callback%28NULL%29

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "Oleg Serov"
Date:
Subject: Bug in RETURN QUERY
Next
From: "Pavel Stehule"
Date:
Subject: Re: Bug in RETURN QUERY