Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h779M-0007CE-SP for pgsql-general@arkaria.postgresql.org; Thu, 21 Mar 2019 23:31:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h779J-0002tK-62 for pgsql-general@arkaria.postgresql.org; Thu, 21 Mar 2019 23:31:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h779I-0002t2-QB for pgsql-general@lists.postgresql.org; Thu, 21 Mar 2019 23:31:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h779F-00037W-KC for pgsql-general@postgresql.org; Thu, 21 Mar 2019 23:30:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x2LNUbS9026663; Thu, 21 Mar 2019 19:30:38 -0400 From: Tom Lane To: Thomas Munro cc: Noah Misch , Mike Yeap , Laurenz Albe , pgsql-general Subject: Re: LDAP authenticated session terminated by signal 11: Segmentation fault, PostgresSQL server terminates other active server processes In-reply-to: References: <6823.1551193055@sss.pgh.pa.us> <14938.1551220103@sss.pgh.pa.us> <20190307031954.GA1797215@rfd.leadboat.com> <20190314054254.GC2512737@rfd.leadboat.com> <20190315034631.GA2607362@rfd.leadboat.com> <31890.1553032259@sss.pgh.pa.us> <23566.1553141255@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Fri, 22 Mar 2019 10:45:06 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26661.1553211037.1@sss.pgh.pa.us> Date: Thu, 21 Mar 2019 19:30:37 -0400 Message-ID: <26662.1553211037@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Thu, Mar 21, 2019 at 5:07 PM Tom Lane wrote: >> Thomas Munro writes: >>> If someone out there is not enabling any of that stuff >>> because their system doesn't like threads, they can use >>> --disable-thread-safety to avoid the effects of this change. >> No, that's nonsense; --disable-thread-safety only affects what happens >> on the frontend side. > That's exactly what I'm talking about changing. With the patch, BE's > LDAP library variant would also be controlled by that configure > switch, so it would always match the FE. Almost all users would > continue to choose libldap_r.so for the FE, so they'd start getting > that in the BE too (if they didn't already due to distro-supplied > symlinks). People using --disable-thread-safety would continue to get > libldap.so for FE and BE, as they do today. Ah, I see. Seems reasonable. I still wish we could confirm this fixes the reported problem before we pull the trigger. regards, tom lane