pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Mike Yeap <wkk1020@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
Date: Tue, 19 Mar 2019 17:50:59 -0400
Message-ID: <31890.1553032259@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGKQ5TfOasFneVNhOSLpp8-Q+Qr_vpu=SNc8k4JT37AFmA@mail.gmail.com>
References: <CAMVYW_7F2=CtgDuAOjXQyOt6_h5sqyDSdJz9eBZemzSxotz86g@mail.gmail.com>
	<CA+hUKGLeWiHCwq00GbLJ0ZLfqei89L8suj1R1PGZ=niJEfaXzg@mail.gmail.com>
	<6823.1551193055@sss.pgh.pa.us>
	<CA+hUKGLuHS+FYJcMfYFo1NzfKFqyCM1Sv1y+r2Q_3LgO4QWnEQ@mail.gmail.com>
	<14938.1551220103@sss.pgh.pa.us>
	<CA+hUKG+cH_c7oBDROdLMF1k1Lt0H-UyAAm5dWxri531bGQUbeg@mail.gmail.com>
	<20190307031954.GA1797215@rfd.leadboat.com>
	<CA+hUKGK9VaQu7ZJXcicY17fD0Ju0wLRex75V6M-mQky2zZJZSA@mail.gmail.com>
	<20190314054254.GC2512737@rfd.leadboat.com>
	<CAMVYW_4kwL-Y_DiHvUnpqoACsnj-V6sh+6DpDXZX1AtJqO-Rsw@mail.gmail.com>
	<20190315034631.GA2607362@rfd.leadboat.com>
	<CA+hUKGKQ5TfOasFneVNhOSLpp8-Q+Qr_vpu=SNc8k4JT37AFmA@mail.gmail.com>

Thomas Munro <thomas.munro@gmail.com> writes:
> Even though I can't reproduce the problem myself, I'm quite keen to go
> ahead and push the patch I proposed for v12 anyway, and close this
> case.  Otherwise this problem could just keep coming back until
> libldap.so is eventually entirely phased out by all distros.  In 2023
> I want to be working on quantum parallelism or something, not LDAP bug
> reports.  Any objections?

Do we have any clear reason to believe this'd actually fix Mike's problem?
AFAIK the analogy to the old destructor-conflict issue is just a guess,
and we don't really know exactly what is going wrong.

It's reasonable to assume that the proposed patch won't cause real issues
on any modern platform, but I'm not sure we can assume that for old ones,
so the whole thing is making me a bit nervous.  Still, it's nice
simplification to not have different frontend and backend LDAP libs.

As far as the specifics of the patch go, I don't like that you didn't
adjust any of the comments near pthread_is_threaded_np() usages.

			regards, tom lane




view thread (27+ messages)  latest in thread

Message-ID: <31890.1553032259@sss.pgh.pa.us>
Permalink:  ../31890.1553032259@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/31890.1553032259@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, noah@leadboat.com, wkk1020@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes
  In-Reply-To: <31890.1553032259@sss.pgh.pa.us>
  References: <CAMVYW_7F2=CtgDuAOjXQyOt6_h5sqyDSdJz9eBZemzSxotz86g@mail.gmail.com> <CA+hUKGLeWiHCwq00GbLJ0ZLfqei89L8suj1R1PGZ=niJEfaXzg@mail.gmail.com> <6823.1551193055@sss.pgh.pa.us> <CA+hUKGLuHS+FYJcMfYFo1NzfKFqyCM1Sv1y+r2Q_3LgO4QWnEQ@mail.gmail.com> <14938.1551220103@sss.pgh.pa.us> <CA+hUKG+cH_c7oBDROdLMF1k1Lt0H-UyAAm5dWxri531bGQUbeg@mail.gmail.com> <20190307031954.GA1797215@rfd.leadboat.com> <CA+hUKGK9VaQu7ZJXcicY17fD0Ju0wLRex75V6M-mQky2zZJZSA@mail.gmail.com> <20190314054254.GC2512737@rfd.leadboat.com> <CAMVYW_4kwL-Y_DiHvUnpqoACsnj-V6sh+6DpDXZX1AtJqO-Rsw@mail.gmail.com> <20190315034631.GA2607362@rfd.leadboat.com> <CA+hUKGKQ5TfOasFneVNhOSLpp8-Q+Qr_vpu=SNc8k4JT37AFmA@mail.gmail.com> <31890.1553032259@sss.pgh.pa.us>

* 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