| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Russell Smith <mr-russ(at)pws(dot)com(dot)au> |
| Cc: | PoolSnoopy <tlatzelsberger(at)gmx(dot)at>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: libpq does not manage SSL callbacks properly when other libraries are involved. |
| Date: | 2008-09-01 13:26:52 |
| Message-ID: | 20080901132651.GA3776@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2008-09-01 14:05:35 | Re: Bug in RETURN QUERY |
| Previous Message | Oleg Serov | 2008-09-01 13:21:08 | Bug in RETURN QUERY |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marko Kreen | 2008-09-01 13:33:53 | Re: [PATCH] Make gram.y use palloc/pfree for memory management |
| Previous Message | Hannu Krosing | 2008-09-01 13:08:23 | Re: Is this really really as designed or defined in some standard |