[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6221) slapd segfault in SSL_CTX_set_info_callback

Steve Paras-Charlton wrote:
> On Tue, 2009-07-21 at 10:32 -0700, Howard Chu wrote:
>> steve@falchion.com wrote:
>>> 2.4.17 fails in an identical manner.
>>> For those interested, 2.4.17 failed to compile because the installed
>>> 2.4.16 libs were being picked up instead of the freshly compiled ones
>>> during the link phase.
>> Looks like a problem in your OpenSSL build, not in OpenLDAP.
> Any ideas what that problem might be  or what leads you to believe this?

The backtrace shows that these SSL functions are contained inside your 
libldap_r shared library object file. Usually they should be present in 
OpenSSL's own shared libraries. If OpenSSL was only provided as a static 
library, it's not clear that their code will behave correctly when used inside 
a shared library (i.e., PIC vs non-PIC dependencies).

> Unfortunately this OpenSSL is the one distributed by IBM as part of the
> AIX operating system, so it's not really my build...  If I'm going to go
> to them with this, I could use a little more ammo :)

It would also help if you compile without optimization, with debug symbols, 
and run the non-stripped binaries. Your backtraces are lacking a lot of info 
at the moment.

> Steve
>>> Steve
>>> On Mon, 2009-07-20 at 20:04 -0700, Steve Paras-Charlton wrote:
>>>> Currently 2.4.17 fails to compile under AIX 5.3TL10, so I'll try to work
>>>> on it, but in the meantime, any ideas why 2.4.16 is crashing thus?
>>>> Steve
>>>> On Mon, 2009-07-20 at 15:58 -0700, Quanah Gibson-Mount wrote:
>>>>> --On Monday, July 20, 2009 3:52 PM -0700 Steve Paras-Charlton
>>>>> <steve@falchion.com>   wrote:
>>>>>> Haven't tried it.  is it stable now (or soon to be?)
>>>>> I'd assume that depends on what bugs people report against it.  Knowing
>>>>> whether or not this affects 2.4.17 would certainly be useful in that
>>>>> determination. ;)
>>>>> --Quanah

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/