[Pkg-openssl-devel] Bug#536229: AW: Bug#536229: Core-Dump / SegementationfaultDBD::Oracle together with SSL connections

Hartmut.Vogler at t-systems.com Hartmut.Vogler at t-systems.com
Wed Jul 15 08:16:56 UTC 2009


> I think this is a problem in the library you have 
> from oracle.  The backtrace seems to suggest that 
> the library provides functions called 
> BN_set_word() > and bn_expand2().  Those functions 
> also exists in openssl's libcrypto library.

> Can you try
> objdump -T /usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so |grep
BN_set_word

If have call the objdump on both librarys - and it seems so you have
written.
In both libs the method exists:

> objdump -T /usr/lib/i686/cmov/libcrypto.so.0.9.8  |egrep
'(BN_set_word|bn_expand)'
00074930 g    DF .text  00000068  OPENSSL_0.9.8 BN_set_word
000747f0 g    DF .text  00000064  OPENSSL_0.9.8 bn_expand2

> objdump -T /usr/lib/oracle/10.2.0.4/client/lib/libnnz10.so  |egrep
'(BN_set_word|bn_expand)'
0012019a g    DF .text  00000076  Base        BN_set_word
0011fd9c g    DF .text  00000182  Base        bn_expand2


> So it now probably depends on the order of the functions your
application 
> calls which one really is being used.

I couldn't give direction to the order in witch the function would be
called.
The problem happens by using the Oracle and OpenSSL libs from perl - in
this
case Oracle can be used before OpenSSL and the reverse case too.

Would be the simplest solution, that Oracle or OpenSSL rename her
function?

Can i fix the problem (or at least the symptom) by using an other kind
for
building the openssl lib in my enviroment?

If the rename of the function is the only perfect solution of this
problem,
it think the easier way is, to rename the function in OpenSSL. I don't
think, there is a chance to get Oracle modify his code due colitions
to an opensource project.
Anyway i will send this problem to oracle - to be curious on the
reaction
from them.


Hartmut







More information about the Pkg-openssl-devel mailing list