Re: BUG #2246: Bad malloc interactions: ecpg, openssl
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #2246: Bad malloc interactions: ecpg, openssl |
| Дата | |
| Msg-id | 21904.1139447434@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | BUG #2246: Bad malloc interactions: ecpg, openssl ("Andy Klosterman" <andrew5@ece.cmu.edu>) |
| Ответы |
Re: BUG #2246: Bad malloc interactions: ecpg, openssl
|
| Список | pgsql-bugs |
"Andy Klosterman" <andrew5@ece.cmu.edu> writes:
> SPECULATION: Another possibility is that I misunderstand some aspect of
> multi-threaded interactions with Postgres (I open uniquely named connections
> to the DB for each thread of my test program). Maybe I need to have a
> "lock" around the code that makes DB connections and make sure that only one
> happens at a time (might be better handled within Postgres/SSL if that is
> the case).
There could be some re-entrancy problem in the SSL connection startup
code --- if you add such a lock, does it get more reliable? Also, did
you remember to build PG with --enable-thread-safety ?
regards, tom lane
В списке pgsql-bugs по дате отправления: