LDAP authenticated session terminated by signal 11: Segmentationfault, PostgresSQL server terminates other active server processes

Поиск
Список
Период
Сортировка
От Mike Yeap
Тема LDAP authenticated session terminated by signal 11: Segmentationfault, PostgresSQL server terminates other active server processes
Дата
Msg-id CAMVYW_6Ee-cYdpZ++VLnab_-3hmcorOA_kmBtsnw2R+n0nVxMw@mail.gmail.com
обсуждение исходный текст
Ответы Re: LDAP authenticated session terminated by signal 11:Segmentation fault, PostgresSQL server terminates other active serverprocesses  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
Hi all, I have encountered a problem related to LDAP authenticated session with Postgres foreign data wrapper (postgres_fdw).

The server crashed with following errors and other active server processes are terminated as well:
2019-02-20 14:53:30.496 SGT [PID=1353 application="" user_name= database= host(port)=] LOG:  server process (PID 26306) was terminated by signal 11: Segmentation fault

2019-02-20 14:53:30.496 SGT [PID=1353 application="" user_name= database= host(port)=] LOG:  terminating any other active server processes

I can reproduce it in a test server with many other sessions connected:

1. login using non-LDAP-authenticated user, query local & foreign tables - OK
2. login using LDAP-authenticated user, query local table - OK
3. login using LDAP-authenticated user, query foreign table - ERROR, server crashes with signal 11: Segmentation fault error when I quit the psql session

It seems like the problem only when the LDAP-authenticated session (which queried foreign table) is terminated. In dmesg log, I can see following:

[16385512.182231] traps: postmaster[26306] general protection ip:7f1e758b638c sp:7ffef7ed8858 error:0 in libc-2.17.so[7f1e75836000+1b6000]

Has anyone encountered similar issue?

######################
PostgreSQL version: 10.6
Platform: CentOS Linux
######################

Thank you.

Regards,
Mike Yeap

В списке pgsql-general по дате отправления:

Предыдущее
От: Samuel Williams
Дата:
Сообщение: Re: Partial index on JSON column
Следующее
От: Niels Jespersen
Дата:
Сообщение: RE: Implementing pgaudit extension on Microsoft Windows