Re: LDAP authenticated session terminated by signal 11:Segmentation fault, PostgresSQL server terminates other active serverprocesses - Mailing list pgsql-general

From Laurenz Albe
Subject Re: LDAP authenticated session terminated by signal 11:Segmentation fault, PostgresSQL server terminates other active serverprocesses
Date
Msg-id 82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at
Whole thread Raw
In response to LDAP authenticated session terminated by signal 11: Segmentationfault, PostgresSQL server terminates other active server processes  (Mike Yeap <wkk1020@gmail.com>)
Responses Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Mike Yeap wrote:
> 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
activeserver 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
faulterror when I quit the psql session
 

Are the "postgres" executable and libpq linked with the same version of OpenLDAP?

Any other extensions installed?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



pgsql-general by date:

Previous
From: Niels Jespersen
Date:
Subject: RE: Implementing pgaudit extension on Microsoft Windows
Next
From: Joe Conway
Date:
Subject: Re: Implementing pgaudit extension on Microsoft Windows