Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
Дата
Msg-id
6823.1551193055@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes Tom Lane <tgl@sss.pgh.pa.us>
Thomas Munro  writes:
> Question
> for the list: other stuff in the server needs libpthread (SSL, LLVM,
> ...), so why are we insisting on using non-MT LDAP?

The traditional reason for avoiding that is the risk of a server
process becoming multi-threaded.  There are live bugs of that ilk
on Darwin, and we actually have cross-checks for the case in our
code (see HAVE_PTHREAD_IS_THREADED_NP stanzas).

If pthread_is_threaded_np(), or something equivalent, is widely available
then it might be all right to try solving this going forward by switching
to libldap_r and seeing if anyone hits those cross-checks.  I'd be afraid
to risk it in the back branches though ...

			regards, tom lane

В списке pgsql-general по дате отправления
От: Peter Eisentraut
Дата:
От: Tom Lane
Дата:
FAQ