pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Mike Yeap <wkk1020@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
Date: Wed, 20 Feb 2019 12:58:43 +0100
Message-ID: <82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at> (raw)
In-Reply-To: <CAMVYW_6Ee-cYdpZ++VLnab_-3hmcorOA_kmBtsnw2R+n0nVxMw@mail.gmail.com>
References: <CAMVYW_6Ee-cYdpZ++VLnab_-3hmcorOA_kmBtsnw2R+n0nVxMw@mail.gmail.com>

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 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

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





view thread (27+ messages)  latest in thread

Message-ID: <82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at>
Permalink:  ../82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at/
Also on:    postgresql.org/message-id/82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, wkk1020@gmail.com
  Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
  In-Reply-To: <82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at>
  References: <CAMVYW_6Ee-cYdpZ++VLnab_-3hmcorOA_kmBtsnw2R+n0nVxMw@mail.gmail.com> <82aa3583d44584fa3d3a3761e8df1fa48d68d8e2.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox